postfix do NOT send sender non-delivery notification but should do
we are running postfix. All works fine but postfix is NOT sending sender
non-delivery notification. Postfix DO send postmaster non-delivery
notification but DO NOT send sender non-delivery notification as you can
see in the log:
Aug 28 16:17:55 lx14 postfix/smtpd[20516]: connect from a.b.c.d[1.2.3.4]
Aug 28 16:17:55 lx14 postfix/smtpd[20516]: 86645768056:
client=a.b.c.d[1.2.3.4], sasl_method=LOGIN, sasl_username=xyz
Aug 28 16:17:55 lx14 postfix/smtpd[20516]: disconnect from a.b.c.d[1.2.3.4]
Aug 28 16:17:55 lx14 postfix/cleanup[20518]: 86645768056: message-id=<msgid>
Aug 28 16:17:55 lx14 postfix/qmgr[22789]: 86645768056:
from=<sender@sender.de>, size=23532, nrcpt=1 (queue active)
Aug 28 16:17:56 lx14 postfix/smtp[20531]: 86645768056:
to=<receiver@receiver.de>,
relay=mail.global.frontbridge.com[216.32.181.178]:25, delay=0.97,
delays=0.4/0/0.45/0.12, dsn=5.7.1, status=bounced (host
mail.global.frontbridge.com[216.32.181.178] said: 550 5.7.1 Service
unavailable; Client host [1.2.3.4] blocked using Blocklist 1, mail from IP
banned; To request removal from this list please forward this message to
delist@messaging.microsoft.com and include your ip address 1.2.3.4 . (in
reply to RCPT TO command))
Aug 28 16:17:56 lx14 postfix/bounce[20532]: 86645768056: postmaster
non-delivery notification: A1139768064
Aug 28 16:17:56 lx14 postfix/qmgr[22789]: 86645768056: removed
Aug 28 16:17:56 lx14 postfix/cleanup[20518]: A1139768064: message-id=<msg2id>
Aug 28 16:17:56 lx14 postfix/qmgr[22789]: A1139768064:
from=<double-bounce@lx14.x.de>, size=2554, nrcpt=1 (queue active)
Aug 28 16:18:01 lx14 postfix/smtp[20531]: A1139768064:
to=<postmaster@x.de>, relay=lx06.x.de[2.3.4.5]:25, delay=5.3,
delays=0/0/0.17/5.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
EF9382700E7)
Aug 28 16:18:01 lx14 postfix/qmgr[22789]: A1139768064: removed
The output of postconf -n is:
2bounce_notice_recipient = postmastert@x.de
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
bounce_notice_recipient = postmaster@x.de
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = lx14.x.de.local
myhostname = lx14.x.de
mynetworks_style = host
myorigin = $myhostname
notify_classes = bounce, delay, policy, protocol, resource, software
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname
smtpd_data_restrictions = reject_multi_recipient_bounce,
reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unknown_recipient_domain, permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination,
reject_unlisted_recipient, check_policy_service inet:127.0.0.1:12525,
check_policy_service inet:127.0.0.1:10023, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/certificate/x.crt+ca.crt
smtpd_tls_key_file = /etc/certificate/x.key
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/mailboxes
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
I would be glad when somebody can explain me how to enable sender
non-delivery notification.
Thank you for any help.
Regards
maLLoc
No comments:
Post a Comment