On Tuesday 03 March 2009 13:44:34 APseudoUtopia wrote:
> On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström
>
> <[email protected]> wrote:
> > Glen Barber wrote:
> >> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia <[email protected]>
wrote:
> >>> Thanks for the tips. I've put the following line in my normal user
> >>> account's crontab (This account does have a shell, it's one I use on a
> >>> daily basis):
> >>>
> >>> SHELL=/bin/sh
> >>> [email protected]
> >>> * * * * * /sbin/ping -c4 localhost
> >>>
> >>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
> >>> following output:
> >>>
> >>> Mar 3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
> >>> size=0, class=0, nrcpts=0,
> >>> msgid=<[email protected]>,
> >>> relay=...@localhost
> >
> > Isn't "w...@localhost" a very weird hostname for a relay? Can you really
> > resolve that into an IP address?
> > /Morgan
>
> Hm, I'm not sure where it's getting that from. The MAILTO variable is
> set in the crontab, so it shouldn't be going to or relaying through
> localhost at all, right? It should go directly to gmail's servers?
If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then
something is wrong with your email setup. There should at least be one more
entry from the spooler to pickup final destination. And yes, the
relay 'w...@localhost' seems odd, but since I gave up sendmail for postfix
years ago, I'm not current with how it spits things into syslog.
--
Mel
Problem with today's modular software: they start with the modules
and never get to the software part.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"