Re: [exim] Ideas for blocking addresses with quotation marks…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Slavko
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Ideas for blocking addresses with quotation marks in them?
Dňa 27. decembra 2022 0:58:51 UTC používateľ Jarland Donnell via Exim-users <exim-users@???> napísal:

>2022-12-26 18:20:59 1p9s5q-0007aL-2S <= ""@???[breakforfilters]ineamarket.com H=server12.sistemthflineamarket.com [91.234[breakforfilters].198.105] P=esmtps X=TLS1.2:ECDHE-ECDSA-AES128-GCM-SHA256:128 CV=no S=9286


If i properly understand you, the problem is from quoted empty local
part:

    ""@...


First technical question -- is not that equivalent to "@..." address? I
didn't check sytax in RFC right now, only from memory... If so,
then IMO it have be rejected as syntax error by exim (but it is not).

When i tried it (-bh), it fails to verify (without callout) by dnslookup
router in my case. I cannot copy paste log for now, but it seems, that
router is confused by quotes.

Anyway, simple ACL condition works:

    deny senders = ^""@


Perhaps worth to expand regex to ^"\s*"@, but i didn't tried that...

regards


--
Slavko
https://www.slavino.sk/