Hi all,
i try to migrate my postfix installation to another server and to update
some things. There are more traps that i could imagine ...
My main domain, qno.de, is listed in virtual_alias_domains. My user qno
has several aliases. Especially, recipient_delimiter=- is set, so i
expect to receive all mails to qno-anyaddit...@qno.de. But mail ist
rejected.
postconf -n:
postconf: warning: /etc/postfix/master.cf: undefined parameter:
mua_sender_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter:
mua_helo_restrictions
alias_database =
broken_sasl_auth_clients = yes
compatibility_level = 3.6
content_filter = amavis:[127.0.0.1]:10024
default_database_type = cdb
indexed = ${default_database_type}:${tabledir}
inet_interfaces = 127.0.0.1, 65.21.136.15, [::1],
[2a01:4f9:3b:25b0:9:6:1:e01]
local_recipient_maps =
mydestination = $myhostname
mydomain = qno.de
myhostname = bywater.qno.de
mynetworks = 127.0.0.0/8 65.21.136.15/32 [::1]/128
[2a01:4f9:3b:25b0:9:6:1:e01]/128 [2a01:4f8:171:b85:9:6:1:e01]/128
136.243.102.134/32
myorigin = $mydomain
policyd-spf_time_limit = 3600
postscreen_access_list = permit_mynetworks
postscreen_bare_newline_action = enforce
postscreen_bare_newline_enable = no
postscreen_dnsbl_action = enforce
postscreen_dnsbl_reply_map = ${indexed}dnsbl_reply
postscreen_dnsbl_sites = zusbyxqsairu6mu6ayyhstc3ua.zen.dq.spamhaus.net
postscreen_dnsbl_threshold = 1
postscreen_non_smtp_command_action = enforce
postscreen_non_smtp_command_enable = no
postscreen_pipelining_action = enforce
postscreen_pipelining_enable = no
receive_override_options = no_address_mappings
recipient_delimiter = -
smtp_bind_address = 65.21.136.15
smtp_bind_address6 = 2a01:4f9:3b:25b0:9:6:1:e01
smtp_generic_maps = ${indexed}generic
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_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_unknown_helo_hostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination,
reject_unverified_recipient, check_policy_service
unix:private/policyd-spf, reject_rbl_client
zusbyxqsairu6mu6ayyhstc3ua.zen.dq.spamhaus.net,
reject_rhsbl_reverse_client
zusbyxqsairu6mu6ayyhstc3ua.dbl.dq.spamhaus.net, reject_rhsbl_helo
zusbyxqsairu6mu6ayyhstc3ua.dbl.dq.spamhaus.net, reject_rhsbl_sender
zusbyxqsairu6mu6ayyhstc3ua.dbl.dq.spamhaus.net
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
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
tabledir = ${config_directory}/tables.d/
virtual_alias_domains = $mydomain, sk-koenig-tegel.de
virtual_alias_maps = ${indexed}virtual
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = mysql:${tabledir}virtual_mailbox_maps.cf
virtual_minimum_uid = 10000
virtual_uid_maps = static:5000
postconf: warning: /etc/postfix/master.cf: unused parameter:
smtpd_bind_address=127.0.0.1
from main.cf:
tabledir = ${config_directory}/tables.d/
indexed = ${default_database_type}:${tabledir}
from tables.d/virtual:
# Caretaker aliases:
root qno
postmaster root
webmaster qno
q...@qno.de qno
r...@qno.de qno
postmas...@qno.de r...@qno.de
dae...@qno.de r...@qno.de
m...@qno.de r...@qno.de
n...@qno.de r...@qno.de
postg...@qno.de r...@qno.de
hostmas...@qno.de r...@qno.de
webmas...@qno.de r...@qno.de
ab...@qno.de r...@qno.de
keymas...@qno.de r...@qno.de
mailer-dae...@qno.de postmas...@qno.de
# Meine eigenen aliases
christian.k...@qno.de qno
But:
from /var/log/mail/mail.info:
2025-05-28T19:05:24.307258+02:00 bywater postfix/postscreen[1610481]:
CONNECT from [109.233.158.87]:54750 to [65.21.136.
15]:25
2025-05-28T19:05:24.353469+02:00 bywater postfix/postscreen[1610481]:
PASS OLD [109.233.158.87]:54750
2025-05-28T19:05:24.581799+02:00 bywater postfix/smtpd[1610483]: connect
from mailout1-87.xing.com[109.233.158.87]
2025-05-28T19:05:24.783884+02:00 bywater postfix/smtpd[1610483]:
NOQUEUE: reject: RCPT from mailout1-87.xing.com[109.233
.158.87]: 451 4.3.0 <j...@mail.xing.com>: Temporary lookup failure;
from=<j...@mail.xing.com> to=<qno-x...@qno.de> proto
=ESMTP helo=<mailout1-87.xing.com>
2025-05-28T19:05:29.812689+02:00 bywater postfix/smtpd[1610483]:
disconnect from mailout1-87.xing.com[109.233.158.87] eh
lo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
After reading main.cf and master.cf several times, i still cannot find
my fault. Any hints?
TIA
QNo
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org