Re: Hiding Spamhaus key from replies

2019-11-18 Thread Bernardo Reino
On Mon, 18 Nov 2019, Benny Pedersen wrote: Bernardo Reino skrev den 2019-11-18 10:12: I have now done it with: rbl_reply_maps = texthash:/etc/postfix/dnsbl_reply_smtpd where that file has lines like: $KEY.zrd.dq.spamhaus.net=127.0.2.[2..24] $rbl_code Service unavailable; $rbl_class

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Benny Pedersen
Bernardo Reino skrev den 2019-11-18 10:12: I have now done it with: rbl_reply_maps = texthash:/etc/postfix/dnsbl_reply_smtpd where that file has lines like: $KEY.zrd.dq.spamhaus.net=127.0.2.[2..24] $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked where $KEY is my key, and the LHS

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Benny Pedersen
Merrick skrev den 2019-11-18 08:48: On 2019/11/18 3:42 下午, Bernardo Reino wrote: How can I configure postfix to do like postscreen_dnsbl_reply_map but for smtpd? can spamassassin do that as well? https://github.com/spamhaus/spamassassin-dqs/blob/master/sh.cf with meta its solved, but its

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Bernardo Reino
On Mon, 18 Nov 2019, Matus UHLAR - fantomas wrote: anything in the logs yet? I just got a hit, and it worked as expected :) Nov 18 11:47:17 regenbogen postfix/smtpd[17564]: NOQUEUE: \ reject: RCPT from 71-10-166-63.dhcp.stls.mo.charter.com[71.10.166.63]: \ 554 5.7.1 Service unavailable;

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Bernardo Reino
On Mon, 18 Nov 2019, Matus UHLAR - fantomas wrote: On 18.11.19 10:12, Bernardo Reino wrote: My plan is/was to use only one blacklist (zen, IP-based) during postscreen but then have the option of using other blacklists (dbl, zrd) at smtpd time. I moved all blacklist filtering from smtpd to

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Matus UHLAR - fantomas
On 18.11.19 08:42, Bernardo Reino wrote: I currently use postscreen with postscreen_dbl_sites pointing to my instance of spamhaus.net. With postscreen_dnsbl_reply_map I hide the secret key from the server responses. Now, I also have/had "reject_rbl_client zen.spamhaus.org" a part of my

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Bernardo Reino
On Mon, 18 Nov 2019, Matus UHLAR - fantomas wrote: On 18.11.19 08:42, Bernardo Reino wrote: I currently use postscreen with postscreen_dbl_sites pointing to my instance of spamhaus.net. With postscreen_dnsbl_reply_map I hide the secret key from the server responses. Now, I also have/had

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Matus UHLAR - fantomas
On 18.11.19 08:42, Bernardo Reino wrote: I currently use postscreen with postscreen_dbl_sites pointing to my instance of spamhaus.net. With postscreen_dnsbl_reply_map I hide the secret key from the server responses. Now, I also have/had "reject_rbl_client zen.spamhaus.org" a part of my

Re: Hiding Spamhaus key from replies

2019-11-18 Thread Bernardo Reino
On Mon, 18 Nov 2019, Merrick wrote: hello On 2019/11/18 3:42 下午, Bernardo Reino wrote: How can I configure postfix to do like postscreen_dnsbl_reply_map but for smtpd? can spamassassin do that as well? I don't know, that was not my question :) (I use rspamd for spam filtering, where I

Re: Hiding Spamhaus key from replies

2019-11-17 Thread Merrick
hello On 2019/11/18 3:42 下午, Bernardo Reino wrote: How can I configure postfix to do like postscreen_dnsbl_reply_map but for smtpd? can spamassassin do that as well? regards.

Hiding Spamhaus key from replies

2019-11-17 Thread Bernardo Reino
Hello, I currently use postscreen with postscreen_dbl_sites pointing to my instance of spamhaus.net. With postscreen_dnsbl_reply_map I hide the secret key from the server responses. Now, I also have/had "reject_rbl_client zen.spamhaus.org" a part of my smtpd_recipient_restrictions. I want