procmail
[Top] [All Lists]

Re: Virus Scanning on a per user basis?

2001-04-03 12:19:14
Jamie Orzechowski writes:
Hello ... I am currently using Amavis for virus scanning but it scans
everyone's email ... I would like to have amavis (virus scanning) only run
on a per user basis.  So if the user wants virus scanning then they will
have a .procmailrc which spawns a virus scanner to check their mail.

 You don't want to use the users' .procmailrcs. It gives them full control.
 
I would like to continue to use amavis but change to launch on a per user
basis ... is this possible with procmail?
 
 Virus scanning in general, and especially with amavis, is already quite
 expensive. Your approach is making it even more so.

 I would think a better solution is to hack amavis to read an exclusion file,
 and have it return success immediately after matching the envelope recipient
 against the list.

 This is quite easy to add into both amavis (scanmails) and amavis-perl.
 It would be most efficient to do this in the upcoming daemonised version
 of amavis-perl, as the exclusion file would only have to be read once,
 at daemon startup time.

 [To do this in the MTA only would require per-user mailer or transport tables,
  but typical MTAs support only per-domain tables.]

_______________________________________________
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>