[Postfixbuch-users] Blocken von TLDs, ' in Absenderadresse

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Di Dez 19 13:40:19 CET 2006


* Matthias Haegele <mhaegele at linuxrocks.dyndns.org>:

>   cat /etc/postfix/client-checks
> # Spam Toplevel-Domains ausgrenzen
> /\.(ar|br|cl|ru|pl)/ REJECT We don't accept email sent from this Top 
> Level Domain.
> #jp not there cause jpberlin.de is rejected ...

a) dafür braucht man kein regexp!
b) Wenn man die richtig anchored, dann gehts auch:

   /\.(ar|br|cl|ru|pl|jp)$/ REJECT We don't accept email sent from this TLD
   
-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)             plonk at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
"You are trapped in a maze of screens and ssh sessions all alike." 
"It is dark, and you are likely to log off the wrong account." 



Mehr Informationen über die Mailingliste Postfixbuch-users