OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 2.3.x dsn support and delay_warning_time

From: Rene van Hoek (reneactive8.nl)
Date: Tue Oct 17 2006 - 07:47:31 CDT


Victor Duchovni wrote:
> On Tue, Oct 17, 2006 at 12:15:31PM +0200, Rene van Hoek wrote:
>
>> What happens in the above case if 'delay_warnning_time' is zero and the
>> sender requested an delay notice and the deliveriy is delayed? Will Postfix
>> then send not a delay notice, since the 'delay_warning_time' is zero?
>>
>
> When delay_warning_time is zero, mail is never "delayed". The rest
> follows...
>
Oke, that is also the behaviour I was expecting.

So, what will happen in this scenario:

1)
MAIL FROM: <joeexample.com> NOTIFY=FAILURE
delay_warning_time = 4;
message is delayed for more then four hours.

The behavior I expect is that Postfix will not sent an delay message because
'NOTIFY=FAILURE' is specified (sender did not request an delay notification).

2)
MAIL FROM: <joeexample.com> NOTIFY=FAILURE,DELAY
delay_warning_time = 4;
message is delayed for more then four hours.

The behavior I expect is that Postfix will sent an delay message because
'NOTIFY=DELAY' is specified (sender did request an delay notification).

3)
MAIL FROM: <joeexample.com>
delay_warning_time = 4;
message is delayed for more then four hours.

The behavior I expect is that Postfix will sent an delay message because
delay_warning_time = 4;

It is my expectation that Postfix will behave like this, but I would like to
know sure. The documentation
http://www.postfix.org/postconf.5.html#delay_warning_time is not very clear
(yet) in respect with the dsn behaviour.

met vriendelijke groet,

Rene van Hoek