-------- Original-Nachricht -------- > Datum: Wed, 27 Apr 2011 11:51:26 +0200 > Von: [email protected] > An: Amavis users <[email protected]> > 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 = '[email protected]' > > 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] > <[email protected]> -> <[email protected]>, > quarantine: [email protected], Message-ID: > <fb4e9609e85631479575c93333ca11311091a...@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 > [email protected] and not the > [email protected]. > > 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 = '[email protected]'; If that does not work then use the new final_*_destiny mechanism (just an example): %final_destiny_by_ccat = ( CC_VIRUS, '[email protected]', CC_BANNED, '[email protected]', 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, <[email protected]> wrote: > > got it > > > > $final_banned_destiny = D_PASS; > > $banned_quarantine_to = '[email protected]' > > > > marko > > > > > > On Wed, 27 Apr 2011 11:24:46 +0200, <[email protected]> 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
