On 17.05.20 22:51, Geoff Jankowski wrote:
I am using postfix 3.4.8 on Debian 10 (hostname xerxes) and am trying to
set up my IPv6 interface on eth0.  The last instruction in the guide is to
run:

service networking restart

But it fails to bring up the interface (which is working on IPv4).  It tries to 
run:

ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)

And the critical errors given are:

May 17 23:15:45 xerxes ifup[5524]: ifup: failed to bring up eth0
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_sender_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_client_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_helo_restrictions

Reading /etc/network/Ifup it refers to using postconf which for Debian 10 is in 
/etc/sbin/ but it cannot be read as it appears to be a binary file(?).

postconf is the program that complains, you don't have to see its content. It's complaining about content of /etc/postfix/master.cf, not
/usr/sbin/postconf

When I investigate my master.cf file these three elements
mua_sender_restrictions, mua_client_restrictions and mua_helo_restrictions

Are commented out so no definition is given and I assume that postconf is
looking for them.  Reading the postfix.org site I chose recommended
settings for each of these items, uncommented the lines and inserted them. To be safe, I rebooted.

They are default in master.cf but commented out for submission ans smtps
services:

#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions

I usually leave them commented out.
Immediately after reboot, I ran a status request and the output was as follows:

May 17 23:15:45 xerxes ifup[5524]: ifup: failed to bring up eth0
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_sender_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_client_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_helo_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_sender_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_client_restrictions
May 17 23:15:45 xerxes ifup[5524]: postconf: warning: /etc/postfix/master.cf: 
undefined parameter: mua_helo_restrictions

How and where did you define them?


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!

Reply via email to