^L causing DKIM validation errors with opensmtpd+rspamd

2022-07-26 Thread Jason A. Donenfeld
Hi, Using a fairly typical OpenSMTPD+rspamd setup, I'm finding that emails sent that have the ^L escape in them come out with an invalid DKIM signature. Something basic like: filter rspamd proc-exec "filter-rspamd" listen on ... filter rspamd Everything else is otherwise pretty default and

Re: ^L causing DKIM validation errors with opensmtpd+rspamd

2022-07-26 Thread Jason A. Donenfeld
This appears rather easy to reproduce. Just include the char 0x0c in a message, and the signature will be invalid. Playing with the resultant message, I can make it valid by removing the \x0c character, suggesting that it's being stripped from whatever rspamd receives for signing.

Re: ^L causing DKIM validation errors with opensmtpd+rspamd

2022-07-26 Thread Jason A. Donenfeld
I figure I should add the rspamd list to this thread. -- Original Message -- Hi, Using a fairly typical OpenSMTPD+rspamd setup, I'm finding that emails sent that have the ^L escape in them come out with an invalid DKIM signature. Something basic like: filter rspamd proc-exec "filter-rspamd"