[pfx] Re: openarc and forwarding to gmail

2024-08-03 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > Hi, > I'm using postfix-3.8.5 on fedora40 and having a problem with forwarding > mail from our relay to gmail recipients. We have some users using > ~/.forward files to individual gmail accounts. Obviously not ideal, but I > hoped openarc could help alleviate some of those

[pfx] openarc and forwarding to gmail

2024-08-03 Thread Alex via Postfix-users
Hi, I'm using postfix-3.8.5 on fedora40 and having a problem with forwarding mail from our relay to gmail recipients. We have some users using ~/.forward files to individual gmail accounts. Obviously not ideal, but I hoped openarc could help alleviate some of those problems. Aug 3 17:01:48 cipher

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Arnie T via Postfix-users: > > main.cf: > > var_SHDQS=xxx > > postscreen_dnsbl_reply_map = > > texthash:/etc/postfix/postscreen_dnsbl_reply_map > > > > cat /etc/postfix/postscreen_dnsbl_reply_map > > ${var_SHDQS}.zen.dq.spamhaus.ne

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Wietse Venema via Postfix-users
Arnie T via Postfix-users: > main.cf: > var_SHDQS=xxx > postscreen_dnsbl_reply_map = > texthash:/etc/postfix/postscreen_dnsbl_reply_map > > cat /etc/postfix/postscreen_dnsbl_reply_map > ${var_SHDQS}.zen.dq.spamhaus.net=127.0.0.[2..11] 554 > $rbl_class $rbl

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > You need to use the same table for both smtpd(8) and postscreen(8). > That is: > > rbl_reply_maps = ... some table ... > postscreen_dnsbl_reply_map = ... same table ... > > And of course that table needs to match all the applicable keys. This is impor

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Viktor Dukhovni via Postfix-users
On Sat, Aug 03, 2024 at 04:54:57PM +, Arnie T via Postfix-users wrote: > > > It looks like it's using the "default_rbl_reply" instead of the match > > > from "postscreen_dnsbl_reply_map". > > > > That parameter is not applicable for connections passed to smtpd(8). > > I'm not clear on that.

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Arnie T via Postfix-users
Hello, > Why empty unless under stress??? I've no idea yet. I hadn't gotten that far. Was starting with 'first contact' -- at postscreen -- and working inwards. > > cat /etc/postfix/postscreen_dnsbl_reply_map > Only used by postscreen(8).! > This was not blocked by postscreen(8) and so was h

[pfx] Re: postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Viktor Dukhovni via Postfix-users
On Sat, Aug 03, 2024 at 04:23:33PM +, Arnie T via Postfix-users wrote: > postscreen_dnsbl_reply_map = > texthash:/etc/postfix/postscreen_dnsbl_reply_map > >>> rbl_reply_maps = > ${stress?lmdb:/etc/postfix/smtpd_dnsbl_reply_maps} > default_rbl_reply = $rb

[pfx] postscreen_dnsbl_reply_map not matching/replacing in replies ?

2024-08-03 Thread Arnie T via Postfix-users
Hello, I am working on upgrading an old and pretty broken Postfix setup I inherited. I managed to get it cleaned up, and running on Postfix v3.9. The server's using Spamhaus DQS dnsbls @ postscreen, and the policy it uses is reject on match. They're working like they should for postscreen, reje

[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