[rt-users] How to use the filtering features of rt-mailgate...
Bob Goldstein
bobg at uic.edu
Mon Sep 27 10:03:12 EDT 2004
>
>Does anyone use the @RT:MailPlugins features of rt-mailgate? I'd like to =
>use Filter::SpamAssassin on *some* of our queues (not the abuse@ queue, =
>mainly) - is this even a possibility? I'm using RT 3.0.10, currently.
>
>Thanks in advance for any pointers,
>
I had a similar need. I run multiple instances of RT,
and I wanted potentially different mail filtering rules
based on both the instance and queue.
So in the script that invokes rt-mailgate, I make a call
to procmail. The procmailrc then uses INCLUDE to load
an instance-specific file (if exists) and a queue-specific
file (if exists). If the incoming note makes its way
through this thicket, it then gets piped into rt-mailgate.
The original procmailrc is the same for all addresses,
we just pass the instance and queue names on the environment,
from the procmail command.
bobg
More information about the rt-users
mailing list