List Info

Thread: sql quarantine error???




sql quarantine error???
user name
2007-01-25 14:13:15
Hey List-

I'm getting an error when trying to insert into the SQL
quarantine. The issue 
is such. I have the following set:

$virus_quarantine_method = $spam_quarantine_method = 
$banned_files_quarantine_method =
$bad_header_quarantine_method = 
$archive_quarantine_method = 'sql:';


The issue is that when I have 
$sa_tag2_level_deflt = 0.1; # add 'spam detected' headers at
that level
$sa_kill_level_deflt = 0.1; # triggers spam evasive actions

set and an email triggers both tag2 and kill the email
itself has already been 
inserted into the db by the archive_quarantine_method (ie:
keep records of 
all email going through the system) and then when the the
sa_kill is called 
it tries to insert the message again and errors out because
it already 
exists.  Am I missing something or is this something that
would need to be 
checked for in the amavisd script?

Short term solution is to disable the archive_quarantine,
but this is a mail 
gateway setup for our web servers and I need to be able to
train both HAM and 
SPAM. Since the final destionation for this email is not
local there is no 
other way for me to store it.

Thoughts?

henrik
-- 
Henrik Hudson
listsrhavenn.net
------------------------------
"God, root, what is difference?" Pitr; UF (http://www.userfriendly.
org/)

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )