sending mail from the command line
Jonathan Ben Avraham
yba at tkos.co.il
Tue May 10 14:29:29 IDT 2011
Hi Dan,
Check the configuration of the email server on the machine on which you
are working. It might be not configured or it might be misconfigured. In
this case, it will be happy to accept your email sent using "mail" but
wont know what to do with it and wont even be able to tell you.
Start by looking at /var/log/maillog (for Sendmail installations) or
/var/log/mail.log (commonly used in Postfix installations).
Hag Sameach,
- yba
On Tue, 10 May 2011, Dan Shimshoni wrote:
> Date: Tue, 10 May 2011 14:17:15 +0300
> From: Dan Shimshoni <danshimsh at gmail.com>
> To: linux-il <linux-il at cs.huji.ac.il>
> Subject: sending mail from the command line
>
> I am trying this from a Linux machine which is connected to the
> internet via PPPoE ( for the test, no firewall):
> mail -s "test" danshimsh at gmail.com < /dev/null
>
> and also this
> mail -s "test" danshimsh at gmail.com
> enter
> add some text
> enter
> ctrl-d
>
>
> I don't get any mail in danshimsh at gmail.com.
>
> What is wrong here ? what should I do in order to send successfully an
> e-mail from the command line with "mail" ?
>
> DS
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
--
EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- yba at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list