Cron Not Sending Mail
APseudoUtopia
apseudoutopia at gmail.com
Tue Mar 3 14:29:03 PST 2009
On Tue, Mar 3, 2009 at 4:17 PM, Glen Barber <glen.j.barber at gmail.com> wrote:
> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia <apseudoutopia at gmail.com> 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
>> MAILTO=my_email_account at gmail.com
>> * * * * * /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=<200903032110.n23LA0td086797 at subdomain.domain.tld>,
>> relay=www at localhost
>>
>
> You've replaced a problem with another problem. Have you tried to
> send the mail locally first?
>
> --
> Glen Barber
>
I have tested it - and sending mail manually from command line to the
gmail account works fine without any problems.
More information about the freebsd-questions
mailing list