Milter protocol deleting and adding the same recipient

2020-06-30 Thread Mehmet Avcioglu
Hello, It looks like there is difference in postfix implementation of milter protocol regarding adding and deleting recipients compared to sendmail. The following results in one final recipient on sendmail but no recipients on postfix while still logging nrcpt=2 del_rcpt "" add_rcpt "al...@d

Messages in active queue seems to stay long before getting delivered

2020-06-30 Thread Roberto Fulgado
Hi All, Our mail server seems to hold messages in the active queue longer than it should. Even the ones that are inter-office messages (local mail). I can flush the queue no problem. But if I wait for the mail server to clear the queue on it's own, it'll take around 5 mins. I have another mail

Re: Messages in active queue seems to stay long before getting delivered

2020-06-30 Thread Wietse Venema
Roberto Fulgado: > Hi All, > > Our mail server seems to hold messages in the active queue longer than > it should. Even the ones that are > inter-office messages (local mail). I can flush the queue no problem. > But if I wait for the mail server > to clear the queue on it's own, it'll take aroun

Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Istvan Prosinger
Hi, I hope this letter finds you well, I have Postfix behind NAT, and added one failover IP to the main router. I wanted to "get by cheaply" by just doing something like iptbales -t nat -I POSTROUTING -p tcp --dport 25 -j DNAT --to on the firewall machine. So, all well, the only problem is t

Re: Milter protocol deleting and adding the same recipient

2020-06-30 Thread Wietse Venema
Mehmet Avcioglu: > Hello, > > It looks like there is difference in postfix implementation of milter > protocol regarding adding and deleting recipients compared to sendmail. > > The following results in one final recipient on sendmail but no recipients > on postfix while still logging nrcpt=2 >

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Wietse Venema
Istvan Prosinger: > Hi, I hope this letter finds you well, > > I have Postfix behind NAT, and added one failover IP to the main router. > > I wanted to "get by cheaply" by just doing something like > > iptbales -t nat -I POSTROUTING -p tcp --dport 25 -j DNAT --to > > on the firewall machine. >

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Istvan Prosinger
On 6/30/20 9:49 PM, Wietse Venema wrote: Istvan Prosinger: Hi, I hope this letter finds you well, I have Postfix behind NAT, and added one failover IP to the main router. I wanted to "get by cheaply" by just doing something like iptbales -t nat -I POSTROUTING -p tcp --dport 25 -j DNAT --to

Re: Messages in active queue seems to stay long before getting delivered

2020-06-30 Thread Roberto Fulgado
Thank you Wietse for taking your time to reply to my email. I have ntp running on the mail server so it can't be clock drift. Connecting PCs and servers to the mail server also using ntp (linux) and internet time (windows). I follow your suggestion,  cleanup -v in master.cf. I see there are no

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Wietse Venema
Istvan Prosinger: > > On 6/30/20 9:49 PM, Wietse Venema wrote: > > Istvan Prosinger: > >> Hi, I hope this letter finds you well, > >> > >> I have Postfix behind NAT, and added one failover IP to the main router. > >> > >> I wanted to "get by cheaply" by just doing something like > >> > >> iptbales

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Istvan Prosinger
On 6/30/20 10:34 PM, Wietse Venema wrote: Istvan Prosinger: On 6/30/20 9:49 PM, Wietse Venema wrote: Istvan Prosinger: Hi, I hope this letter finds you well, I have Postfix behind NAT, and added one failover IP to the main router. I wanted to "get by cheaply" by just doing something like

Log entry timestamp

2020-06-30 Thread Antonio Leding
Hello Postfix community, Does anyone know if it is possible to configure, within Postfix, the timestamp used for log messages? I know I can setup a template in rsyslog but would rather do this in Postfix if possible. Thanks in advance... — Tony —

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Wietse Venema
Istvan Prosinger: > > > On 6/30/20 10:34 PM, Wietse Venema wrote: > > Istvan Prosinger: > >> > >> On 6/30/20 9:49 PM, Wietse Venema wrote: > >>> Istvan Prosinger: > Hi, I hope this letter finds you well, > > I have Postfix behind NAT, and added one failover IP to the main router. >

Re: Log entry timestamp

2020-06-30 Thread Wietse Venema
Antonio Leding: > Hello Postfix community, > > Does anyone know if it is possible to configure, within Postfix, > the timestamp used for log messages? > > I know I can setup a template in rsyslog but would rather do this > in Postfix if possible. Postfix uses the syslog(3) API which has no date f

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Bill Cole
On 30 Jun 2020, at 15:40, Istvan Prosinger wrote: Hi, I hope this letter finds you well, I have Postfix behind NAT, and added one failover IP to the main router. I wanted to "get by cheaply" by just doing something like iptbales -t nat -I POSTROUTING -p tcp --dport 25 -j DNAT --to ip> on

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Curtis Maurand
It's part of the config in main.cf You can specify "myhostname" myhostname = host.domain.tld Cheers, Curtis On 6/30/20 4:55 PM, Istvan Prosinger wrote: On 6/30/20 10:34 PM, Wietse Venema wrote: Istvan Prosinger: On 6/30/20 9:49 PM, Wietse Venema wrote: Istvan Prosinger: Hi, I hope this

Re: Postfix behind NAT -> failover IP -> wrong HELO

2020-06-30 Thread Curtis Maurand
On 6/30/20 6:40 PM, Wietse Venema wrote: Istvan Prosinger: On 6/30/20 10:34 PM, Wietse Venema wrote: Istvan Prosinger: On 6/30/20 9:49 PM, Wietse Venema wrote: Istvan Prosinger: Hi, I hope this letter finds you well, I have Postfix behind NAT, and added one failover IP to the main route