From owner-freebsd-questions@FreeBSD.ORG Wed Mar 4 10:36:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 980C6106566B for ; Wed, 4 Mar 2009 10:36:37 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4A62E8FC1B for ; Wed, 4 Mar 2009 10:36:37 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from ironport.bredband.com (195.54.101.120) by proxy3.bredband.net (7.3.139) id 49A54040002AEE6A for freebsd-questions@freebsd.org; Wed, 4 Mar 2009 11:36:35 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmtQAOjnrUlV4jp1PGdsb2JhbACBTosUhwCBHAEBAQE1wU2ECAY X-IronPort-AV: E=Sophos;i="4.38,299,1233529200"; d="scan'208";a="493138756" Received: from c-753ae255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.58.117]) by ironport1.bredband.com with ESMTP; 04 Mar 2009 11:36:35 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.2/8.14.2) with ESMTP id n24AaXIf087123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 Mar 2009 11:36:34 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <49AE59B1.4030406@pp.dyndns.biz> Date: Wed, 04 Mar 2009 11:36:33 +0100 From: =?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?= User-Agent: Thunderbird 2.0.0.19 (X11/20090127) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org 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> In-Reply-To: <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Cron Not Sending Mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 10:36:37 -0000 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