Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 20:19:06 -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:  <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com>
In-Reply-To: <49ADC1CA.5090703@pp.dyndns.biz>
References:  <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 3, 2009 at 6:48 PM, Morgan Wesstr=C3=B6m
<freebsd-questions@pp.dyndns.biz> wrote:
>>>>>> relay=3Dwww@localhost
>>>> Isn't "www@localhost" a very weird hostname for a relay? Can you reall=
y
>>>> 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 m=
ore
>> entry from the spooler to pickup final destination. And yes, the
>> relay 'www@localhost' seems odd, but since I gave up sendmail for postfi=
x
>> 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

I'd switch over to postfix, but I'm only using this to send output
from cron and the daily security run scripts. I don't receive any mail
over the network, so I think it'd be pointless to go through the
effort of switching and configuring another MTA.

Here's the diff. I figured it was too long to include in the email
(word wrap will make it hard to read :-P)
http://pastebin.ca/1352338

Here's the full contents of /etc/mail/{hostname}.mc
http://pastebin.ca/1352340

Thanks for the help.



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