Nicklas wrote:

> Hi,

> I would like to match my spam_quarantine_to from a read_hash table.

> Is it possible to do something like the following;

> @spam_quarantine_to_maps = (
>    read_hash("/spam-bins"),
>    $spam_quarantine_to,
> );


> Content of the spam-bins file (all spam on example.com should be forwarded
> to [EMAIL PROTECTED]):

> @example.com   [EMAIL PROTECTED]

> ??

> Thanks,
> Nicklas B

This will function with one minor change. Do not preface domains by
themselves with the @ mark.

@example.com   [EMAIL PROTECTED]
should be:
example.com   [EMAIL PROTECTED]
or, to include subdomains of example.com:
.example.com   [EMAIL PROTECTED]

When domains are listed in this manner, it appears that if a message
is addressed to recipients in multiple domains (that you accept mail
for), copies of the quarantined message will be delivered as appropriate.
It doesn't hurt to test this out for yourself.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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