OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
need to reject legitimate mail with various SMTP error codes

From: N.J. Thomas (njtayvali.org)
Date: Mon Oct 03 2005 - 15:30:33 CDT


I'm testing a program that sends mail on our internal LAN. I'd like to
set up a dummy MTA that will reject legitimate mail with various SMTP
error codes of my own choosing -- to see how our program will respond.

Is the correct way to do this with Postfix in auth.cf with the
smtpd_client_restrictions parameter and reject/reject_code restrictions?

Short of hacking up the source code, what is the best way to do this?

thanks,
Thomas

--
N.J. Thomas
njtayvali.org
Etiamsi occiderit me, in ipso sperabo