OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
One hour mail queue question

From: Michael Weber (mweberalliednational.com)
Date: Mon May 03 2004 - 09:35:02 CDT


Good morning!

I want to set up a special email box that sends test messages only. It
will not be used for general email at all.

What I need is to have this box send a test message every 15 minutes
(done with a perl script and cron) but if the mail is undeliverable for
an hour, either bounce it to the sender or simply bit-bucket it.

Here's what I think will work:

<snip from postfix 2.0 main.cf>

bounce_queue_lifetime 1h
maximal_backoff_time 15m
maximal_queue_lifetime 1h

What I think this does is to retry the message every 15 minutes, for an
hour then bounce it back to the sender (which is a local user).

Did I do it right?

Thanx!