[rt-users] Can I restrict autoreplies to the local domain?

Chuck Boeheim boeheim at slac.stanford.edu
Tue Sep 19 12:06:07 EDT 2006


We use a second queue for this purpose.  In our procmail script that
feeds RT, we detect email that shouldn't get an autoreply and
feed it to the alternate queue.  That queue has an "On Create"
script that simply changes the queue to the main support queue.
There is an autoreply action only on the main support queue, not
on the secondary queue.  As well, you can have different, or no,
watchers on the secondary queue if you are also trying to reduce
possibly noise email to your watchers.

Chuck Boeheim
boeheim at slac.stanford.edu



On Sep 19, 2006, at 3:16 AM, Andreas Putzo wrote:

> Hi,
>
> On Sep 19, Chris Wenn wrote:
>>
>> Has anyone got a way of restricting RT's autoreply function to a  
>> single domain?
>>
>> I don't want users outside rbg.vic.gov.au to receive communication  
>> from my RT system.
>>
>> It's v3.4.4, running on Ubuntu Dapper 6.06, with postfix, apache2  
>> and mysql as the backend.
>>
>> Chris
>
> If you have a little knowledge of perl you may take a look at
> lib/RT/Action/SendEmail.pm. Should not be too hard to match $TO
> against your domain name and either rewrite the address or discard it.
> This would be a nice feature IMO.
>
> Perhaps using postfix's canonical maps may work, too. But i am not
> sure whether it is possible to rewrite TO only if From matches your RT
> email address.
>
>
> -- 
> regards,
> Andreas Putzo
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com




More information about the rt-users mailing list