On Tue, Mar 06, 2012 at 07:03:04AM -0500, Wietse Venema wrote:
> > /etc/postfix/master.cf:
> >     1.2.3.4:25 inet  n       -       n       -       1       whatever
> > 
> > # postfix stop
> > # postfix start
> > # tail -3 /var/log/maillog
> > Mar  6 06:53:25 tail postfix/master[60082]: terminating on signal 15
> > Mar  6 06:53:28 tail postfix/postfix-script[4760]: starting the Postfix 
> > mail system
> > Mar  6 06:53:28 tail postfix/master[4761]: fatal: bind 1.2.3.4 port 25: 
> > Can't assign requested address
> 
> Also:
> 
> # postfix status
> postfix/postfix-script: the Postfix mail system is not running

# grep 1.2.3.4 /etc/postfix/master.cf 
1.2.3.4:25      inet  n       -       n       -       -       smtpd
# postfix start
postfix/postfix-script: starting the Postfix mail system
# echo $?
0
# tail -n2 /var/log/everything/current 
Mar 06 14:31:45 [postfix/postfix-script] starting the Postfix mail
system
Mar 06 14:31:45 [postfix/master] fatal: bind 1.2.3.4 port 25: Cannot
assign requested address

The return code of zero from postfix start trips the init script.  OP
should run "/etc/init.d/postfix zap" to return postfix to stopped state,
correct master.cf and start postfix again.  This is arguably no different
from any number of configuration errors resulting in a non working setup.

In any case, bugs.gentoo.org or a gentoo mailing list is probably the
correct place for this discussion.
-- 
Eray Aslan

Reply via email to