Cron Not Sending Mail
Morgan Wesström
freebsd-questions at pp.dyndns.biz
Tue Mar 3 15:48:30 PST 2009
>>>>> relay=www at localhost
>>> Isn't "www at 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 'www at localhost' seems odd, but since I gave up sendmail for postfix
> years ago, I'm not current with how it spits things into syslog.
>
In my case I only see either "local" there or my smart host as defined
in /var/mail/{hostname}.mc
Can you provide a "diff -u" between /etc/mail/freebsd.mc and
/etc/mail/{hostname}.mc ?
/Morgan
More information about the freebsd-questions
mailing list