W dniu 16.05.2022 o 15:14, Matus UHLAR - fantomas pisze:
Any idea to whitlist ?

On 16 May 2022, at 9:35 pm, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote: perhaps the null address at outgoing server, so you don't reject your own bounces

W dniu 16.05.2022 o 14:46, Viktor Dukhovni pisze:
No.  Better to apply the reject rule only on the inbound side, where
it should only lead to bounces on remote systems.

The OP's own systems should be sending outbound mail via the outbound MTA.

On 16.05.22 14:52, natan wrote:
Maybe smart loop if then ? But I do not know if it is not overcomplicated and what it would look like

please explain more deeply what do your inbound and outbound mailservers exactly do.

perhaps explain, how did e-mail 4L1w1y6WBVz1DDmK enter your mailserver
- if you could block it the way in, you wouldn't have to generate bounce.

I guessed your incoming server is used as MX, and outgoing server for outbound e-mail from your clients.


1)I send email from my outgoing server smtp xxx.xxx.xxx.220
2)e-mail was delivered to my MX-node1 (external server)

Log from serwer MX xxx.xxx.xxx.4:
May 16 12:08:38 MX-node1 postfix/smtpd[56703]: 4L1w1y6WBVz1DDmK: client=smtp ....[xxx.xxx.xxx.220] May 16 12:08:38 MX-node1 postfix/cleanup[45210]: 4L1w1y6WBVz1DDmK: warning: header Subject: alakot from smtp[xxx.xxx.xxx.220]; from=<na...@domain.ltd> to=<na...@domain.ltd> proto=ESMTP helo=<smtp> May 16 12:08:38 MX-node1 postfix/cleanup[45210]: 4L1w1y6WBVz1DDmK: message-id=<6eb63dcd4d1732c33ca530cbae194...@domain.ltd> May 16 12:08:38 MX-node1 postfix/cleanup[45210]: 4L1w1y6WBVz1DDmK: reject: body alakot from smtp[xxx.xxx.xxx.220]; from=<na...@domain.ltd> to=<na...@domain.ltd> proto=ESMTP helo=<smtp>: 5.7.1 spam2bok bla bla

Log from serwer smtp xxx.xxx.xxx.220:
May 16 12:08:38 smtp1 postfix/submission/smtpd[18768]: 4L1w1y5FpXz6c1M: client=unknown[xxx.xxx.xxx.60], sasl_method=LOGIN, sasl_username=na...@domain.ltd May 16 12:08:38 smtp1 postfix/cleanup[4182]: 4L1w1y5FpXz6c1M: warning: header Subject: alakot from unknown[xxx.xxx.xxx.60]; from=<na...@domain.ltd> to=<na...@domain.ltd> proto=ESMTP helo=<poczta> May 16 12:08:38 smtp1 postfix/cleanup[4182]: 4L1w1y5FpXz6c1M: message-id=<6eb63dcd4d1732c33ca530cbae194...@domain.ltd> May 16 12:08:38 smtp1 postfix/qmgr[33961]: 4L1w1y5FpXz6c1M: from=<na...@domain.ltd>, size=1270, nrcpt=1 (queue active) May 16 12:08:38 smtp1 postfix/smtp/smtp[36552]: 4L1w1y5FpXz6c1M: to=<na...@domain.ltd>, relay=<mx.domain.ltd[xxx.xxx.xxx.4]:25, delay=0.18, delays=0.11/0/0.04/0.03, dsn=5.7.1, status=bounced (host mx.domain.ltd[xxx.xxx.xxx.4] said: 550 5.7.1 spam2bok bla bla (in reply to end of DATA command)) May 16 12:08:38 smtp1 postfix/bounce[3725]: 4L1w1y5FpXz6c1M: sender non-delivery notification: 4L1w1y6Yk6z6c0l
May 16 12:08:38 smtp1 postfix/qmgr[33961]: 4L1w1y5FpXz6c1M: removed


May 16 12:08:38 smtp1 postfix/cleanup[43380]: 4L1w1y6Yk6z6c0l: message-id=<4L1w1y6Yk6z6c0l@smtp> May 16 12:08:38 smtp1 postfix/bounce[3725]: 4L1w1y5FpXz6c1M: sender non-delivery notification: 4L1w1y6Yk6z6c0l May 16 12:08:38 smtp1 postfix/qmgr[33961]: 4L1w1y6Yk6z6c0l: from=<>, size=3342, nrcpt=1 (queue active) May 16 12:08:39 smtp1 postfix/smtp/smtp[36560]: 4L1w1y6Yk6z6c0l: to=<na...@domain.ltd>, relay=mx.domain.ltd[xxx.xxx.xxx.4]:25, delay=0.22, delays=0/0/0.05/0.17, dsn=5.7.1, status=bounced (host mx.domain.ltd[xxx.xxx.xxx.4] said: 550 5.7.1 spam2bok bla bla (in reply to end of DATA command))
May 16 12:08:39 smtp1 postfix/qmgr[33961]: 4L1w1y6Yk6z6c0l: removed
--

Reply via email to