Date: Wed, 4 Mar 2009 07:05:26 -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: <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> In-Reply-To: <49AE59B1.4030406@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> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> <49AE59B1.4030406@pp.dyndns.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesstr=C3=B6m <freebsd-questions@pp.dyndns.biz> wrote: > 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 Yeah, I am aware what "dnl" does. The reason I commented that stuff out is because I have no use for any of it - all those files (access, local-host-names, mailertable, virtusertable, etc) are all empty by default and I had no reason to add anything to them. I'll try going back to the default config and putting the RELAY line in the access file. Thanks once again for the help. I really do appreciate the time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27ade5280903040405m74a9eb75y7869d0e2163d16fa>