Exim Filter

Pàgina inicial
Delete this message
Reply to this message
Autor: Tim Patterson
Data:  
A: exim-users
Assumpte: Exim Filter
Hello,

I am unable to get my filter to reject 12345@???
I understand that filter From: is not of much use, but
I am just trying to resolve the syntax.

Please send me a line of code that will filter all
[numeric only]@domain.com in an *exim filter*

I have tried
^[0-9]+@*\.com
^[0-9]+@*\\.com$
and many others.

Thank you,

Tim Patterson



#start email
-header stuff-
To: someone@???
From: 1234@???
-message stuff---
#end of email


# Exim filter
logfile /var/log/exim/spamlog
if 
  ($h_to: contains        "internetusers@???" or
   $h_to: contains        "Friend@???" or
   $h_from: contains  '[0-9]+@' or
   $h_from: contains  '^[0-9]+@*\.com'or
then  
  log $h_from:
  seen 
  finish 
endif





--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/