Can I abort a ticket creation?

Hi All,

I’d like to be able to stop a ticket from being created if a specific
Received: header is not present on the incoming mail.

In the normal course of action, an e-mail is received from our web server
and the ticket creation process begins (lots of scrips get run, e-mails
generated, etc.). Now that the system is working the way I want, I’d like
to tighten security a little by checking to make sure that the incoming
mail originated with our web server (apache@localhost). I know how to
check for this in the headers, but how do I stop the ticket creation
process once it’s begun?

Thanks,
Gene

Gene LeDuc, GSEC
Security Analyst
San Diego State University