AutoReply (without creating ticket)

I am approaching stopping spam from a different angle. Basically I have
setup my RT install so that you have an RT user to be able to submit a
ticket.

For customers who dont have a username and send a support request via
email, I want to autoreply with a link that says some thing like

"Could not load valid user!

go to http://blah.foo.com and enter your customer ID to create your
support account"

Right now when I send email to from a non-valid user i get a response
“Could not load a valid user” … im trying to figure out where in the
code that is, b/c it doesnt seem to be in a template anywhere…

I also dont think i can create a template/scrip for this b/c a ticket is
never acutally being created.

Can some one tell me where/how i can accomplish this?

Thanks

Eric Tamme wrote:

I am approaching stopping spam from a different angle. Basically I have
setup my RT install so that you have an RT user to be able to submit a
ticket.

For customers who dont have a username and send a support request via
email, I want to autoreply with a link that says some thing like

"Could not load valid user!

go to http://blah.foo.com and enter your customer ID to create your
support account"

Right now when I send email to from a non-valid user i get a response
“Could not load a valid user” … im trying to figure out where in the
code that is, b/c it doesnt seem to be in a template anywhere…

I also dont think i can create a template/scrip for this b/c a ticket is
never acutally being created.

Can some one tell me where/how i can accomplish this?

Thanks

I found it …

/opt/rt3/lib/RT/Interface/Email.pm

Not in a template. It’s in the code, lib/RT/Interface/Email.pm. You
would have to override the Gateway and _NoAuthorizedUserFound routines
to customize the email.

It’s not in a tempalte because this error does not get to the point
where a template would be applied.

-lcm

Quoting Eric Tamme etamme@gentel.net:

I am approaching stopping spam from a different angle. Basically I have
setup my RT install so that you have an RT user to be able to submit a
ticket.

For customers who dont have a username and send a support request via
email, I want to autoreply with a link that says some thing like

"Could not load valid user!

go to http://blah.foo.com and enter your customer ID to create your
support account"

Right now when I send email to from a non-valid user i get a response
“Could not load a valid user” … im trying to figure out where in the
code that is, b/c it doesnt seem to be in a template anywhere…

I also dont think i can create a template/scrip for this b/c a ticket is
never acutally being created.

Can some one tell me where/how i can accomplish this?

Thanks


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

Lawrence McAbee
X-PGP-Fingerprint: 1605 D207 E39D 4D7E 79C4 D65D 3EBC 365E BFA8 CC17