Gary wrote:

> Rocco wrote:

>> I 'ld
>> like that all spam messages (destined to that domain) are forwarded to a
>> particular mail address of that domain (e.g.: [EMAIL PROTECTED]).

>> PS: Note that I dont quarantine email... and I wouldnt to activate this
>> feauture in future..

>> Thanks,
>> rocsca

> Where are the mailboxes for that domain? Are they on the local
> machine, or do you relay the mail to another server? I don't know
> anything about sendmail, but I'm thinking along the lines of having
> a LDA (like procmail) read the headers and divert the mail to a
> different mailbox if it finds 'X-Spam-Flag: YES'.

> Gary V

If it is possible to have sendmail send mail bound for that particular
domain to a different amavisd-new listening port, then it would be
possible to set up a policy bank for that domain that would allow you
to quarantine to a mailbox.

######

Or, since you say you do not quarantine, I will assume you are using:
$final_spam_destiny = D_PASS;

You could set the system up in a way that would only quarantine for
that particular domain. You could set:

$final_spam_destiny = D_DISCARD; # With high kill_level, this is not a concern

@spam_kill_level_maps = (
  { '.example.com' => 8.0,
   '.' => 9999.0 },
);

Anything at kill_level and above will be quarantined. The rest of the
domains will never see spam with a score of 9999.0, so their spam will not
be quarantined.

@spam_quarantine_to_maps = (
 { '.example.com' => '[EMAIL PROTECTED]', # spam for this domain goes here
   '.' => 'spam-quarantine', # the rest should never actually get here
                             # because high of kill_level
 }
);

Gary V



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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/

Reply via email to