Re: [AMaViS-user] amavis just needs to tag spam...

This is a discussion on Re: [AMaViS-user] amavis just needs to tag spam... within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; >> Thanks for the reply. I believe i want to discard viruses, and just tag >> everything else ...


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 07-21-2005
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] amavis just needs to tag spam...

>> Thanks for the reply. I believe i want to discard viruses, and just tag
>> everything else in headers and deliver it to the user. When it gets
>> delivered to the user, I'll parse the header for amavisd and then decide
>> where to deliver the message.


>> Hence, I do not wish to use ANY of the build in quarantines, so is it safe
>> to disable all of them?
>> thanks,
>> Regards, Matt


As far as "deliver everything except viruses and write an X-Spam
report in the header of every mail" goes, I would personally use these
settings:

# Define action to take when malware is detected:
$final_virus_destiny = D_DISCARD;
$final_banned_destiny = D_PASS;
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS;

# any attempts to quarantine are discarded, nothing gets quarantined:
# (in our case, only viruses are affected):
$virus_quarantine_to = undef;
$banned_quarantine_to = undef;
$bad_header_quarantine_to = undef;
$spam_quarantine_to = undef;

# don't waste CPU/disk time checking banned/bad headers:
@bypass_banned_checks_maps = (1);
@bypass_header_checks_maps = (1);

# insurance that delivery will be attempted to every recipient,
# regardless of other (possibly conflicting) settings:
# (due to other settings, these will not actually have an
# opportunity to be tested)
@banned_files_lovers_maps = (1);
@bad_header_lovers_maps = (1);
@spam_lovers_maps = (1);

# add X-Spam* report to all mail considered local:
# (remember, all recipient domains MUST be listed in @local_domains_maps)
$sa_tag_level_deflt = undef;

$sa_tag2_level_deflt = 5.0;
# 5.0 = the level at which X-Spam-Status: flips between No and Yes
# (5.0 is only an example)

# set kill_level very high to insure there are no attempts to quarantine spam:
$sa_kill_level_deflt = 9999.9;

# I doubt you would want the Subject line modified:
# I imagine your procmail scripts act on X-Spam* headers:
$sa_spam_modifies_subj = 0;

Gary V



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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
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

vB 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 11:31 AM.


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