recent onset of "zero result in delay template conversion of parameter" warnings in postfix 3.6 logs?

2021-05-20 Thread PGNet Dev
running postconf mail_version mail_version = 3.6.0 I've recently started seeing in logs postfix/bounce[10732]: warning: [built-in]: zero result in delay template conversion of parameter "maximal_queue_lifetime_days" postfix/bounce[10732]: warning: please

Re: recent onset of "zero result in delay template conversion of parameter" warnings in postfix 3.6 logs?

2021-05-20 Thread Wietse Venema
PGNet Dev: > running > > postconf mail_version > mail_version = 3.6.0 > > I've recently started seeing in logs > > postfix/bounce[10732]: warning: [built-in]: zero result in delay > template conversion of parameter "maximal_queue_lifetime_days" > postfix/bounce[1

Re: recent onset of "zero result in delay template conversion of parameter" warnings in postfix 3.6 logs?

2021-05-20 Thread PGNet Dev
On 5/20/21 9:20 AM, Wietse Venema wrote: PGNet Dev: running postconf mail_version mail_version = 3.6.0 I've recently started seeing in logs postfix/bounce[10732]: warning: [built-in]: zero result in delay template conversion of parameter "maximal_queue_lifetim

Re: Submission behind haproxy, TLS issues

2021-05-20 Thread postfix
For archival purposes to anyone reading this in the future. The answer i was looking for, and solution i ended up using to this problem: 1) On the haproxy.example.com server, i used certbot to issue a cert to that domain. 2) I installed a SSH key on haproxy.example.com and copied to authoriz

Question about retaining mail authenticated user

2021-05-20 Thread Egoitz Aurrekoetxea
Good afternoon, I have a Postfix machine that accepts outgoing mail when MUA has authenticated. Later I send that email to Amavis in order to get tagged or signed (with DKIM and Altermime). When that mails come back from Amavis (in the Postfix smtpd instance where amavis processed mail is delivere

Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread basinilya
Hi List! I want to use native SMTP host lookup instead of DNS, but only for *some* domains. >From `man 5 transport`: > and disable MX (mail ex‐changer) DNS lookups with [host] or [host]:port. I tried it, but according to postfix logs, it's still resolving it using DNS. If I replace the name wi

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread Noel Jones
On 5/20/2021 12:38 PM, basini...@gmail.com wrote: Hi List! I want to use native SMTP host lookup instead of DNS, but only for *some* domains. From `man 5 transport`: and disable MX (mail ex‐changer) DNS lookups with [host] or [host]:port. I tried it, but according to postfix logs, it's s

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread Wietse Venema
basini...@gmail.com: > `/etc/postfix/transport` > .lan smtp:[somehost] This disables MX lookups before A lookups. This DOES NOT disable DNS lookups. > May 20 20:27:25 dexp.lan postfix/smtp[226399]: 4E537CEFD1: > to=, relay=none, delay=0.4, delays=0.14/0.02/0.23/0, > dsn=5.4.4, status=bo

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread Viktor Dukhovni
On Thu, May 20, 2021 at 12:52:38PM -0500, Noel Jones wrote: > As the docs say, the brackets disable MX lookups, not DNS lookups. > > Sounds like you should read > http://www.postfix.org/postconf.5.html#smtp_host_lookup > and probably use "dns, native" Thanks Noel, that's the right answer. I ju

Re: Question about retaining mail authenticated user

2021-05-20 Thread Wietse Venema
Egoitz Aurrekoetxea: > Good afternoon, > > I have a Postfix machine that accepts outgoing mail when MUA has > authenticated. Later I send that email to Amavis in order to get tagged or > signed (with DKIM and Altermime). When that mails come back from Amavis > (in the Postfix smtpd instance where

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread basinilya
Thanks Viktor. So to add this "custom smtp transport" do I need to add a section in main.cf just like "smtp unix", but with a custom "service type" column and the additional option `-o smtp_host_lookup=native`? On 20.05.2021 21:01, Viktor Dukhovni wrote: > On Thu, May 20, 2021 at 12:52:38PM -05

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread Matus UHLAR - fantomas
On 20.05.21 21:18, basini...@gmail.com wrote: So to add this "custom smtp transport" do I need to add a section in main.cf just like "smtp unix", but with a custom "service type" column and the additional option `-o smtp_host_lookup=native`? you can as well put IP address into the brackets. --

Re: Can't disable mx lookup with square brackets in transport map

2021-05-20 Thread Viktor Dukhovni
On Thu, May 20, 2021 at 09:18:56PM +0300, basini...@gmail.com wrote: > Thanks Viktor. > > So to add this "custom smtp transport" do I need to add a section in > main.cf just like "smtp unix", but with a custom "service type" column > and the additional option `-o smtp_host_lookup=native`? That'd

Re: Question about retaining mail authenticated user

2021-05-20 Thread ego...@ramattack.net
Hi Wietse!! Thanks a lot for your time. I answer below :) I’m the same person behind ego...@gmail.com. > El 20 may 2021, a las 20:02, Wietse Venema escribió: > > > > Egoitz Aurrekoetxea: >> Good afternoon, >> >> I have a Postfix machine that accepts outgoing mail when MUA has >> authentic