Hola,

No he utilizado nunca está función pero si te lees cuidadosamente el
archivo de configuración del amavis me parece entender que hay algo
que hace lo que quieres:

# VARIANT 3:
#   any email address (must contain '@').
# The e-mail messages to be quarantined will be handed to MTA
# for delivery to the specified address. If a recipient address local to MTA
# is desired, you may leave the domain part empty, e.g. 'infected@', but the
# '@' character must nevertheless be included to distinguish it from variant 2.
#
# This method enables more refined delivery control made available by MTA
# (e.g. its aliases file, other local delivery agents, dealing with
# privileges and file locking when delivering to user's mailbox, nonlocal
# delivery and forwarding, fan-out lists). Make sure the mail-to-be-quarantined
# will not be handed back to amavisd for checking, as this will cause a loop
# (hopefully broken at some stage)! If this can be assured, notifications
# will benefit too from not being unnecessarily virus-scanned.
#
# By default this is safe to do with Postfix and Exim v4 and dual-sendmail
# setup, but probably not safe with sendmail milter interface without
# precaution.

# (the default value is undef, meaning no quarantine)

$virus_quarantine_to  = 'virus-quarantine';    # traditional local quarantine
#$virus_quarantine_to = 'infected@';           # forward to MTA for delivery
#$virus_quarantine_to = "[EMAIL PROTECTED]";   # similar
#$virus_quarantine_to = '[EMAIL PROTECTED]';  # similar
#$virus_quarantine_to = undef;                 # no quarantine


Ya me contarás como va el tema...

P.D: Vigila con el tema de no entrar en un loop y escanear todo el
rato el mismo msj.

Responder a