NethServer Version: 8
Module: mailserver
Hello again,
…after migration NS7 >> NS8 we have problems with intern system mails.
ON NS7 we had 2 domains:
firma.lan > local domain - INTERN
firma.de > public domain - EXTERN (alias domain)
2 users allowed only internal mails, no external mail - user00@firma.lan and admin@firma.lan
user00@firma.lan is the source address for system mails like “Updates available”
“Backup report” “Zpool warning” …
The riddle is:
- it’s posible to send test mails manually for example from NAS or proxmox, but the mails from backup jobs or so, not arrive admin@firma.lan
- Where is our error in reasoning ?
Before migration NS7>> NS8 this was all OK, but after a week with testings without success we are confused … - Mails goto admin@directory.nh - how to repair this ?
We found this in mail log:
2024-09-16T10:01:25+02:00 [1:mail1:postfix/lmtp] 9D51ACE1834: to=<admin@directory.nh>, orig_to=<admin@firma.lan>, relay=msrv.firma-systeme.de[/var/lib/umail/lmtp], delay=0.1, delays=0.03/0.02/0.05/0.01, dsn=2.1.5, status=deliverable (250 2.1.5 OK)
2024-09-16T10:01:32+02:00 [1:mail1:rspamd] (normal) <7324fd>; task; rspamd_task_write_log: id: <undef>, qid: <994A1CE1834>, ip: 172.20.20.254, user: user00, from: <user00@firma.lan>, (default: F (no action): [-0.10/20.00] [MIME_GOOD(-0.10){multipart/mixed;text/plain;},ARC_NA(0.00){},BYPASS_IP(0.00){172.20.20.254;},BYPASS_SENDER_DOMAIN(0.00){firma.lan;},DKIM_SIGNED(0.00){firma.lan:s=default;},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},MIME_TRACE(0.00){0:+;1:+;}]), len: 955, time: 4120.709ms, dns req: 3, digest: <48f7179556bab73ec450e0aadb57ae76>, rcpts: <admin@firma.lan,user09@firma.lan>, mime_rcpts: <admin@firma.lan,user09@firma.lan>, forced: no action "Matched map: BYPASS_SENDER_DOMAIN"; score=nan (set by multimap)
2024-09-16T10:01:32+02:00 [1:mail1:postfix/lmtp] 994A1CE1834: to=<admin@directory.nh>, orig_to=<admin@firma.lan>, relay=msrv.firma-systeme.de[/var/lib/umail/lmtp], delay=7.3, delays=7.2/0/0/0.08, dsn=2.0.0, status=sent (250 2.0.0 <admin@directory.nh> cJNmMdzl52aAkgEAFvmLcQ Saved)
2024-09-16T16:38:33+02:00 [1:mail1:rspamd] (normal) <a3c039>; task; rspamd_task_write_log: id: <8a-66e84300-5-3ab3cf40@244375197>, qid: <58577CE1849>, ip: 10.5.4.1, user: admin, from: <admin@firma.lan>, (default: F (no action): [-0.10/20.00] [MIME_GOOD(-0.10){multipart/alternative;text/plain;},ARC_NA(0.00){},BYPASS_SENDER_DOMAIN(0.00){firma.lan;},DKIM_SIGNED(0.00){firma.lan:s=default;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MIME_TRACE(0.00){0:+;1:+;2:~;},TO_DOM_EQ_FROM_DOM(0.00){}]), len: 1358, time: 225.903ms, dns req: 6, digest: <0f1c01d46a22c05204cbd5a05aeb597d>, rcpts: <user01@firma.lan>, mime_rcpts: <user01@firma.lan>, forced: no action "Matched map: BYPASS_SENDER_DOMAIN"; score=nan (set by multimap)
2024-09-16T16:38:33+02:00 [1:mail1:postfix/qmgr] 58577CE1849: from=<admin@firma.lan>, size=1568, nrcpt=1 (queue active)
2024-09-16T16:38:33+02:00 [1:mail1:dovecot] imap(admin)<120603><F6j4hj0iJLAKBQQB>: save: box=Sent, uid=1312, msgid=<8a-66e84300-5-3ab3cf40@244375197>, from="System-Admin" <admin@firma.lan>, subject=Zahnarzt ..., flags=(\Seen)
2024-09-16T16:38:33+02:00 [1:mail1:dovecot] lmtp(user01)<120608><upNIKulC6GYg1wEAFvmLcQ>: save: box=INBOX, uid=49049, msgid=<8a-66e84300-5-3ab3cf40@244375197>, from="System-Admin" <admin@firma.lan>, subject=Zahnarzt ..., flags=()
2024-09-16T16:41:53+02:00 [1:mail1:postfix/smtpd] NOQUEUE: reject: RCPT from unknown[172.20.20.200]: 554 5.7.1 <admin@firma.lan>: Recipient address rejected: access denied; from=<root@pve.firma.lan> to=<admin@firma.lan> proto=ESMTP helo=<pve.firma.lan>
2024-09-16T16:41:53+02:00 [1:mail1:postfix/smtpd] NOQUEUE: reject: RCPT from unknown[172.20.20.200]: 554 5.7.1 <admin@firma.lan>: Recipient address rejected: access denied; from=<user00@firma.lan> to=<admin@firma.lan> proto=ESMTP helo=<pve.firma.lan>
2024-09-16T16:41:57+02:00 [1:mail1:rspamd] (normal) <b1626d>; task; rspamd_task_write_log: id: <undef>, qid: <6E98ACE182E>, ip: 172.20.20.200, user: user00, from: <user00@firma.lan>, (default: F (no action): [-0.10/20.00] [MIME_GOOD(-0.10){text/plain;},ARC_NA(0.00){},BYPASS_SENDER_DOMAIN(0.00){firma.lan;},DKIM_SIGNED(0.00){firma.lan:s=default;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MIME_TRACE(0.00){0:~;1:+;2:~;3:~;4:+;},SUBJ_BOUNCE_WORDS(0.00){},TO_DOM_EQ_FROM_DOM(0.00){}]), len: 2221, time: 4112.346ms, dns req: 10, digest: <a3bb139d8d7fa5f890ae75c1c8d19f9d>, rcpts: <admin@firma.lan>, mime_rcpts: <admin@firma.lan>, forced: no action "Matched map: BYPASS_SENDER_DOMAIN"; score=nan (set by multimap)
2024-09-16T16:41:57+02:00 [1:mail1:postfix/lmtp] 6E98ACE182E: to=<admin@directory.nh>, orig_to=<admin@firma.lan>, relay=msrv.firma-systeme.de[/var/lib/umail/lmtp], delay=4.3, delays=4.2