Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Bill Cole
On 11 Mar 2020, at 10:42, Dominic Raferd wrote: Has anyone successfully set a delay_warning_time of less than 1 hour (or, better, less than 30 minutes) without creating a bespoke bounce template? If by "successfully" you mean that the value is honored to the degree that the queue run

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Jivan Pal
> the following names may appear in bounce templates. They have no meaning anywhere else in Postfix. Apologies, I didn't realise that Dominic was asking about doing so specifically *without* using a bounce template. -- Jivan

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Wietse Venema
As extensively documented, the following names may appear in bounce templates. > - delay_warning_time_seconds > - delay_warning_time_minutes > - delay_warning_time_hours > - delay_warning_time_days > - delay_warning_time_weeks They have no meaning anywhere else in Postfix. Wietse

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Jivan Pal
@Dominic: Have you not tried `delay_warning_time_minutes = 15` as the quoted documentation specifies? >delay_warning_time_suffix > Expands into the value of the > delay_warning_time parameter, expressed in the > time unit specified by suffix,

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Dominic Raferd
On Wed, 11 Mar 2020 at 16:38, Wietse Venema wrote: > Dominic Raferd: > > Has anyone successfully set a delay_warning_time of less than 1 hour (or, > > better, less than 30 minutes) without creating a bespoke bounce template? > > Unlikely, because that would tell the sender that their message >

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Wietse Venema
Dominic Raferd: > Has anyone successfully set a delay_warning_time of less than 1 hour (or, > better, less than 30 minutes) without creating a bespoke bounce template? Unlikely, because that would tell the sender that their message could not be delivered in 0 hours (and using floating point, 0.12

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Viktor Dukhovni
On Wed, Mar 11, 2020 at 02:42:20PM +, Dominic Raferd wrote: > > > >delay_warning_time_suffix > > > > Expands into the value of the > > > > delay_warning_time parameter, expressed in the > > > > time unit specified by suffix, which is one

Re: Client cert based relaying setup not working

2020-03-11 Thread Adam Cecile
On 3/11/20 3:59 PM, Viktor Dukhovni wrote: On Wed, Mar 11, 2020 at 10:46:03AM -0400, Wietse Venema wrote: I think Postfix doc could be improved, mentioning "smtpd_tls_ask_ccert" here http://www.postfix.org/postconf.5.html#permit_tls_clientcerts would have been helpful. Feel free to post a

Re: Client cert based relaying setup not working

2020-03-11 Thread Viktor Dukhovni
On Wed, Mar 11, 2020 at 10:46:03AM -0400, Wietse Venema wrote: > > > I think Postfix doc could be improved, mentioning "smtpd_tls_ask_ccert" > > > here http://www.postfix.org/postconf.5.html#permit_tls_clientcerts would > > > have been helpful. > > > > Feel free to post a patch. The relevant

Re: Client cert based relaying setup not working

2020-03-11 Thread Wietse Venema
Viktor Dukhovni: > > I think Postfix doc could be improved, mentioning "smtpd_tls_ask_ccert" > > here http://www.postfix.org/postconf.5.html#permit_tls_clientcerts would > > have been helpful. > > Feel free to post a patch. The relevant source file is > "proto/postconf.proto", from which both

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Dominic Raferd
On Wed, 11 Mar 2020 at 14:08, Wietse Venema wrote: > Dominic Raferd: > > > man 5 bounce > > > > > >delay_warning_time_suffix > > > Expands into the value of the delay_warning_time > > > parameter, > > > expressed in the time unit specified by suffix,

Re: Client cert based relaying setup not working

2020-03-11 Thread Viktor Dukhovni
On Wed, Mar 11, 2020 at 10:49:32AM +0100, Adam Cecile wrote: > On 3/10/20 10:33 PM, Viktor Dukhovni wrote: > > On Tue, Mar 10, 2020 at 03:33:44PM +0100, Adam Cecile wrote: > > > >> submission inet  n   -   y   -   -   smtpd > >>     -o syslog_name=postfix/submission > >>   

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Wietse Venema
Dominic Raferd: > > man 5 bounce > > > >delay_warning_time_suffix > > Expands into the value of the delay_warning_time > > parameter, > > expressed in the time unit specified by suffix, which is > > one of > > seconds, minutes, hours, days, or

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Dominic Raferd
On Wed, 11 Mar 2020 at 11:15, Wietse Venema wrote: > Dominic Raferd: > > On Wed, 11 Mar 2020 at 11:06, Wietse Venema > wrote: > > > > > Dominic Raferd: > > > > Using postfix 3.3.0 I recently set, in main.cf, 'delay_warning_time > = > > > 15m'. > > > > Now when an outgoing message is delayed I

Re: Setting short minutes in delay_warning_time triggers warningu

2020-03-11 Thread Wietse Venema
Dominic Raferd: > On Wed, 11 Mar 2020 at 11:06, Wietse Venema wrote: > > > Dominic Raferd: > > > Using postfix 3.3.0 I recently set, in main.cf, 'delay_warning_time = > > 15m'. > > > Now when an outgoing message is delayed I see these in the log: > > > > > > ... postfix/bounce[12303]: warning:

Re: Setting short minutes in delay_warning_time triggers warning

2020-03-11 Thread Dominic Raferd
On Wed, 11 Mar 2020 at 11:06, Wietse Venema wrote: > Dominic Raferd: > > Using postfix 3.3.0 I recently set, in main.cf, 'delay_warning_time = > 15m'. > > Now when an outgoing message is delayed I see these in the log: > > > > ... postfix/bounce[12303]: warning: [built-in]: zero result in delay

Re: Setting short minutes in delay_warning_time triggers warning

2020-03-11 Thread Wietse Venema
Dominic Raferd: > Using postfix 3.3.0 I recently set, in main.cf, 'delay_warning_time = 15m'. > Now when an outgoing message is delayed I see these in the log: > > ... postfix/bounce[12303]: warning: [built-in]: zero result in delay > template conversion of parameter "delay_warning_time_hours" >

Re: Client cert based relaying setup not working

2020-03-11 Thread Adam Cecile
On 3/10/20 10:33 PM, Viktor Dukhovni wrote: On Tue, Mar 10, 2020 at 03:33:44PM +0100, Adam Cecile wrote: submission inet  n   -   y   -   -   smtpd     -o syslog_name=postfix/submission     -o smtpd_tls_security_level=encrypt     -o smtpd_sasl_auth_enable=yes

Re: Warning about non-existent MX for destination domain

2020-03-11 Thread Matus UHLAR - fantomas
On 10/03/2020 19:49, Dominic Raferd wrote: My responses seem like OP's: # host -t mx imake.ro 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: Host imake.ro not found: 2(SERVFAIL) # host -t mx sometotallyINVENTEDdomainTHATdoesNOTexist.com 8.8.8.8 Using domain server:

Setting short minutes in delay_warning_time triggers warning

2020-03-11 Thread Dominic Raferd
Using postfix 3.3.0 I recently set, in main.cf, 'delay_warning_time = 15m'. Now when an outgoing message is delayed I see these in the log: ... postfix/bounce[12303]: warning: [built-in]: zero result in delay template conversion of parameter "delay_warning_time_hours" ... postfix/bounce[12303]: