I added Mail Filter'-> 'Who Object'->'Whitelist' : domain.com
I sent from
abc@domain.com to
user06@test.domain.com and email inbox
user06@test.domain.com always junk.
And my log:
Sep 13 15:51:25 pmg postfix/postscreen[1282]: CONNECT from [x.x.x.x]:50986 to [x.x.x.52]:25
Sep 13 15:51:25 pmg postfix/postscreen[1282]: PASS OLD [x.x.x.x]:50986
Sep 13 15:51:26 pmg postfix/smtpd[1285]: connect from mta.domain.com[x.x.x.x]
Sep 13 15:51:26 pmg postfix/smtpd[1285]: Anonymous TLS connection established from mta.domain.com[x.x.x.x]: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)
Sep 13 15:51:26 pmg postfix/smtpd[1285]: 05CAC42297: client=mta.domain.com[x.x.x.x]
Sep 13 15:51:26 pmg postfix/cleanup[1289]: 05CAC42297: message-id=<000501d56a10$6d35a1b0$47a0e510$@domain.com>
Sep 13 15:51:26 pmg postfix/qmgr[830]: 05CAC42297: from=<
abc@domain.com>, size=5047, nrcpt=1 (queue active)
Sep 13 15:51:26 pmg postfix/smtpd[1285]: disconnect from mta.domain.com[x.x.x.x] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Sep 13 15:51:26 pmg pmg-smtp-filter[1060]: 2019/09/13-15:51:26 CONNECT TCP Peer: "[127.0.0.1]:44028" Local: "[127.0.0.1]:10024"
Sep 13 15:51:26 pmg pmg-smtp-filter[1060]: reloading configuration Proxmox_ruledb
Sep 13 15:51:26 pmg pmg-smtp-filter[1060]: 229E55D7B588E197C6: new mail message-id=<000501d56a10$6d35a1b0$47a0e510$@domain.com>#012
Sep 13 15:51:27 pmg pmg-smtp-filter[1060]: 229E55D7B588E197C6: SA score=0/5 time=1.646 bayes=undefined autolearn=no autolearn_force=no hits=DKIM_SIGNED(0.1),DKIM_VALID(0.1),DKIM_VALID_AU(-0.3),DKIM_VALID_EF(-0.1),FROM_EXCESS_BASE64(2.5),HTML_MESSAGE(1),KAM_NUMSUBJECT(0.5),SPF_HELO_NONE(0.001),SPF_PASS(-0.001),URIBL_BLOCKED(2),USER_IN_WHITELIST(-100)
Sep 13 15:51:27 pmg postfix/smtpd[1295]: connect from localhost.localdomain[127.0.0.1]
Sep 13 15:51:27 pmg postfix/smtpd[1295]: C0E0742298: client=localhost.localdomain[127.0.0.1], orig_client=mta.domain.com[x.x.x.x]
Sep 13 15:51:27 pmg postfix/cleanup[1289]: C0E0742298: message-id=<000501d56a10$6d35a1b0$47a0e510$@domain.com>
Sep 13 15:51:27 pmg postfix/qmgr[830]: C0E0742298: from=<
abc@domain.com>, size=5253, nrcpt=1 (queue active)
Sep 13 15:51:27 pmg pmg-smtp-filter[1060]: 229E55D7B588E197C6: accept mail to <
user06@test.domain.com> (C0E0742298) (rule: Whitelist)
Sep 13 15:51:27 pmg postfix/smtpd[1295]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Sep 13 15:51:27 pmg pmg-smtp-filter[1060]: 229E55D7B588E197C6: processing time: 1.734 seconds (1.646, 0.016, 0)
Sep 13 15:51:27 pmg postfix/lmtp[1290]: 05CAC42297: to=<
user06@test.domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.8, delays=0/0/0.08/1.7, dsn=2.5.0, status=sent (250 2.5.0 OK (229E55D7B588E197C6))
Sep 13 15:51:27 pmg postfix/qmgr[830]: 05CAC42297: removed
Sep 13 15:51:27 pmg postfix/smtp[1296]: Anonymous TLS connection established to x.x.x.48[x.x.x.48]:25: TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)
Sep 13 15:51:28 pmg postfix/smtp[1296]: C0E0742298: to=<
user06@test.domain.com>, relay=x.x.x.48[x.x.x.48]:25, delay=0.26, delays=0.05/0/0.05/0.16, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 08D9560A8C75)
Sep 13 15:51:28 pmg postfix/qmgr[830]: C0E0742298: removed
Sep 13 15:52:07 pmg pmg-smtp-filter[1031]: starting database maintainance
Sep 13 15:52:07 pmg pmg-smtp-filter[1031]: end database maintainance (23 ms)
Thanks for your answer,