[pfx] Re: Fwd: milter-reject: END-OF-MESSAGE

2023-03-10 Thread Adrian Huryn via Postfix-users

Thanks for reply.
Logs from rspamd
2023-03-10 11:54:42 #31829(rspamd_proxy) <71bd42>; proxy; 
proxy_accept_socket: accepted milter connection from 
/var/run/rspamd/milter.sock port 0
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; milter; 
rspamd_milter_process_command: got connection from 165.72.200.209:15292
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; proxy; 
rspamd_message_parse: loaded message; id: ; queue-id: 
<3129536A7A2>; size: 17588; checksum: 
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; proxy; 
spf_symbol_callback: cannot make spf request for [undef]
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; surbl; 
surbl_test_url: disable surbl multi.uribl.com as it is reported to be 
offline
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; dkim_signing; 
dkim_sign_tools.lua:40: ignoring unauthenticated mail
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; lua; 
greylist.lua:348: greylisted until "Fri, 10 Mar 2023 10:59:43 GMT", new 
record
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; proxy; 
lua_task_set_pre_result: : set pre-result to soft reject: 'Try 
again later'
2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; proxy; 
rspamd_task_write_log: id: , qid: <3129536A7A2>, ip: 
165.72.200.209, from: , (default: F (soft 
reject): [5.31/15.00] [BAYES_HAM(-2.99){99.97%;},DCC_BULK(2.00){bulk 
Body=1 Fuz1=4 
Fuz2=many;},MIME_HEADER_CTYPE_ONLY(2.00){},MISSING_MIME_VERSION(2.00){},INVALID_MSGID(1.70){},MID_MISSING_BRACKETS(0.50){},MIME_HTML_ONLY(0.20){},MIME_GOOD(-0.10){multipart/related;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},GREYLIST(0.00){greylisted;Fri, 
10 Mar 2023 10:59:43 GMT;new 
record;},HAS_ATTACHMENT(0.00){},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_TWO(0.00){2;},RCVD_NO_TLS_LAST(0.00){},R_SPF_DNSFAIL(0.00){(SPF): 
spf DNS fail;},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 
17588, time: 251.485ms real, 3.883ms virtual, dns req: 0, digest: 
, rcpts: , mime_rcpt: 

2023-03-10 11:54:43 #31829(rspamd_proxy) <71bd42>; proxy; 
rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 4 
regexps matched, 163 regexps total, 79 regexps cached, 0B bytes scanned 
using pcre, 6.08k bytes scanned total



Best, Adrian.

W dniu 10.03.2023 o 11:47, Matus UHLAR - fantomas via Postfix-users pisze:


On 10.03.23 11:32, Adrian Huryn via Postfix-users wrote:

Mar 10 11:23:56 poczta postfix/smtpd[28240]: input attribute name: (end)
Mar 10 11:23:56 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 354 End data with .
Mar 10 11:23:56 poczta postfix/cleanup[28321]: 7F2A2352540: 
message-id=a977fd00-bf2d-11ed-b354-8f9f1ca3e8dd
Mar 10 11:23:57 poczta postfix/cleanup[28321]: 7F2A2352540: 
milter-reject: END-OF-MESSAGE from 
gateway11d.dhl.com[165.72.200.204]: 4.7.1 Try again later; 
from= to= proto=ESMTP 
helo=
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: status
Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: 
status

Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute value: 256
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: reason
Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: 
reason
Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute value: 
451 4.7.1 Try again later
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: (list terminator)

Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: (end)
Mar 10 11:23:57 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 451 4.7.1 Try again later

Mar 10 11:23:57 poczta postfix/smtpd[28240]: abort all milters
Mar 10 11:23:57 poczta postfix/smtpd[28240]: milter8_abort: abort 
milter unix:/var/run/rspamd/milter.sock

Mar 10 11:23:57 poczta postfix/smtpd[28240]: watchdog_pat: 0x80441e770
Mar 10 11:23:57 poczta postfix/smtpd[28365]: connect from 
unknown[50.239.39.42]
Mar 10 11:24:00 poczta postfix/trivial-rewrite[28243]: warning: do 
not list domain alva.com.pl in BOTH virtual_mailbox_domains and 
relay_domains
Mar 10 11:24:00 poczta postfix/smtpd[28365]: NOQUEUE: reject: RCPT 
from unknown[50.239.39.42]: 450 4.7.1 Client host rejected: cannot 
find your reverse hostname, [50.239.39.42]; from=<> 
to= proto=ESMTP helo=
Mar 10 11:24:00 poczta postfix/smtpd[28365]: disconnect from 
unknown[50.239.39.42] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 
commands=5/6
Mar 10 11:24:02 poczta postfix/smtpd[28240]: < 
gateway11d.dhl.com[165.72.200.204]: QUIT
Mar 10 11:24:02 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 221 2.0.0 Bye


your milter is apaprently dead, we know nothing of it.
start your milter and look at its logs.


W dniu 10.03.2023 o 11:24, mailmary--- via Postfix-users pisze:
Are you using OpenDMARC? if you do, then its because OpenDMARC is 
broken and crashes on some types of emails.


Loo

[pfx] Re: Fwd: milter-reject: END-OF-MESSAGE

2023-03-10 Thread Adrian Huryn via Postfix-users

Hello. No i user rspamd and i think dmarc is in there.
I set debug for dhl.com and i get this :

Mar 10 11:23:56 poczta postfix/smtpd[28240]: input attribute name: (end)
Mar 10 11:23:56 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 354 End data with .
Mar 10 11:23:56 poczta postfix/cleanup[28321]: 7F2A2352540: 
message-id=a977fd00-bf2d-11ed-b354-8f9f1ca3e8dd
Mar 10 11:23:57 poczta postfix/cleanup[28321]: 7F2A2352540: 
milter-reject: END-OF-MESSAGE from gateway11d.dhl.com[165.72.200.204]: 
4.7.1 Try again later; from= 
to= proto=ESMTP helo=
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: status

Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: status
Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute value: 256
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: reason

Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: reason
Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute value: 451 
4.7.1 Try again later
Mar 10 11:23:57 poczta postfix/smtpd[28240]: public/cleanup socket: 
wanted attribute: (list terminator)

Mar 10 11:23:57 poczta postfix/smtpd[28240]: input attribute name: (end)
Mar 10 11:23:57 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 451 4.7.1 Try again later

Mar 10 11:23:57 poczta postfix/smtpd[28240]: abort all milters
Mar 10 11:23:57 poczta postfix/smtpd[28240]: milter8_abort: abort milter 
unix:/var/run/rspamd/milter.sock

Mar 10 11:23:57 poczta postfix/smtpd[28240]: watchdog_pat: 0x80441e770
Mar 10 11:23:57 poczta postfix/smtpd[28365]: connect from 
unknown[50.239.39.42]
Mar 10 11:24:00 poczta postfix/trivial-rewrite[28243]: warning: do not 
list domain alva.com.pl in BOTH virtual_mailbox_domains and relay_domains
Mar 10 11:24:00 poczta postfix/smtpd[28365]: NOQUEUE: reject: RCPT from 
unknown[50.239.39.42]: 450 4.7.1 Client host rejected: cannot find your 
reverse hostname, [50.239.39.42]; from=<> to= 
proto=ESMTP helo=
Mar 10 11:24:00 poczta postfix/smtpd[28365]: disconnect from 
unknown[50.239.39.42] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Mar 10 11:24:02 poczta postfix/smtpd[28240]: < 
gateway11d.dhl.com[165.72.200.204]: QUIT
Mar 10 11:24:02 poczta postfix/smtpd[28240]: > 
gateway11d.dhl.com[165.72.200.204]: 221 2.0.0 Bye


Best. Adrian.

__

i-Pi Sp. z o.o.
ul. Norwida 10
56-416 Twardogóra
tel: +48 783 314 404
mail: a...@i-pi.pl

W dniu 10.03.2023 o 11:24, mailmary--- via Postfix-users pisze:

Hello,

Are you using OpenDMARC? if you do, then its because OpenDMARC is broken and 
crashes on some types of emails.

Look above those log lines for the actual crash, it looks like:

"can't read SMFIC_BODYEOB reply packet header"

unfortunately, OpenDMARC seems like a dead project so don't expect a fix, maybe 
you should prepare to move to another DMARC verification utility.


If you are not using OpenDMARC then look for the output of the milter that 
caused the 4.7.1 retry error.



On Fri, 10 Mar 2023 11:13:35 +0100 Adrian Huryn via Postfix-users 
 wrote:


Hello. I have problem from cuple of days.
When DHL try to send me an email, we get
Mar 10 11:04:06 poczta postfix/cleanup[26141]: EB48B36AABA:
milter-reject: END-OF-MESSAGE from gateway11b.dhl.com[165.72.200.202]:
4.7.1 Try again later; from=
to= proto=ESMTP helo=

And i see i have more this milter-reject: END-OF-MESSAGE in logs from
different domains (gmail etc.)

I try to add @dhl.com to rbl_override
in main.cf
smtpd_client_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    check_client_access hash:/usr/local/etc/postfix/rbl_override,

But this not work. Can anyone help me ? I dont know what more info i
need to send, when i get this info i add it.

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Fwd: milter-reject: END-OF-MESSAGE

2023-03-10 Thread Adrian Huryn via Postfix-users

Hello. I have problem from cuple of days.
When DHL try to send me an email, we get
Mar 10 11:04:06 poczta postfix/cleanup[26141]: EB48B36AABA: 
milter-reject: END-OF-MESSAGE from gateway11b.dhl.com[165.72.200.202]: 
4.7.1 Try again later; from= 
to= proto=ESMTP helo=


And i see i have more this milter-reject: END-OF-MESSAGE in logs from 
different domains (gmail etc.)


I try to add @dhl.com to rbl_override
in main.cf
smtpd_client_restrictions =
  permit_mynetworks,
  permit_sasl_authenticated,
  check_client_access hash:/usr/local/etc/postfix/rbl_override,

But this not work. Can anyone help me ? I dont know what more info i 
need to send, when i get this info i add it.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org