Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 17:44:34 -0500
From:      APseudoUtopia <apseudoutopia@gmail.com>
To:        =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= <freebsd-questions@pp.dyndns.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cron Not Sending Mail
Message-ID:  <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com>
In-Reply-To: <49ADA685.9060702@pp.dyndns.biz>
References:  <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesstr=C3=B6m
<freebsd-questions@pp.dyndns.biz> wrote:
>
> Glen Barber wrote:
>> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia <apseudoutopia@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=3D/bin/sh
>>> MAILTO=3Dmy_email_account@gmail.com
>>> * =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 * =
=C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 /sbin/ping -c4 localhost
>>>
>>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
>>> following output:
>>>
>>> Mar =C2=A03 21:10:00 domain sendmail[86797]: n23LA0td086797: from=3Dwww=
,
>>> size=3D0, class=3D0, nrcpts=3D0,
>>> msgid=3D<200903032110.n23LA0td086797@subdomain.domain.tld>,
>>> relay=3Dwww@localhost
>
> Isn't "www@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27ade5280903031444i3df88842ub6087e1e3855b4c1>