procmail
[Top] [All Lists]

No Recipient

2003-05-31 20:49:36
Hai 
1)
   I tried to write recipe for messages that have no recipients in the
To line as
     :0
    * To??^$
     temp
 
But it moves all incoming mails to temp. When I gone through log file,
it says that match found on ?^$?
How to solve this?
 
2)       I am using the following recipe for attachment filter, its
working. But how to block the mail with reference to the content.
For ex, If I want to block a mail which contains image file which is not
as an attachment, then what to do?
   
:0 B:
* ^Content-Type: (application/octet-stream|audio/x-wav)
* ^.*name=.*\.(bat|com|pif|scr|exe)
/dev/null
 
 
 
Best Regards,
 
Saravanan G
Systems Department,
ThyssenKrupp JBM Pvt Ltd,
#1, Ford Supplier's Park,
Maraimalai Nagar,
Chengalpet -603204,
Tamil Nadu, India.
Ph.No. +(91)-4114-254993/4,254960/1 Ext -136
Fax No: +(91)-4114-254962
E-mail sysmanager(_at_)tka-jbm(_dot_)thyssenkrupp(_dot_)com
 
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>