according to the logs - the mail was not delivered to an external machine. check your sendmail's mail queue (using 'mailq') to see if the message is still there.
it could also be that the mail was delivered to some local mailbox, instead of to google. the fact that it claims that the relay is 'localhost' implies that your sendmail is not configured properly. you should configure the relay to be the mail server of your ISP. --guy On Tue, 2011-05-10 at 15:02 +0300, Dan Shimshoni wrote: > 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 - > > > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il