Am Freitag, den 21.03.2008, 17:53 +0100 schrieb Mark Martinec:
> Harald,
>
> > I tried in amavisd.conf to send spams
> > with unknown incoming mail addresses
> > to an internal mail account spamall.
> >
> > That is working fine.
> >
> > All other correct existing mails
> > adresses with spam should go to an
> > account spamadmin.
>
> Jeremy Laidman wrote:
> > $spam_quarantine_to = new_RE( # per-recip multiple
> > [qr'[EMAIL PROTECTED]'i => '[EMAIL PROTECTED]'],
> > [qr'^' => '[EMAIL PROTECTED]'] );
>
> Almost, except that @spam_quarantine_to_maps should be used
> (which is a list of lookup tables), instead of $spam_quarantine_to
> (which is a single quarantine destination).
>
> Also, the regexp-based lookup table is an overkill for such
> a simple application, a simple hash-type lookup would suffice:
>
> @spam_quarantine_to_maps = (
> { '[EMAIL PROTECTED]' => '[EMAIL PROTECTED]',
> '.' => '[EMAIL PROTECTED]' }
> );
This is the same in source, if you look at the line:
[17922]: @spam_quarantine_to_maps = (\$spam_quarantine_to);
It is also not working :-(((
Same effect:
Incorrect mail account is going to "spamall" - OK
Both - incorrect an correct adressess are going to both
spamall *and* spamadmin.
Thanks Harald
-------------------------------------------------------------------------
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
[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/