|
procmail->maildrop conversions: msg#00057mail.maildrop
Another conversion attempt from procmail to maildrop... How to convert this to maildrop: # :0 HB * ^Content-Type: multipart/alternative * ^Content-Type:.*(audio/x-|application) * name=.*\.(scr|com|bat|pif|lnk|exe) { :0 /dev/null } i.e. Any email with a multipart/alternative or audio/x-|application attachment with a filename ending in .scr, .com, .bat, .pif, .lnk or .exe is to be deleted. My first maildrop attempt is below (dont laugh!): if ((/^Content-Type: multipart/alternative/) || \ (/^Content-Type:.*(audio/x-|application/)) && \ (/name=.*\.(scr|com|bat|pif|lnk|exe/))) { to "$VDIR/Maildir/.Virii" } No doubt this is probably the totally wrong direction! :-) -- Aj. Sys. Admin / Developer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Forwarding in maildrop: 00057, Ajai Khattri |
|---|---|
| Next by Date: | Mysql down & user unknown: 00057, Arnaud Pignard |
| Previous by Thread: | Re: Forwarding in maildropi: 00057, Ajai Khattri |
| Next by Thread: | Re: Forwarding in maildrop: 00057, Ajai Khattri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |