Postfix woes

NetOpsCenter noc at hdk5.net
Fri Oct 19 12:00:05 PDT 2007


Rem P Roberti wrote:
> I did what you all requested and submitted my Postfix problem to the
> Postfix list.  The resident guru went over my maillog and sent back his
> analysis which, in short, states that the problem has nothing to do with
> Postfix, and that I should seek help here to get to the bottom of it
> all.  That reply is listed below.   This is a rather strange business.
>
> Rem
>
>
>
>
>
> From: Rem P Roberti <rem at remdog.net>
> To: freebsd-questions at freebsd.org
> Cc: 
> Bcc: 
> Subject: [Victor.Duchovni at MorganStanley.com: Re: Boot-up weirdness]
> Reply-To: 
>
> ----- Forwarded message from Victor Duchovni <Victor.Duchovni at MorganStanley.com> -----
>
> Date: Thu, 18 Oct 2007 21:44:36 -0400
> From: Victor Duchovni <Victor.Duchovni at MorganStanley.com>
> To: postfix-users at postfix.org
> Subject: Re: Boot-up weirdness
>
> On Thu, Oct 18, 2007 at 06:11:42PM -0700, Rem P Roberti wrote:
>
>   
>> Oct 18 16:39:20 bsd postfix/postfix-script[3805]: starting the Postfix
>> mail system
>> Oct 18 16:39:20 bsd postfix/master[3806]: daemon started -- version
>> 2.4.5, configuration /usr/local/etc/postfix
>> Oct 18 16:39:25 bsd postfix/postfix-script[3811]: refreshing the Postfix
>> mail system
>> Oct 18 16:39:25 bsd postfix/master[3806]: reload configuration
>> /usr/local/etc/postfix
>>     
>
> Something runs "postfix reload" five seconds after Postfix starts. It is
> not Postfix doing that, so find the start script or cron job responsible.
>
>   
>> Oct 18 16:40:40 bsd postfix/postfix-script[3937]: stopping the Postfix
>> mail system
>> Oct 18 16:40:40 bsd postfix/master[3806]: terminating on signal 15
>>     
>
> Something runs "postfix stop" 85 seconds after that, it is not Postfix
> doing that, so find the start script or cron job responsible.
>
>   
>> Oct 18 16:40:40 bsd postfix/postfix-script[3958]: fatal: the Postfix
>> mail system is not running
>>     
>
> The code in question wants to make doubly sure that Postfix is down,
> which it is.
>
>   
>> Oct 18 16:42:26 bsd postfix/postfix-script[894]: starting the Postfix
>> mail system
>> Oct 18 16:42:26 bsd postfix/master[895]: daemon started -- version
>> 2.4.5, configuration /usr/local/etc/postfix
>>     
>
> Postfix is restarted by something on your system 106 seconds later.
>
>   
>> from=<root at bsd.remdog.net>, size=701, nrcpt=1 (queue active)
>> Oct 18 16:42:28 bsd postfix/postfix-script[943]: fatal: the Postfix mail
>> system is already running
>> Oct 18 16:42:29 bsd postfix/postfix-script[983]: fatal: the Postfix mail
>> system is already running
>>     
>
> Something is trying to start Postfix again. I am guessing you have two
> Postfix start scripts fighting each other...
>
>   
>> Oct 18 17:38:44 bsd postfix/postmap[1555]: fatal: open transport.db:
>> Permission denied
>>     
>
> An hour or so later, something is trying to run "postmap" or "postmap
> -q", it is not Postfix doing that. Find the cron job or start script
> in question.
>
>   
>> Oct 18 17:39:15 bsd postfix/postfix-script[1559]: stopping the Postfix
>> mail system
>> Oct 18 17:39:15 bsd postfix/master[895]: terminating on signal 15
>> Oct 18 17:39:21 bsd postfix/postfix-script[1609]: starting the Postfix
>> mail system
>> Oct 18 17:39:21 bsd postfix/master[1610]: daemon started -- version
>> 2.4.5, configuration /usr/local/etc/postfix
>>     
>
> Postfix is restarted.
>
>   
>> Oct 18 17:39:27 bsd postfix/postfix-script[1615]: refreshing the Postfix
>> mail system
>>     
>
> And reloaded for good measure.
>
>   
>> /usr/local/etc/postfix
>> Oct 18 17:41:23 bsd postfix/postfix-script[1768]: stopping the Postfix
>> mail system
>> Oct 18 17:41:23 bsd postfix/master[1610]: terminating on signal 15
>> Oct 18 17:41:23 bsd postfix/postfix-script[1789]: fatal: the Postfix
>> mail system is not running
>> Oct 18 17:42:52 bsd postfix/postfix-script[894]: starting the Postfix
>> mail system
>> Oct 18 17:42:52 bsd postfix/master[895]: daemon started -- version
>> 2.4.5, configuration /usr/local/etc/postfix
>>     
>
> This insanity has nothing to do with Postfix, if you can't find the
> cron jobs, start scripts, management agents, ... that are doing this,
> go back the FreeBSD list and ask for help to find them.
>
>   
Aloha,

I run Postfix/Dovecot under FreeBSD 7* since Jan 2007.
I had trouble with postfix by itself on FreeBSD when I first set up a 
mail server. I then had one of the FreeBSD gurus on the list suggest I 
run Dovecot to make postfix behave nicely on FreeBSD. That solved my 
problems.
If you havent tried this FreeBSD Postfix/Dovecot based install it may 
work for you.
Also if you are running Dovecot remember just start it in /etc/rc.conf 
you dont need to start postfix in there as well.
If you are just running Postfix you have to start it in /etc/rc.conf


 
~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org + noc at hdk5.net +
  + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol




More information about the freebsd-questions mailing list