Re: Local relay delivery delays on particular mails

2022-06-08 Thread Viktor Dukhovni
On Wed, Jun 08, 2022 at 04:55:50PM -0400, Viktor Dukhovni wrote: > In particular, was the delay during network transmission, or in > content processing after "."? Perhaps you can log a "WARN" or "INFO" > action in "end_of_data" restrictiosn, and see when that happens > (before milters run, don't

Re: fail2ban filter for spurious connections?

2022-06-08 Thread Bill Cole
On 2022-06-08 at 19:58:23 UTC-0400 (Wed, 8 Jun 2022 16:58:23 -0700) Jim Garrison is rumored to have said: This is a question about Postfix, in relation to fail2ban. Having recently upgraded to the current Postfix from an ancient version, I notice the "disconnect from" log entries now include

fail2ban filter for spurious connections?

2022-06-08 Thread Jim Garrison
This is a question about Postfix, in relation to fail2ban. Having recently upgraded to the current Postfix from an ancient version, I notice the "disconnect from" log entries now include a summary of commands received and successfully completed. I am also seeing lots of password probe attempts t

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Wietse Venema
Nikolaos Milas: > On 8/6/2022 5:44 ?.?., Wietse Venema wrote: > > Possible causes (there may be more): > > > > - There is a problem with the network connection between mailgw1 > > and mailgw1 that causes some connections to have excessive retries. > > This could be a data-dependent problem. About 2

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Viktor Dukhovni
On Wed, Jun 08, 2022 at 06:58:40PM +0300, Nikolaos Milas wrote: > We are not using any milters except the one you mentioned, for DKIM signing. The milter may be performing DKIM signature checks on inbound mail, signing would be only for outbound. DKIM signature checks may involve DNS lookups, wh

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Nikolaos Milas
On 8/6/2022 5:44 μ.μ., Wietse Venema wrote: Possible causes (there may be more): - There is a problem with the network connection between mailgw1 and mailgw1 that causes some connections to have excessive retries. This could be a data-dependent problem. About 20 years ago, someone fixed a Postfi

Re: Notify user in some way that the mail being received is on old domain

2022-06-08 Thread Matus UHLAR - fantomas
Dnia 8.06.2022 o godz. 17:34:19 an...@ursc.gov.in pisze: > But, header_checks allows to check the receipent address, but we > can only rewrite the recipient address (which does'nt meet our > requirement). > > Is there any other simple way to achive the requirement. On Wed, Jun 08, 2022 at 02:5

Fwd: [ANN]ounce of S-postgray v0.7.0

2022-06-08 Thread Steffen Nurpmeso
Hello. I hope i do not bug people with forwarding this again. I had quite some downloads. Thank you! --- Forwarded from Steffen Nurpmeso --- [.] After hearing some voices from postfix-users i was doing an iteration of this one. (No real _need_ to update from v0.6.0.) I could imagine this to be

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Nikolaos Milas
On 8/6/2022 4:57 μ.μ., Viktor Dukhovni wrote: ... The delay was in processing the message body and/or alerting the queue manager to the arrival of the new message. Are you using milters that query remote oracles (perhaps DNS?) in order to determine whether the message content is acceptable? Pe

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Wietse Venema
Nikolaos Milas: mailgw1 receives mail from a content filter, and delivers it to vmail2. > Jun 08 11:48:33 mailgw1 postfix/smtpd[379124]: connect from > localhost[127.0.0.1] > Jun 08 11:48:33 mailgw1 postfix/smtpd[379124]: 4LJ18x2TQSzM58J: > client=localhost[127.0.0.1] > Jun 08 11:48:33 mailgw1

Re: Local relay delivery delays on particular mails

2022-06-08 Thread Viktor Dukhovni
On Wed, Jun 08, 2022 at 03:56:20PM +0300, Nikolaos Milas wrote: > Jun 08 11:48:29 mailgw1 postfix/smtpd[379212]: connect from > o5.email.wetransfer.com[167.89.35.243] > Jun 08 11:48:30 mailgw1 postfix/smtpd[379212]: Anonymous TLS connection > established from o5.email.wetransfer.com[167.89.3

Re: Notify user in some way that the mail being received is on old domain

2022-06-08 Thread Viktor Dukhovni
On Wed, Jun 08, 2022 at 02:50:35PM +0200, Jaroslaw Rafa wrote: > Dnia 8.06.2022 o godz. 17:34:19 an...@ursc.gov.in pisze: > > But, header_checks allows to check the receipent address, but we > > can only rewrite the recipient address (which does'nt meet our > > requirement). > > > > Is there any

Local relay delivery delays on particular mails

2022-06-08 Thread Nikolaos Milas
Hello, In our setup we have two mail gateway servers accepting incoming mail (mailgw1.noa.gr [primary] and mailgw3.noa.gr - both RockyLinux 8 on VPS with 2 CPUs, 6GB RAM), filtering mail (using postscreen, amavis, spamassassin, clamav) and forwarding to the internal mail server (vmail2.noa.gr

Re: Notify user in some way that the mail being received is on old domain

2022-06-08 Thread Jaroslaw Rafa
Dnia 8.06.2022 o godz. 17:34:19 an...@ursc.gov.in pisze: > But, header_checks allows to check the receipent address, but we > can only rewrite the recipient address (which does'nt meet our > requirement). > > Is there any other simple way to achive the requirement. The most "canonical" method to

Notify user in some way that the mail being received is on old domain

2022-06-08 Thread anant
Hello, I have the following requirement.  Intention is to notify the user that, the mail receied is on old domain (which may stopped in near future). Our domain got changed and but,  we still receive mails for old domain also.  The mails for both domains are being currently received on same Post