OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Never Generate Bounces...

From: /dev/rob0 (rob0gmx.co.uk)
Date: Tue Oct 11 2005 - 11:34:05 CDT


On Tuesday 2005-October-11 10:38, Michael Nguyen wrote:
> First, I want to thank everyone for the responses but from what I've
> read, it looks like I indeed searched the archives correctly. Is
> there no way to do this?

One thing you might try, I am not sure if it will do what you want: a
restriction class "check4bounce":
check4bounce = hash:$config_directory/bounce

$config_directory/bounce:
<> HOLD # or DISCARD when you are confident

And call that restriction class for appropriate domains. I did this to
prevent a misconfigured MTA which was relaying through me from sending
out bounces. But that only works because I accepted the bounce through
smtpd; I guess it would not work if you're generating the bounce.

Too bad there are no smtp_*_restrictions ...
--
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header