From owner-freebsd-questions@FreeBSD.ORG Wed Mar 4 12:05:27 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 A0A1F10656C7 for ; Wed, 4 Mar 2009 12:05:27 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 56CDD8FC19 for ; Wed, 4 Mar 2009 12:05:27 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so3378066wfd.7 for ; Wed, 04 Mar 2009 04:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZLTrWrupXFVt+/JuKqAtHzif+jRx5L9xGFOCMIB7AhY=; b=qfLMLCEqWu/tiZHcpZyLV1iyDCBlUVgQ5yxuc9Sxu59WtMKitiwtqR5xXLSTnCNBar M5TQnKxMpn71BIcT0T8yOW5JTfUEcBL31jVJenya9fbmrjkDoNgBCvTJJ1pEGVeHjy90 zefQwmRXHU5qHyAbSXb/sAm/RcKnMDVKb4M8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IQtd9R75DWaqDTXPF/q34KwD8BaDfOpReOaBzvZcQGaSNFrdGxU/FL9OXM5t2xg/Jw 7pIqr9J3rp5GmAUQxqYAid87KKjHuxREDE2v0x0HkyA1EQevEisLkhDS/fBmjYlCnTBB BrnVGGLOolU9IqQg3cg/wd3/ynT+tR0c8xVTc= MIME-Version: 1.0 Received: by 10.142.234.16 with SMTP id g16mr4174561wfh.107.1236168326761; Wed, 04 Mar 2009 04:05:26 -0800 (PST) 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> Date: Wed, 4 Mar 2009 07:05:26 -0500 Message-ID: <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> From: APseudoUtopia To: =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org 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 12:05:39 -0000 On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesstr=C3=B6m 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.