How to reject email outside of a certain domain?

We have an internal-only RT setup - not customer facing and would like
to be able to block emailed tickets from outside of a specific domain -
I can’t see any obvious way to get this from the RT_Config.pm file -
someone must have already done this? Or do you just config this in
sendmail?

PK

Philip Kime
NOPS Systems Architect
310 401 0407

We have an internal-only RT setup - not customer facing and would like
to be able to block emailed tickets from outside of a specific domain -
I can’t see any obvious way to get this from the RT_Config.pm file -
someone must have already done this? Or do you just config this in
sendmail?

Correct - just configure this in your mail server.

You can probably override LoadOrCreateByEmail to check the
email address.On Mon, Oct 30, 2006 at 01:14:06PM -0800, Philip Kime wrote:

We have an internal-only RT setup - not customer facing and would like
to be able to block emailed tickets from outside of a specific domain -
I can’t see any obvious way to get this from the RT_Config.pm file -
someone must have already done this? Or do you just config this in
sendmail?

PK


Philip Kime
NOPS Systems Architect
310 401 0407


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

You can probably override LoadOrCreateByEmail to check the email
address.

That’s useful for another problem I have - wanting to reject adding
arbitrary watcher emails, thanks. It seems that rt-mailgate already has
a mechanism for doing things like this. I altered

/local/lib/RT/Interface/Email/Auth/MailFrom.pm

to do a check on the email address and it works fine.

PK