Re: [AMaViS-user] README.sql

This is a discussion on Re: [AMaViS-user] README.sql within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; >> > > I have restarted. The messages are correctly stored in msgs >> > table (it >&...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008
Rocco Scappatura
 
Posts: n/a
Default Re: [AMaViS-user] README.sql

>> > > I have restarted. The messages are correctly stored in msgs
>> > table (it
>> > > has been written maddr,msgrcpt tables too). But no spam
>> > messages was
>> > > detected. Maybe do I have to fill the RO tables before to run
>> > > amavisd-new+SQL?
>> >
>> > Should be:
>> >
>> > $virus_quarantine_method = 'sql:';
>> > $spam_quarantine_method = 'sql:';
>> > $banned_quarantine_method = 'sql:';
>> > $bad_header_quarantine_method = 'sql:';

>>
>> Thanks. But, it must exists at least a policy so that messages are
>> filtered for spam?


> I could be wrong, but I don't think you need to create the read only
> tables.


Sorry. For RO tables I mean the following tables:

+ users
+ mailaddr
+ wblist
+ policy

> These following settings cannot be undefined (undef) if you want to
> quarantine to them, so I suggest leaving them at their default values.
> Setting them to undef means mail will not get quarantined (to each
> respective content type).
>
> # $virus_quarantine_to = 'virus-quarantine';
> # $banned_quarantine_to = 'banned-quarantine';
> # $bad_header_quarantine_to = 'bad-header-quarantine';
> # $spam_quarantine_to = 'spam-quarantine';
>
> Then, for instance, with no recipient in SQL, spam should get
> quarantined at $sa_kill_level_default.


So I think it is just that the mistake: I have not set no one of the above
variable. And this has caused that no filtering has been applied.

But, when I not use SQL for quarantine I have not set no one of the
variable above as well, and filtering works. Why?

> Also, remember that spam that scores at or above
> $sa_quarantine_cutoff_level will not get quarantined, so check that
> setting too.


Yes, I do.

Thanks,

rocsca


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0