From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 16:52:43 2008 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 CF1AE10656EE for ; Thu, 25 Sep 2008 16:52:43 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5C34E8FC08 for ; Thu, 25 Sep 2008 16:52:42 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so151498eyi.7 for ; Thu, 25 Sep 2008 09:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=StckT3Phvsl7L1oYjzyWMCMkcb4GN6MMkhpaktSf1RM=; b=uT0LHBIN1RUZcVf6Jx0vUp5gQUPUx6oNT20omEPMrDv3im2S10BpGEu5xwA7eiA9u1 D/BmVos/KhKl7FByXfi8BEZVBs1SrTFwWpIZQPo2gnVFnH+zepthulGLCQVQBX+HkQ2b +3qZfo6ylN3hg3FGaoHo51+wrTodFQ6xV0pK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=APEmek4TcqiNiXtLrKKx8awPB1d7nJhJ6/qc6oX88egiFTeN8iWrnbNFoj4lI8DT4J nLEQCTRji29FkxhMdofD4sOIFfhuIwKEgsClCGBvJv3mWD1rMgNKkteZuYxZrpyl7zdW /zrWdoJnf4ulfvKNyAZr7go0qcCpJsLMWwzyc= Received: by 10.210.60.8 with SMTP id i8mr10421923eba.183.1222361561669; Thu, 25 Sep 2008 09:52:41 -0700 (PDT) Received: by 10.210.59.5 with HTTP; Thu, 25 Sep 2008 09:52:41 -0700 (PDT) Message-ID: Date: Thu, 25 Sep 2008 09:52:41 -0700 From: "Kurt Buff" To: Mel In-Reply-To: <200809251833.32465.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809251135.02712.fbsd.questions@rachie.is-a-geek.net> <200809251833.32465.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: periodic not working? 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: Thu, 25 Sep 2008 16:52:43 -0000 On Thu, Sep 25, 2008 at 9:33 AM, Mel wrote: > On Thursday 25 September 2008 17:55:39 Kurt Buff wrote: >> On Thu, Sep 25, 2008 at 2:35 AM, Mel >> >> wrote: >> > On Thursday 25 September 2008 03:07:13 Kurt Buff wrote: >> >> I've got postfix installed for the MTA, and the main.cf, master.cf, >> >> alias db hash and transport.db hash all look fine >> >> >> >> crontab looks just fine, too. >> >> >> >> I've run 'periodic daily' by hand from a root prompt, and get nothing, >> >> whereas on the working machine I do get my email. >> >> >> >> Where might I start looking to fix this problem? >> > >> > They are in not in mailq? How about /var/mail/root then? >> > >> > -- >> > Mel >> >> I've not found a directory called mailq. /var/mail/root does not exist >> either. >> >> I've also checked in /var/spool/postfix/* and all directories are >> empty or have zero-length files with dates from the installation of >> postfix. >> >> And, now I think I've found the problem - in /var/log/maillog, I find >> the following: >> >> Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67: >> to=, relay=none, delay=0.12, >> delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for >> loki.mycompany.com loops back to myself) >> >> All I have to do is figure this out, and I think I've got it. > > a) You run the relay_host in a jail, don't have inet_interfaces hardcoded to > the main IP, and postfix sees the jail IP on the local interface (that's the > tricky one). > > or > > b) Your /usr/local/etc/postfix/transport is not as correct as you think > > -- > Mel Not a), certainly. Perhaps b), but it's a single line, and looks the same on both machines. Using spaces instead of tabs in both cases. I've posed the question on the postfix list. We'll see what happens. Kurt