filter-rspamd available for testing

2019-08-15 Thread Jakub Jirutka
Hi Gilles, I'm testing OpenSMTPD on Alpine Linux (musl libc) built from the last commit from the portable branch [1] and filters don't work. The filter script gets the following lines on the start of OpenSMTPD: config|smtp-session-timeout|300\n config|ready\n Right after reading "config

Re: filter-rspamd available for testing

2019-08-17 Thread Jakub Jirutka
On 8/17/19 12:56 PM, Gilles Chehade wrote: > Are you sure you're not enqueuing the mail through the local socket ? > > Note that 'listen on lo0' is a network listener and does not catch mails > that are submitted through the 'mail' command for instance. I didn't know that. You're absolutely right,

Simple rewrite-from filter in awk

2019-08-18 Thread Jakub Jirutka
Hi, I was playing a bit with new proc filters and wrote a very simple filter for rewriting email address in both MAIL FROM command and From header with the specified email address... in just ~60 lines of AWK! https://github.com/jirutka/opensmtpd-filter-rewrite-from I'm really impressed how simpl