amavis-user March 2012 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Is it possible to set $clean_quarantine_* in policy

Is it possible to set $clean_quarantine_* in policy_bank?

From: Zhang Huangbin <zhbmaillistonly_at_nospam>
Date: Wed Mar 07 2012 - 18:15:14 GMT
To: amavis-users@amavis.org

Dear all,

Is it possible to set $clean_quarantine_* in policy bank? I tried with below setting, but failed:

$policy_bank{'MYUSERS'} = {
    $clean_quarantine_method => 'clean-quarantine',
    $clean_quarantine_to => 'sql:',
    …
}

Error message is:

Mar 7 13:00:29 c60 amavis[1962]: (01962-01) (!)loading policy bank "MYUSERS": unknown field ""
Mar 7 13:00:29 c60 amavis[1962]: (01962-01) (!)loading policy bank "MYUSERS": unknown field "clean-quarantine"

My original purpose is creating a policy_bank to quarantine certain emails which injected by Postfix, but not global setting.

Thanks. :)

---- Zhang Huangbin iRedMail: Open Source Mail Server Solution for Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, Mint, Gentoo, openSUSE, FreeBSD: http://www.iredmail.org/