Hi Dan,
Indeed it looks as though your mail did in fact go out to gmail. There is
a chance that gmail silently dropped your mail in its spam filter.
You could use tcpdump (as in wireshark) on outgoing traffic to destination
port 25 to examine the traffic between your machine and the receiving
machine. Alternately you could send to another mail server that has less
opaque filtering.
Regards,
- yba
On Tue, 10 May 2011, Dan Shimshoni wrote:
Date: Tue, 10 May 2011 15:02:17 +0300
From: Dan Shimshoni <danshi...@gmail.com>
To: Jonathan Ben Avraham <y...@tkos.co.il>
Cc: linux-il <linux-il@cs.huji.ac.il>
Subject: Re: sending mail from the command line
Thanks!
I use sendmail.
I see this in /var/log/maillog:
localhost sendmail[4900]: p4AEvbvW004900: to=danshi...@gmail.com,
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=30225, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(p4AEvcRG004901 Message accepted for delivery)
it says stat=Sent, yet I do not get that mail.
I suppose this is some sendmail conf problem.
Did anyone have tips on sendmail configuration? there seems too much
about it on the web for simple configuration (for me it is enough only
to send mail, don't need to receive with sendmail)
On Tue, May 10, 2011 at 2:29 PM, Jonathan Ben Avraham <y...@tkos.co.il> wrote:
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 <danshi...@gmail.com>
To: linux-il <linux-il@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" danshi...@gmail.com < /dev/null
and also this
mail -s "test" danshi...@gmail.com
enter
add some text
enter
ctrl-d
I don't get any mail in danshi...@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@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------------{=
- y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
--
EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il