Cookie cutter scrip to suppress auto-reply for one address?

I’m using RT3.4.5 (upgrading soon!), and have these aliases for one of
my queues:

support: “|/usr/local/rt3/bin/rt-mailgate --queue support --action
correspond --url http://rt.myserver.com

support-comment: “|/usr/local/rt3/bin/rt-mailgate --queue support
–action comment --url http://rt.myserver.com

I now want to setup this alias:

support-noreply: support

so that email sent to support-noreply creates a ticket, but doesn’t
send the requestor an auto-reply.

Is there a cookie cutter scrip that will do this? Do I need to tweak
the global autoreply scrip? Can I use squelchEmail() cleverly here? Is
there an undocumented option to rt-mailgate that might help?

I did notice that “support-noreply@myserver.com” ends up as a cc on
the ticket (probably because RT doesn’t recognize it as the same
address as “support@myserver.com”) – can I use this somehow? (“if
($self->TicketObj->??? =~/noreply/i)” or something?).

We’re just a Bunch Of Regular Guys, a collective group that’s trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

Kelly,

In our organization, an alias corresponds to a queue. If your setup is 

the same and don’t want an alias to send out an autoreply for tickets
when they are created, I would disable that scrip in that queue.

Kenn
LBNLOn 3/1/2008 1:12 PM, Kelly Jones wrote:

I’m using RT3.4.5 (upgrading soon!), and have these aliases for one of
my queues:

support: “|/usr/local/rt3/bin/rt-mailgate --queue support --action
correspond --url http://rt.myserver.com

support-comment: “|/usr/local/rt3/bin/rt-mailgate --queue support
–action comment --url http://rt.myserver.com

I now want to setup this alias:

support-noreply: support

so that email sent to support-noreply creates a ticket, but doesn’t
send the requestor an auto-reply.

Is there a cookie cutter scrip that will do this? Do I need to tweak
the global autoreply scrip? Can I use squelchEmail() cleverly here? Is
there an undocumented option to rt-mailgate that might help?

I did notice that “support-noreply@myserver.com” ends up as a cc on
the ticket (probably because RT doesn’t recognize it as the same
address as “support@myserver.com”) – can I use this somehow? (“if
($self->TicketObj->??? =~/noreply/i)” or something?).


We’re just a Bunch Of Regular Guys, a collective group that’s trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.


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