On 2004-07-13, Markus Schiltknecht wrote: > If this is not allowed for a filter, how could one implement that? Would > I have to hack around in the Courier-MTA code? >
You can implement amavis as a global maildrop recipe, which is mandantory for all users via /etc/maildroprc. /etc/maildroprc could look like this: --- import SENDER import RECIPIENT import HOME xfilter "/usr/sbin/amavis $SENDER $RECIPIENT" --- If a virus is found by amavis, the virus mail itself is replaced by a virus warning for the original (local) recipient. The original mail is saved in a place where only root can access it (depends on amavis configuration). The downside of this plain-vanilla solution is, that it scans only incoming mails for local users, not the outgoing mail traffic. -- Georg ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
