Hi all,

and the next one.

One instance of a multiple instance setup of postfix is configured as submission service, or at least i hope so. I can connect and authenticate via dovecot SASL, and i can deliver mail. Postfix tries to send it but fails:

2025-06-21T14:41:33.444019+02:00 bywater postfix-sub/smtp[863532]: 4160024007A: to=<x...@googlemail.com>, rel ay=none, delay=67881, delays=67881/0.02/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service err
or for name=googlemail.com type=MX: Host not found, try again)

The server can resolve the address, dig and nslookup work. Other postix instances do not have the problem. But other instances have /var/spool/postfix-instance/etc/resolv.conf which is missing for postfix-sub.

I could copy /etc/resolv.conf manually, but that would only cure the symptoms. What did i forget?

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

Most probably i could comment out a lot more lines but one step after the other.

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

I googled a lot, but most solutions where "restart all services" which does not help here. Any ideas how i can get postfix-sub/etc/resolv.conf?

TIA
QNo

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to