Date: Wed, 04 Mar 2009 11:36:33 +0100 From: =?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?= <freebsd-questions@pp.dyndns.biz> Cc: freebsd-questions@freebsd.org Subject: Re: Cron Not Sending Mail Message-ID: <49AE59B1.4030406@pp.dyndns.biz> In-Reply-To: <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> 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> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
APseudoUtopia wrote: >> 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 > I'm no expert on Sendmail but you are aware that "dnl" is Sendmail's way of commenting out a line, aren't you? In your config you have disabled pretty much every configuration file in /etc/mail, especially /etc/mail/access which defines who can relay mail through the local MTA. I'm pretty sure this isn't a good idea. Apart from this I couldn't see any major differences between your config and FreeBSD's default. Why not try to use the default config and make sure to populate /etc/mail/access with at least "127.0.0.1 RELAY" and try again? /Morgan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AE59B1.4030406>