On Mon, 2007-04-16 at 22:31 -0600, Gary V wrote:
> Gary wrote:
>
> > Robert wrote:
>
> >> Is it possible to pass and mark as spam in the subject line for only one
> >> domain passing through our Postfix+Amavisd-new+SA gateway server?
>
> > Are you talking about a sending domain or a recipient domain? What
> > action (if any) should be taken for the remaining domains?
>
> I will assume recipient domain, and no action taken for others. I
> will also assume you want banned files checked and viruses checked.
>
> $mydomain = 'example.com';
>
> @local_domains_maps = ( [".$mydomain", '.example.net'] );
>
> @bypass_spam_checks_maps = (
> { '.example.com' => 0 }, # bypass spam checks = false
> 1 # everyone else, bypass spam checks = true
> );
>
> # apply the above to everything else:
> @bypass_banned_checks_maps = @bypass_header_checks_maps =
> @bypass_virus_checks_maps = @bypass_spam_checks_maps;
>
>
> @spam_lovers_maps = (
> { '.example.com' => 0 }, # loves spam = false
> 1 # everyone else, loves spam = true
> );
>
> # apply the above to everything else:
> @banned_files_lovers_maps = @bad_header_lovers_maps =
> @virus_lovers_maps = @spam_lovers_maps;
>
>
> $final_spam_destiny = D_PASS;
>
> $sa_kill_level_deflt = 9999; # since we pass, don't quarantine
>
> @spam_tag_level_maps = (
> { '.example.com' => -999, }, # we want headers tagged
> 9999 # no one else wants headers tagged
> );
>
> @spam_tag2_level_maps = (
> { '.example.com' => 6.31, }, # we tag subject
> 9999 # no one else wants subject tagged
> );
>
> $sa_spam_subject_tag = '***SPAM*** ';
>
Sorry for not being more clear. Yes, I'm talking about a recipient
domain name. I still want it filtered for spam, but only to mark the
subject line and send on through to the destination. All other domains
going through our gateway we now BOUNCE. Is it possible to mark and send
on only one domain?
--
Robert
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/