ubuntuusers.de

chroot'ed postfix vermisst Dateien

Status: Ungelöst | Ubuntu-Version: Server 25.04 (Plucky Puffin)
Antworten |

MrQNo

Anmeldungsdatum:
31. August 2013

Beiträge: 13

Liebe Gemeinde,

ich betreibe einen Postfix-Server mit Multi-Instanz-Setup. Die ersten drei Instanzen funktionieren gut. Die Instanz, die Submission auf Port 587 bedienen soll, hat kein DNS. Unter /var/spool/postfix-sub/ fehlen die Verzeichnisse etc/ und lib/, die bei den anderen Instanzen angelegt wurden. Wie bekomme ich diese Verzeichnisse?

Die Instanz wurde erzeugt mit

postmulti -I postfix-sub -G sub -e create
postmulti -i postfix-sub -e enable

/etc/postfix-sub/master.cf:

tlsproxy  unix  -       -       y       -       0       tlsproxy
submission inet n       -       y       -       -       smtpd
pickup    unix  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       y       -       -       smtp
relay     unix  -       -       y       -       -       smtp
        -o syslog_name=postfix/$service_name
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
retry     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       lmtp
anvil     unix  -       -       y       -       1       anvil
scache    unix  -       -       y       -       1       scache
postlog   unix-dgram n  -       n       -       1       postlogd

Die Instanz läuft also im chroot und braucht irgendwoher Namensauflösung.

postconf -c /etc/postfix-sub -n

alias_database =
alias_maps =
broken_sasl_auth_clients = yes
config_directory = .
data_directory = /var/lib/postfix-sub
inet_interfaces = 2a01:4f9:3b:25b0:9:6:1:e01,65.21.136.15
local_recipient_maps =
master_service_disable =
multi_instance_enable = yes
multi_instance_group = sub
multi_instance_name = postfix-sub
mydestination =
myhostname = mail.qno.de
mynetworks_style = host
myorigin = $mydomain
queue_directory = /var/spool/postfix-sub
smtp_tls_exclude_ciphers = aNULL
smtp_tls_loglevel = 1
smtp_tls_mandatory_ciphers = medium
smtp_tls_mandatory_exclude_ciphers = RC4, MD5, SHA1
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_sasl_authenticated, reject
smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_hostname, reject_invalid_hostname, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_sasl_authenticated, reject
smtpd_tls_auth_only = yes
smtpd_tls_eccert_file = /etc/letsencrypt/live/mail.qno.de/fullchain.pem
smtpd_tls_eckey_file = /etc/letsencrypt/live/mail.qno.de/privkey.pem
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5, SHA1
smtpd_tls_mandatory_protocols = >=TLSv1.2
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
syslog_name = postfix-sub

Postfix 3.9.1-10ubuntu1

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4814

Benutze bitte für Befehle und Terminalausgaben und Code den Codeblock.

Und benutze den Vorschaubutton um zu sehen was aus deinem Text wird.

So ist dein Post nicht lesbar.

Beachte die Forensyntax

Antworten |