Date: Thu, 25 Sep 2008 19:19:00 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Kurt Buff <kurt.buff@gmail.com> Subject: Re: periodic not working? Message-ID: <200809251919.01080.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <a9f4a3860809250952p21a01880n827c5608b8eb6cd8@mail.gmail.com> References: <a9f4a3860809241807p29e02fe3nc384598c525e25e0@mail.gmail.com> <200809251833.32465.fbsd.questions@rachie.is-a-geek.net> <a9f4a3860809250952p21a01880n827c5608b8eb6cd8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 September 2008 18:52:41 Kurt Buff wrote: > On Thu, Sep 25, 2008 at 9:33 AM, Mel > > <fbsd.questions@rachie.is-a-geek.net> wrote: > > On Thursday 25 September 2008 17:55:39 Kurt Buff wrote: > >> On Thu, Sep 25, 2008 at 2:35 AM, Mel > >> > >> <fbsd.questions@rachie.is-a-geek.net> 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=<root@loki.mycompany.com>, 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. host -t MX mycompany.com && postconf -n |grep -E '^(my|relay)' should provide insight, if transport is correct. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809251919.01080.fbsd.questions>