Re: [exim] Banning *.ru.com and *.sa.com

Góra strony
Delete this message
Reply to this message
Autor: Sebastian Nielsen
Data:  
Dla: 'Mailing List'
Temat: Re: [exim] Banning *.ru.com and *.sa.com
Ooh sorry, a copy paste error occurred, disregard the last mail from me,
this is the correct one:

To ban them in MAIL FROM, use this, in your ACL for "acl_smtp_mail":

  deny
    message = 5.7.1 Banned TLD in MAIL FROM
    sender_domains = ^(?i).*\\.(ru|sa)\\.com\$



To ban them in MIME FROM, use this, in your ACL for "acl_smtp_data":

  deny
    message = 5.7.1 Banned TLD in MIME From
    condition = ${if match {$h_from:}{^(?i).*\\.(ru|sa)\\.com>\$}{yes}{no}}



Accidentially copy pasted a wrong ending on the DATA ACL rule.

-----Ursprungligt meddelande-----
Från: The Doctor via Exim-users <exim-users@???>
Skickat: den 2 oktober 2022 02:48
Till: exim-users@???
Ämne: [exim] Banning *.ru.com and *.sa.com

How can you block such domains using configuration?

--
Member - Liberal International This is doctor@??? Ici doctor@??? Yahweh,
King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism
https://www.empire.kred/ROOTNK?t=94a1f39b
Quebec oubliez les extremes et votez PLQ Beware https://mindspring.com

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/