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

Andreas Putzo putzoa at gmx.de
Tue Sep 19 06:16:29 EDT 2006


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
    
       




More information about the rt-users mailing list