[rt-users] escape certain mail-adresses vom autoreply.
Tobias Brox
tobiasb at tobiasb.funcom.com
Wed May 3 07:06:35 EDT 2000
> how can i make rt not to send autoreplys to predefind mailadresses..
> if that is not possible, is there a quick workaround for this?
Only thing is to hack it, I'd say. Take a peek at
lib/rt/database/manipulate.pm. Search for those lines:
if ( $queues{$in_queue_id}{m_user_create}) {
&rt::template_mail('autoreply',$in_queue_id,"$in_requestors","","","$ser
ial_num","$transaction_num","$in_subject","_rt_system",'');
}
...and modify them, i.e.:
if ( $queues{$in_queue_id}{m_user_create}
# Never send autoreplies to some at email.com:
&& $in_requestors ne "some\@email.com"
# Don't send autoreplies to anybody under other.com:
&& $in_requestors !~ /other.com$/) {
(...)
More information about the rt-users
mailing list