OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Receive message when a message is rejected?

From: Alex van den Bogaerdt (alexergens.op.het.net)
Date: Tue Mar 09 2004 - 19:08:31 CST


On Wed, Mar 10, 2004 at 01:56:43AM +0100, Javier Marcet wrote:

> what's the easiest way to make postfix send me a message whenever an
> incoming e-mail is rejected?

Scan the logfile, react on ": reject: ".

Basically "tail -f", and "grep". Have a look at the following program
for ideas on how to monitor the log:

http://people.ee.ethz.ch/~dws/software/mailgraph

HTH
Alex
--
begin sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags