Do_notify_and_quarantine

Luciano Giacchetta luciano at giacchetta.com.ar
Fri Feb 8 00:26:54 CET 2013


Hi everyone,

I have a little problem with this routine ( do_notify_and_quarantine ).
When i try to quarantine an spam email the amavis logs show this..

*do_notify_and_quarantine: not quarantining, q_method off*

I saw the amavis code and the q_method take the values from
%quarantine_method_by_ccat

In my config i have set spam_quarantine_method to

$spam_quarantine_method         = 'smtp:[127.0.0.1]:10025';

and

$spam_quarantine_to      = 'spam at ar-mx-b.onion.com';

Also, i have configurated SQL Lookup, so i added a new column in the table
Policy with
spam_quarantine_method VARCHAR64.

I noted in the amavis log that when amavisd lookup the SQL Policy read
spam_quarantine_method value...

Feb  7 19:54:42 ar-mx-b.moegui.com /usr/sbin/amavisd[13888]: (13888-01)
lookup_sql(luciano at onion.com) matches, result=(id=>"1", priority=>"1",
policy_id=>"1", email=>"@onion.com", fullname=>"Onion S.A", local=>"Y",
id=>"1", policy_name=>"ONION", virus_lover=>"N", spam_lover=>"N",
unchecked_lover=>"N", banned_files_lover=>"N", bad_header_lover=>"N",
bypass_virus_checks=>"N", bypass_spam_checks=>"N",
bypass_banned_checks=>"N", bypass_header_checks=>"N",
spam_modifies_subj=>"N", virus_quarantine_to=>-, spam_quarantine_to=>"
spam at ar-mx-b.moegui.com", banned_quarantine_to=>-,
unchecked_quarantine_to=>-, bad_header_quarantine_to=>-,
clean_quarantine_to=>"spam at ar-mx-b.moegui.com", archive_quarantine_to=>-,
spam_tag_level=>"1", spam_tag2_level=>"5", spam_tag3_level=>"7",
spam_kill_level=>"2000", spam_dsn_cutoff_level=>-,
spam_quarantine_cutoff_level=>"50000", addr_extension_virus=>-,
addr_extension_spam=>-, addr_extension_banned=>-,
addr_extension_bad_header=>-, warnvirusrecip=>"Y", warnbannedrecip=>"Y",
warnbadhrecip=>"Y", newvirus_admin=>"", virus_admin=>"", banned_admin=>"",
bad_header_admin=>"", spam_admin=>"spam at ar-mx-b.moegui.com",
spam_subject_tag=>"", spam_subject_tag2=>"{SPAM}",
spam_subject_tag3=>"{BLATANT}", message_size_limit=>-, banned_rulenames=>-,
disclaimer_options=>"", forward_method=>-, sa_userconf=>-, sa_username=>-, *
spam_quarantine_method=>"smtp:[127.0.0.1]:10025"*, id=>"1")

Why amavis tell me that q_methods are off??

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20130207/e72cd9a4/attachment.html>


More information about the amavis-users mailing list