BANNED CONTENT not mailed to quarantine...

Steve steeeeeveee at gmx.net
Wed Apr 27 14:39:35 CEST 2011


-------- Original-Nachricht --------
> Datum: Wed, 27 Apr 2011 11:51:26 +0200
> Von: weber at zackbummfertig.de
> An: Amavis users <amavis-users at amavis.org>
> Betreff: BANNED CONTENT not mailed to quarantine...

> 
>  Hello,
>  to early clapped my hands.....
> 
>  i set in amavis =
> 
>  $final_banned_destiny     = D_PASS;
>  $banned_quarantine_to = 'virusquarantine at domain.de'
> 
>  The Banned Content is now passed thru, but not the quarantine mail , 
>  its sent to the Recipient directly.
>  What is wrong in my setup?
> 
>  Here a snippet from the mail log:
> 
>  Apr 27 11:40:43 netcogw amavis[19167]: (19167-03) Passed BANNED 
>  (.exe,.exe-ms,RegAsm.exe), [64.88.171.196] [64.88.171.196] 
>  <Support-System-OL at sxxxxx.de> -> <sven.xxx at RECIPIENT-DOMAIN.de>, 
>  quarantine: virusquarantine at RECIPIENT-DOMAIN.de, Message-ID: 
>  <FB4E9609E85631479575C93333CA11311091A376 at FFM-SRV-EXCH-1.xxxxxxx.de>, 
>  mail_id: YrpK7UUHk+IV, Hits: -, size: 40254, queued_as: 5D56582CDE, 207 
>  ms
> 
>  Now the mail is delivered directly to the recipient 
>  sven at RECIPIENT-DOMAIN.de and not the 
>  virusquarantine at RECIPIENT-DOMAIN.de.
> 
>  Any ideas why?
> 
If I am not wrong then you could use the destination email address instead of the symbolic constants. So instead of:
$final_banned_destiny     = D_PASS;

You could do:
$final_banned_destiny     = 'virusquarantine at domain.de';


If that does not work then use the new final_*_destiny mechanism (just an example):

%final_destiny_by_ccat = (
  CC_VIRUS,      'virusquarantine at domain.de',
  CC_BANNED,     'virusquarantine at domain.de',
  CC_UNCHECKED,  D_PASS,
  CC_SPAM,       D_PASS,
  CC_BADH,       D_PASS,
  CC_OVERSIZED,  D_BOUNCE,
  CC_CLEAN,      D_PASS,
  CC_CATCHALL,   D_PASS,
);


>  Marko
> 
Steve

> 
> 
>  On Wed, 27 Apr 2011 11:31:34 +0200, <weber at zackbummfertig.de> wrote:
> > got it
> >
> > $final_banned_destiny     = D_PASS;
> > $banned_quarantine_to = 'virusquarantine at domain.de'
> >
> > marko
> >
> >
> > On Wed, 27 Apr 2011 11:24:46 +0200, <weber at zackbummfertig.de> wrote:
> >> can i do this?
> >> i want banned_content to forwarded to an explicit mailaccount,
> >> like i do with virusmails.
> >>
> >> thank you,
> >>
> >> marko
> 
> 

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


More information about the amavis-users mailing list