[pfx] Re: Trouble blocking spammer domain

2024-08-03 Thread Viktor Dukhovni via Postfix-users
On Sat, Aug 03, 2024 at 10:54:46AM -0400, John Thorvald Wodder II via Postfix-users wrote: > > maybe this header_checks example works : > > /^(To|From|Cc|Reply-To):.*@stupidspammers\.example/ DISCARD > > postmap /etc/postfix/header_checks > > and in main.cf : > > header_checks = regexp:/etc/p

[pfx] Re: Trouble blocking spammer domain

2024-08-03 Thread John Thorvald Wodder II via Postfix-users
On Jul 30, 2024, at 16:52, Dimitris T. via Postfix-users wrote: > > not sure why you don't just block the ip/subnet of that client in firewall > (?) or just try postscreen + postscreen_access_list with client ip/subnet.. I wouldn't expect IP-based blocking to work for long, as servers can cha

[pfx] Re: Trouble blocking spammer domain

2024-08-03 Thread John Thorvald Wodder II via Postfix-users
On Jul 31, 2024, at 06:05, Jaroslaw Rafa via Postfix-users wrote: > > Dnia 30.07.2024 o godz. 16:19:01 John Thorvald Wodder II via Postfix-users > pisze: >> The "access" file currently contains REJECT lines for both >> "spamgateway.nil" (no leading period) and ".spamgateway.nil" (leading >> per

[pfx] Re: Trouble blocking spammer domain

2024-07-31 Thread Bill Cole via Postfix-users
On 2024-07-30 at 16:13:07 UTC-0400 (Tue, 30 Jul 2024 16:13:07 -0400) John Thorvald Wodder II via Postfix-users is rumored to have said: I'm not claiming that "spamgateway.nil" is the actual domain. I'm using a placeholder here because I don't want to draw attention to an actual, real domain.

[pfx] Re: Trouble blocking spammer domain

2024-07-31 Thread Bill Cole via Postfix-users
On 2024-07-30 at 15:28:58 UTC-0400 (Tue, 30 Jul 2024 15:28:58 -0400) John Thorvald Wodder II via Postfix-users is rumored to have said: (I previously posted this request for help on ServerFault but got no responses, so I'm hoping the official Postfix mailing list will go better.) This has al

[pfx] Re: Trouble blocking spammer domain

2024-07-31 Thread Jaroslaw Rafa via Postfix-users
Dnia 30.07.2024 o godz. 16:19:01 John Thorvald Wodder II via Postfix-users pisze: > The "access" file currently contains REJECT lines for both > "spamgateway.nil" (no leading period) and ".spamgateway.nil" (leading > period), and I did the postmap-and-restart dance after updating it, but > the e-m

[pfx] Re: Trouble blocking spammer domain

2024-07-31 Thread Matus UHLAR - fantomas via Postfix-users
On Jul 30, 2024, at 15:58, Wietse Venema wrote: For actual support, you can reduce the detective work providing CONCRETE details as in https://www.postfix.org/DEBUG_README.html#mail Actual configuration as reported by Postfix. On 30.07.24 16:13, John Thorvald Wodder II via Postfix-users wrote

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread Dimitris T. via Postfix-users
not sure why you don't just block the ip/subnet of that client in firewall (?)  or just try postscreen + postscreen_access_list with client ip/subnet.. is it coming from gmail or another too-big-to-block sender? The "access" file currently contains REJECT lines for both "spamgateway.nil" (no

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread John Thorvald Wodder II via Postfix-users
On Jul 30, 2024, at 16:13, Darren Rambaud via Postfix-users wrote: > In `/etc/postfix/access`, did you try adding all of these entries? > stupidspammers.example REJECT > .stupidspammers.example REJECT > spamgateway.nil REJECT > > .spamgateway.nil REJECT > Then re-run postmap and restart postfi

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread Darren Rambaud via Postfix-users
In `/etc/postfix/access`, did you try adding all of these entries? stupidspammers.example REJECT .stupidspammers.example REJECT spamgateway.nil REJECT .spamgateway.nil REJECT Then re-run postmap and restart postfix? Documentation for postfix indicate this should work to block all e-mails or

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread John Thorvald Wodder II via Postfix-users
On Jul 30, 2024, at 15:58, Wietse Venema wrote: > > John Thorvald Wodder II via Postfix-users: >> On Jul 30, 2024, at 15:36, Wietse Venema via Postfix-users >> wrote: >>> >>> John Thorvald Wodder II via Postfix-users: (I previously posted this request for help on ServerFault but got

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread Benny Pedersen via Postfix-users
Wietse Venema via Postfix-users skrev den 2024-07-30 21:36: Those tables have no effect on the content of message headers. For that, the tables are called header_checks. However, you may be better off with rspamd. or simple milter-regex rspamd is most of the time ok with default config, but

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread Wietse Venema via Postfix-users
John Thorvald Wodder II via Postfix-users: > On Jul 30, 2024, at 15:36, Wietse Venema via Postfix-users > wrote: > > > > John Thorvald Wodder II via Postfix-users: > >> (I previously posted this request for help on ServerFault but got > >> no responses, so I'm hoping the official Postfix mailing

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread John Thorvald Wodder II via Postfix-users
On Jul 30, 2024, at 15:36, Wietse Venema via Postfix-users wrote: > > John Thorvald Wodder II via Postfix-users: >> (I previously posted this request for help on ServerFault but got >> no responses, so I'm hoping the official Postfix mailing list will >> go better.) > > Your access tables can o

[pfx] Re: Trouble blocking spammer domain

2024-07-30 Thread Wietse Venema via Postfix-users
John Thorvald Wodder II via Postfix-users: > (I previously posted this request for help on ServerFault but got > no responses, so I'm hoping the official Postfix mailing list will > go better.) Your access tables can only affect the client DNS domain name, and domain names that appear in SMTP comm