Hi,
Yesterday I've started playing with Synchronet & have made some first steps towards integrating Rspamd, an alternative to SpamAssassin.
The result is here: https://github.com/fatalbanana/synchronet-rspamd
Re: Rspamd integration for Synchronet BBS
By: Digital Man to Icedawg on Mon Dec 28 2020 02:32 pm
Hi Rob,
Those were some funny examples indeed, I've corrected them, thank you.
I'd be happy for you to have this stuff upstream some day too. ;)
So far I've doubts that outbound filtering & DKIM signing will be particularly useful given that it works merely for SMTP & I'm unsure how to address this.
Other doubt is about how to deal with parsing/rewriting message headers - I expect I could do it in JS, I just hoped to avoid that.
Re: Rspamd integration for Synchronet BBS
By: Digital Man to Icedawg on Tue Dec 29 2020 08:13 am
Hello,
Yes, the idea is to support scanning of outbound messages- at least to the extent that is possible- so, messages received over SMTP. It belatedly occurred to me that messages might not arrive over SMTP & that I wouldn't know how to deal with these.
Yes, I'm happy that messages relayed via SMTP will be scanned on receipt, Ijust lament that messages delivered by being saved to the message base
would not be. Though I can personally live with it fine.
Re: Rspamd integration for Synchronet BBSwould
By: Digital Man to Icedawg on Tue Dec 29 2020 03:11 pm
Hi,
Yes, I'm happy that messages relayed via SMTP will be scanned on receipt, I just lament that messages delivered by being saved to the message base
not be. Though I can personally live with it fine.
Yeah, for the latter, you could have an event that ran and scanned themailbase for outbound Internet mail and did the filtering then. There's
still
that potential race condition I mentioned.
Re: Rspamd integration for Synchronet BBS;)
By: Digital Man to Icedawg on Tue Dec 29 2020 04:05 pm
Yeah, for the latter, you could have an event that ran and scanned the mailbase for outbound Internet mail and did the filtering then. There's still
that potential race condition I mentioned.
Better it should be possible to intentionally cause message saving to fail via some hooks. I'm not suggesting to add some but I wouldn't be against.
Re: Rspamd integration for Synchronet BBSthe
By: Icedawg to Digital Man on Tue Dec 29 2020 07:09 pm
> Re: Rspamd integration for Synchronet BBS
> By: Digital Man to Icedawg on Tue Dec 29 2020 08:13 am
>
> Hello,
>
> Yes, the idea is to support scanning of outbound messages- at least to
> extent that is possible- so, messages received over SMTP. It belatedlywouldn't
> occurred to me that messages might not arrive over SMTP & that I
> know how to deal with these.initial receipt, so that would already be supported by the mailproc method.
An outbound (relayed) message submitted via SMTP would be scanned during the
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:11:37 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,792,006 |