Re: Backscatter problems + fixes + RFC idea

2021-03-23 Thread Dominic Raferd
On 20/03/2021 18:52, Rahul Dhesi wrote: On Sat, 20 Mar 2021, Dominic Raferd wrote: You may find my script helpful: https://www.timedicer.co.uk/programs/help/relay-enforcer.sh.php Looks very interesting, thanks. I ran 'shellcheck' on it and saw many scary warnings; highly recommended to revis

Re: Backscatter problems + fixes + RFC idea

2021-03-20 Thread Rahul Dhesi
On Sat, 20 Mar 2021, Dominic Raferd wrote: You may find my script helpful: https://www.timedicer.co.uk/programs/help/relay-enforcer.sh.php Looks very interesting, thanks. I ran 'shellcheck' on it and saw many scary warnings; highly recommended to revise the code to fix all of them. Rahul

Re: Backscatter problems + fixes + RFC idea

2021-03-20 Thread Dominic Raferd
On 20/03/2021 01:53, Rahul Dhesi wrote: On Fri, 19 Mar 2021, Wietse Venema wrote: See examples in: http://www.postfix.org/postconf.5.html#default_delivery_status_filter (this was originally designed to turn soft TLS errors into hard ones). Thanks, that is a vey nice feature I did not know abo

Re: Backscatter problems + fixes + RFC idea

2021-03-19 Thread Rahul Dhesi
On Fri, 19 Mar 2021, Wietse Venema wrote: See examples in: http://www.postfix.org/postconf.5.html#default_delivery_status_filter (this was originally designed to turn soft TLS errors into hard ones). Thanks, that is a vey nice feature I did not know about. I should mention that my strategy of

Re: Backscatter problems + fixes + RFC idea

2021-03-19 Thread Wietse Venema
Rahul Dhesi: > There is a second problem for which the fix is not so elegant. If Gmail > detects spam but returns a temporary error, the spam will remain in the > queue until its lifetime expires. The only way I found of dealing with > this is to run a cron job that does 'mailq', finds Gmail spa