Postfix 3.3.0 unter Ubuntu 18 startet Instanzen nicht

Carsten postfixer99 at gmail.com
Fr Mai 22 12:37:15 CEST 2020


Hallo zusammen,

ich habe auf einem frisch installierten Ubtuntu 18.04.4 LTS mit Postfix 
3.3.0-1ubuntu0.2 das merkwürdige Problem, dass Multi-Instanzen nicht 
automatisch starten.
Durch ein "service postfix start" wird nur die Hauptinstanz gestartet.

Exakt gleiche Konfiguation auf einem Ubtuntu 16.04.6 LTS mit Postfix 
3.1.0-3ubuntu0.3 funktioniert tadellos.

Ein manuelle Starten der Instanz via "postmulti -i postfix-eins -p 
start" funktioniert ohne Probleme.

Keinerlei Hinweise im Logfile.

------------------------------------------
Standard-Instanz unter /etc/postfix
------------------------------------------
postconf –n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
default_transport = error
inet_interfaces = loopback-only
inet_protocols = all
mailbox_size_limit = 0
multi_instance_directories = /etc/postfix-eins
multi_instance_enable = yes
multi_instance_wrapper = ${command_directory}/postmulti -p --
mydestination = $myhostname, my-test, localhost.localdomain, localhost
myhostname = my-test
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relay_transport = error
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated 
defer_unauth_destination



------------------------------------------
Instanz "postfix-eins"
------------------------------------------

postmulti -i postfix-eins -x postconf –n

authorized_submit_users =
compatibility_level = 2
config_directory = /etc/postfix-eins
data_directory = /var/lib/postfix-eins
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd 
$daemon_directory/$process_name $process_id & sleep 5
inet_protocols = ipv4
multi_instance_enable = yes
multi_instance_name = postfix-eins
mynetworks = 127.0.0.0/8
queue_directory = /var/spool/postfix-eins
readme_directory = no
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
unknown_local_recipient_reject_code = 550



------------------------------------------
Installation
------------------------------------------
apt install postfix postfix-pcre

service postfix stop
postmulti -e init
postmulti -I postfix-eins -e create
postmulti -i postfix-eins -e enable


---------------------------------------------------
Anpassung, damit die Instanz auf Port 26 lauscht
---------------------------------------------------

/etc/postfix-eins/master.cf

#smtp      inet  n       -       y       -       -       smtpd
26      inet  n       -       y       -       -       smtpd



----------------------------------------------------------------
Logging nach "service postfix stop && service postfix start"
----------------------------------------------------------------
May 22 12:29:02 my-test postfix/postfix-script[2682]: stopping the 
Postfix mail system
May 22 12:29:02 my-test postfix/master[2470]: terminating on signal 15
May 22 12:29:02 my-test postfix/postfix-script[2857]: starting the 
Postfix mail system
May 22 12:29:02 my-test postfix/master[2859]: daemon started -- version 
3.3.0, configuration /etc/postfix


Für Hinweise wäre ich dankbar!

Beste Grüße

Carsten



Mehr Informationen über die Mailingliste Postfixbuch-users