Prevent email being sent when a ticket can't be created via email

Is there a way to stop emails being sent when a ticket can’t be created
via email? We’re getting ready to launch the site, and we are not
permitting users to create tickets via email. they can reply/comment
once a ticket is created. The problem is, if any email hits a queue
address, a rejection message gets send out stating “you don’t have
permission to create a ticket”.

Stephen Cena
QVII
MIS/IT Dept
850 Hudson Ave.
Rochester, NY. 14620
585-544-0450 x300
sjc@qvii.com
“Thank you for helping us help you help us all.”
–For email related issues, please contact postmaster@qvii.com

Resolved here with postfix “workaround”.

Add to main.cf
header_checks = regexp:/etc/postfix/header_checks

Create header_checks with
/^Subject: Ticket creation failed/ REJECTDe: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Em nome de Cena, Stephen (ext. 300)
Enviada em: terça-feira, 4 de junho de 2013 11:45
Para: rt-users@lists.bestpractical.com
Assunto: [rt-users] Prevent email being sent when a ticket can’t be created via email

Is there a way to stop emails being sent when a ticket can’t be created via email? We’re getting ready to launch the site, and we are not permitting users to create tickets via email. they can reply/comment once a ticket is created. The problem is, if any email hits a queue address, a rejection message gets send out stating “you don’t have permission to create a ticket”.

Stephen Cena
QVII
MIS/IT Dept
850 Hudson Ave.
Rochester, NY. 14620
585-544-0450 x300
sjc@qvii.commailto:sjc@qvii.com
“Thank you for helping us help you help us all.”
–For email related issues, please contact postmaster@qvii.commailto:postmaster@qvii.com