OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Newbie: how to selectively bounce mail based at RCPT TO

From: /dev/rob0 (rob0gmx.co.uk)
Date: Sat Nov 11 2006 - 11:22:38 CST


On Saturday 11 November 2006 09:43, netty 2006 wrote:
> Can someone guide me how to run a command at RCPT TO during SMTP
> session and selectively bounce mail based on its output( that will be

First, dear newbie, please do not post in HTML to mailing lists. Thank
you.

Second, you must provide a better description of what you want to do,
and why. Your question seems to presume you already have the answer
("run a program at RCPT TO"), but it's probable that there is a much
simpler answer in native Postfix features.

> like 88,99,etc). Please consider I'm no programmer (though i can do a
> little bit of it) and thus any simpler suggestions will help more :)

Again, not knowing your goal precludes offering such suggestions. But
visit your Postfix documentation in $html_directory/index.html and look
around a bit. Perhaps either/both SMTPD_ACCESS_README.html or
SMTPD_POLICY_README.html have what you need.
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header