[pfx] Re: Queue IDs

2025-04-17 Thread Doug Hardie via Postfix-users
Why do all the bounces have the PPn at the end and none of the other emails have that (granted a small sample)? -- Doug > On Apr 17, 2025, at 01:25, Dmitriy Alekseev > wrote: > > Queue ID has nothing to do with indication of spam or not. It's unique > identifier inside postfix for specific e

[pfx] Re: per-domain header checks?

2025-04-17 Thread Alex via Postfix-users
Hi, > >> Example: > > >> > > >> /etc/postfix/main.cf: > > >> smtpd_milters = inet:127.0.0.1: > > >> > > >> /etc/mail/milter-regex.conf: > > >> reject > > >> header /From/ /^user@baddom\.tld$/i and envrcpt /@example\.com$/i > > > > > It looks like this is the place to start? > > htt

[pfx] Re: postscreen after greeting tests?

2025-04-17 Thread Greg Klanderman via Postfix-users
Hi Bill Thanks for your reply.. > On April 17, 2025 Bill Cole via Postfix-users > wrote: > On 2025-04-17 at 16:15:20 UTC-0400 (Thu, 17 Apr 2025 16:15:20 -0400) > Greg Klanderman via Postfix-users > is rumored to have said: >> Hi, >> >> Am I correct that the after greeting tests ar

[pfx] milter~regex homepage (was: Re: per-domain header checks?)

2025-04-17 Thread Ralph Seichter via Postfix-users
* Alex via Postfix-users: > It looks like this is the place to start? > https://github.com/milter-regex/milter-regex/tree/main I recommend starting at http://benzedrine.ch/milter-regex.html instead, because that's the official milter-regex homepage (plus, it shows the formatted manpage). -Ralph

[pfx] Re: postscreen after greeting tests?

2025-04-17 Thread Bill Cole via Postfix-users
On 2025-04-17 at 16:15:20 UTC-0400 (Thu, 17 Apr 2025 16:15:20 -0400) Greg Klanderman via Postfix-users is rumored to have said: Hi, Am I correct that the after greeting tests are turned off by default? Yes. You can trust the documentation. It may require careful reading and logical deductio

[pfx] postscreen after greeting tests?

2025-04-17 Thread Greg Klanderman via Postfix-users
Hi, Am I correct that the after greeting tests are turned off by default? I believe they are controlled with the variables postscreen_pipelining_enable, postscreen_non_smtp_command_enable, and postscreen_bare_newline_enable which are all set to no on my mail server, but I am seeing the logging

[pfx] Re: per-domain header checks?

2025-04-17 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > For multi-criteria rules use an smtpd_milters milter-regex plugin. > >> > >> Example: > >> > >> /etc/postfix/main.cf: > >> smtpd_milters = inet:127.0.0.1: > >> > >> /etc/mail/milter-regex.conf: > >> reject > >> header /From/ /^user@baddom\.tld$/i and envrcp

[pfx] Re: haproxy behind smtp

2025-04-17 Thread natan via Postfix-users
Hi Problem solved but thenx W dniu 17.04.2025 o 15:40, Wietse Venema via Postfix-users pisze: natan via Postfix-users: Hi I known that but I terminated tls via haproxy Then this is better discussed on an HaProxy forum. Wietse ___ Postfix-user

[pfx] Re: Queue IDs

2025-04-17 Thread Bill Cole via Postfix-users
On 2025-04-17 at 05:09:25 UTC-0400 (Thu, 17 Apr 2025 02:09:25 -0700) Doug Hardie via Postfix-users is rumored to have said: Long IDs and not a lot of spam. Normal is in the 10s daily. Occasionally it can get up to 60. Long IDs have a documented info-bearing format. See postconf(5). In sho

[pfx] Re: haproxy behind smtp

2025-04-17 Thread natan via Postfix-users
Hi I known that but I terminated tls via haproxy master.cf: #normal submission inet n   -   -    -    -    smtpd   -o syslog_name=postfix/submission #normal smtps inet  n   -   -   -   -   smtpd   -o syslog_name=postfix/smtps   -o smtpd_tls_wrappermode=yes #behi

[pfx] Re: haproxy behind smtp

2025-04-17 Thread natan via Postfix-users
W dniu 17.04.2025 o 14:11, natan via Postfix-users pisze: Hi For test I use setup like haproxy + postfix - works fine via 587 / 587+tls and I have problem with 465 frontend ft_submission   bind 0.0.0.0:587   mode tcp   timeout client 1m   log global   default_backend bk_submission backen

[pfx] Re: Headers Changing

2025-04-17 Thread Bill Cole via Postfix-users
On 2025-04-17 at 06:01:32 UTC-0400 (Thu, 17 Apr 2025 15:31:32 +0530) anant--- via Postfix-users is rumored to have said: Dear Team, Following is the requirement, If from address is a...@domain.com(our own domain) and if the subject starts with "[abcd] then from address to be changed to d...@

[pfx] Re: Queue IDs

2025-04-17 Thread Doug Hardie via Postfix-users
Long IDs and not a lot of spam. Normal is in the 10s daily. Occasionally it can get up to 60. -- Doug > On Apr 17, 2025, at 01:39, Dmitriy Alekseev > wrote: > > Are you using long queue ids? Or short? Short one has a big collision field > and basically mostly depends on time, so I can as

[pfx] Re: haproxy behind smtp

2025-04-17 Thread Wietse Venema via Postfix-users
natan via Postfix-users: > Hi > For test I use setup like haproxy + postfix - works fine via 587 / > 587+tls and I have problem with 465 The port 465 service MUST have "-o smtpd_tls_wrappermode=yes" in master.cf, and all connections to port 465 MUST be encrypted (without sending a STARTTLS comman

[pfx] haproxy behind smtp

2025-04-17 Thread natan via Postfix-users
Hi For test I use setup like haproxy + postfix - works fine via 587 / 587+tls and I have problem with 465 frontend ft_submission   bind 0.0.0.0:587   mode tcp   timeout client 1m   log global   default_backend bk_submission backend bk_submission   mode tcp     timeout server 1m   

[pfx] Headers Changing

2025-04-17 Thread anant--- via Postfix-users
Dear Team, Following is the requirement, If from address is a...@domain.com(our own domain) and if the subject starts with "[abcd] then from address to be changed to d...@domain.com (domain remians same) before delivering the mail to recipient. Is this possible in Postfix? If yes, please give

[pfx] Queue IDs

2025-04-17 Thread Doug Hardie via Postfix-users
Lately, when I look at the mail queue I see IDs that end in PPn where n is an integer. So far, all of them have been bounces of spam. Is my understanding correct and if so is there a way to automagically dequeue those? Thanks, -- Doug ___ Postfix-u

[pfx] Re: Queue IDs

2025-04-17 Thread Dmitriy Alekseev via Postfix-users
Are you using long queue ids? Or short? Short one has a big collision field and basically mostly depends on time, so I can assume you got bunch of spam in one period of time. Again: queue-id is your local id, it has nothing outside of your system, except cases when sending side get logged "250 queu

[pfx] Re: Queue IDs

2025-04-17 Thread Dmitriy Alekseev via Postfix-users
Queue ID has nothing to do with indication of spam or not. It's unique identifier inside postfix for specific email, it not mean anything outside of it. On Thu, 17 Apr 2025, 09:53 Doug Hardie via Postfix-users, < postfix-users@postfix.org> wrote: > Lately, when I look at the mail queue I see IDs