Thanks! It seems to work just fine. Is it possible to tag the messages beeing forwarded to the spam-bin as spam?
Nicklas B > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gary V > Sent: den 18 oktober 2005 00:56 > To: [email protected] > Subject: Re: [AMaViS-user] spam_quarantine_maps and read_hash? > > 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/ > ------------------------------------------------------- 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/
