This is the first time I have used a mail list so if I make an error please
bear with and guide me to correct it!
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(?).
When I investigate my master.cffile 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.
Immediately after reboot, I ran a status request and the output was as follows:
root@xerxes:/etc/postfix# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-05-17 23:15:45 CEST; 11s
ago
Docs: man:interfaces(5)
Process: 5524 ExecStart=/sbin/ifup -a --read-environment (code=exited,
status=1/FAILURE)
Main PID: 5524 (code=exited, status=1/FAILURE)
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
May 17 23:15:45 xerxes systemd[1]: networking.service: Main process exited,
code=exited, status=1/FAILURE
May 17 23:15:45 xerxes systemd[1]: networking.service: Failed with result
'exit-code'.
So the server is issuing warnings even if I do not try to restart the network.
Postfix is running and working for my email but I cannot raise IPv6 on eth0
because of this issue (there may be others but this one is the current
blockage).
Can anyone help? Please direct me to the archive if necessary and a solution
already exists.
Many thanks.
Geoff