My Perl knowledge is very little indeed! But surely there's a better way than hacking core RT modules?
Chris Chris Wenn IT Support Officer Royal Botanic Gardens Royal Botanic Gardens Melbourne PH: (03) 9252 2354 FAX: (03) 9252 2442 EMAIL: [EMAIL PROTECTED] WEB: http://www.rbg.vic.gov.au >>> Andreas Putzo <[EMAIL PROTECTED]> 19/09/2006 8:16:29 pm >>> 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. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
