>> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
