[pfx] Re: quieting postscreen logging of dnsbl-rejected connections?

2025-05-17 Thread Allen Coates via Postfix-users
On 17/05/2025 16:23, pgnd via Postfix-users wrote: > logs (/var/log/postfix/postfix.log) routinely report postscreen doing its job > well at fending off 'pulses' of spammy > connection attempts. e.g., > the number of attempts varies from any one IP -- from just one to hundreds. > > atm, ALL logg

[pfx] Re: action=DUNNO with two \n\n gives a server configuration error

2025-05-17 Thread Wietse Venema via Postfix-users
Jorge Bastos via Postfix-users: > Hi thanks, > > even with: > > echo -e "action=DUNNO\n" > > it fails with the same reason Postfix logging? See: https://www.postfix.org/DEBUG_README.html#logging DO NOT turn on debug logging with '-v' options in master.cf. What happens when you replace th

[pfx] Re: action=DUNNO with two \n\n gives a server configuration error

2025-05-17 Thread Jorge Bastos via Postfix-users
Hi thanks, even with: echo -e "action=DUNNO\n" it fails with the same reason On 2025-05-17 19:45, Wietse Venema via Postfix-users wrote: https://pastebin.com/gMrRx9Ny https://pastebin.com/xX1hj38H First, echo -e "action=DUNNO\n\n" will send THREE newline characters, and will therefore

[pfx] Re: action=DUNNO with two \n\n gives a server configuration error

2025-05-17 Thread Wietse Venema via Postfix-users
Jorge Bastos via Postfix-users: > Hi Guys, > > I'm having an issue with my: > > check_policy_service unix:private/policy-dnswl > > That has the information bellow, I've been looking at the docs for two > weeks and cant figure why action=DUNNO still gives me the server > configuration error. >

[pfx] Re: quieting postscreen logging of dnsbl-rejected connections?

2025-05-17 Thread pgnd via Postfix-users
I have a simple script (a fail2ban look-alike), which looks for multiple postscreen disconnects, and adds the offending address to an IPtables block-list . thx. i do similar with nftables. straightforward enuf. atm, just exploring quieting postscreen logging natively -- in pfx config -- if pos

[pfx] Re: action=DUNNO with two \n\n gives a server configuration error

2025-05-17 Thread Jorge Bastos via Postfix-users
Update, Even having the check_policy_service unix:private/policy-dnswl in smtpd_client_restrictions same behavior On 2025-05-17 18:07, Jorge Bastos via Postfix-users wrote: Hi Guys, I'm having an issue with my: check_policy_service unix:private/policy-dnswl That has the information bellow

[pfx] action=DUNNO with two \n\n gives a server configuration error

2025-05-17 Thread Jorge Bastos via Postfix-users
Hi Guys, I'm having an issue with my: check_policy_service unix:private/policy-dnswl That has the information bellow, I've been looking at the docs for two weeks and cant figure why action=DUNNO still gives me the server configuration error. Here's my script and smtpd_recipient_restriction,

[pfx] quieting postscreen logging of dnsbl-rejected connections?

2025-05-17 Thread pgnd via Postfix-users
on a linux instance of postconf mail_version mail_version = 3.10.2 postscreen's set up postconf -n | grep -i postscreen | sort postscreen_access_list = permit_mynetworks cidr:/etc/postfix/postscreen_access.cidr postscreen_allowlist_interfaces = static:all