I do this in Procmail:

:0 B
*^Content-Type: (application|audio)
*^.*name=.*\.(vb[esx]|ws[hf]|c[ho]m|bat|cmd|hta|exe|lnk|pif|scr|shs)
.zzz-executables/

--
justin


> -----Original Message-----
> From: Patrick Marquetecken [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 09, 2003 11:43 AM
> To: Gentoo-user
> Subject: [gentoo-user] Advice for Blocking Attachments by 
> File Extension
> 
> 
> Hi,
> 
> I'm quit new with mail on linux, i have already this working:
> fetchmail - postfix - amavis - clamAV - spamassassin - procmail
> 
> now i want to bounce or quarantine mails with some 
> extentions, like exe ,src and so on. But i don't know where 
> to start, so any advice would be fine.
> 
> Patrick
> 
> -- 
>  "The needs of the many outweigh the needs of the few." 
>   Captain Spock in Star Trek II: The Wrath of Khan
>  
>  PGP Key: http://users.pandora.be/rivendell/marquetp.gpg
>  Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B
>  Registered Linux User #44550
>  http://counter.li.org
> 

--
[EMAIL PROTECTED] mailing list

Reply via email to