Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Wietse Venema
Istvan Prosinger:
> Hello,
> 
> As in the subject.
> Something like, maximal_queue_lifetime = 0.5d

It accepts the values as documented (this may take some getting
used to). As Noel noted, times can be specified in seconds to weeks.


Wietse
> This was the first parameter that came to my mind, for example (don't 
> look for sense). I was wondering if Postfix would accept vaules like 
> this.
> 
> Regards,
> Istvan
> 


Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Istvan Prosinger

Thanks.
I was thinking in general.

On 01/29/2015 05:34 PM, Noel Jones wrote:

On 1/29/2015 10:24 AM, Istvan Prosinger wrote:

Hello,

As in the subject.
Something like, maximal_queue_lifetime = 0.5d

This was the first parameter that came to my mind, for example
(don't look for sense). I was wondering if Postfix would accept
vaules like this.

Regards,
Istvan



No.  Only whole numbers in the range given in the docs.  In the case
of maximal_queue_lifetime, the unit can also be specified with h m
or s, so 2.5 days could be specified as 60h

Is there some specific value you need to adjust, or you just fishing?



   -- Noel Jones



Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Noel Jones
On 1/29/2015 10:24 AM, Istvan Prosinger wrote:
> Hello,
> 
> As in the subject.
> Something like, maximal_queue_lifetime = 0.5d
> 
> This was the first parameter that came to my mind, for example
> (don't look for sense). I was wondering if Postfix would accept
> vaules like this.
> 
> Regards,
> Istvan


No.  Only whole numbers in the range given in the docs.  In the case
of maximal_queue_lifetime, the unit can also be specified with h m
or s, so 2.5 days could be specified as 60h

Is there some specific value you need to adjust, or you just fishing?



  -- Noel Jones


Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Istvan Prosinger

Hello,

As in the subject.
Something like, maximal_queue_lifetime = 0.5d

This was the first parameter that came to my mind, for example (don't 
look for sense). I was wondering if Postfix would accept vaules like 
this.


Regards,
Istvan