What about implementing dovecot sieve?

Hi;

sieve filter might be a huge asset for managing email

I tried to implement it by following but some package are missing in Debian9, such as dovecot-manageseived and at the end dovecot don’t recognize sieve as a protocol.

I was hoping hestia would consider adding sieve into their roadmap

Hi,

I have dovecot sieve filters running in Ubuntu 18.0.4 with Rspamd and works perfectly only get the occasional spam email now.

Debian 9 you should be able to:
apt-get install dovecot-sieve dovecot-managesieved dovecot-lmtpd

If that doesn’t work try adding the dovecot repo if not already added.

1 Like

Hello salnz, how do you find Rspamd compared to spamassasin in catching spam?

I only started testing rspamd recenlty and hanven’t pushed production emails trough it yet.

Do you have a kind of how to on how you implement your [quote=“salnz, post:2, topic:124”]
Rspamd
[/quote] ?

Hi Lupu,

I found Rspamd uses less resources than SA with better detection I only get 1 - 2 emails per week being spam from 20+ per day, plus having a gui is good to see results.The GUI link is easy to add into Hestia, would be good if I knew how to integrate it fully into the panel but not a coder.

I setup the integration between Exim / Sieve and Rspamd to have a sieve moving emails from the email client inbox to junk and pipe to Rspamd,

I’ve seen similar results in my limited tests, so i’m glad others can confirm this too

Hi JDmnT,

No how to guide, just a very rough draft with all the settings which I will get around to sorting out when have some spare time, took a lot of trial and error, using bits and pieces from all the guides to get a perfect install most of the guides use postfix and not exim / exim4.

I have only used CentOS and Ubuntu but I will see if I can install on Debian

I never used rspamd wih Vesta/Hestia but I had the chance to use it with other product like Mailcow and yes it is more resource efficient and the UI is a nice to have to manage your spam rule.

1 Like

@salnz - Have you had some time to wrap up the Sieve/Rspamd tutorial? Just got flawlessly working Hestia CP on freshly installed Debian 9 Stretch. That said, I could contribute by preparing one while setting all the things up. WDYT?

Hi @martineliascz not as yet as have had too much on, you’re more than welcome if you have time.

FYI: Have successfully managed to integrate Rspamd backed to Hestia CP along with Dovecot sieve filters & ham/spam learning upon moving from INBOX to SPAM folder and vice versa.

Will come up with another, this time somewhat complex tutorial if there is serious interest… and once I have at least one spare hour to wrap all the things up.


Testing has been successful so far - no single spam made it to my INBOX :slight_smile:
PS: Learned count is zero, since I had nothing to learn. Rspamd catched all spammy e-mails on its own.

2 Likes

Looking forward to your guide.

Hi All,

I’m curious about this, i’m trying to get spamassassin to work properly but still it doesn’t like to do its job decent enough.
Besides that it’s quite a pain in the ass to let it learn spam. Would be even better if people press move to spam and it learns the spam automatic!

Well, i hope a guide comes for rspamd, i’d like to use it and test it!

1 Like

Hi @Machiel92 I am working on several projects already. Will do my best to come up with some tuto. First of all - will have to upgrade to Buster & new Hestia version. Docs/configs related to rspamd integration are already prepared on my desktop PC @ hometown. Gonna visit home last week this month. Let’s see how much time I have. Stay tuned!

1 Like

Hi @martineliascz,

You use it on debian?
I’m using it on Ubuntu, but if I at least find a way how i can install it and override spamassassin it would be nice cause it is better at fighting spam as far as I found on the world wide gweb

@Machiel92 - Yeah, I use Debian Stretch. Haven’t yet had time for upgrade. Rspamd is definitely better than SA - can agree with that.

Cool, did you install it, seperate next to hestia?
And just configured the virtual host to be able to see the spam interface?

@martineliascz,

Let me know when the guide is ready, as I’d like to review it for potential inclusion with a future release of Hestia. We’ve discussed implementing rspamd and sieve filters into the Hestia mail stack internally and believe it’s a great idea which would help bring the feature set more up-to-date with what end users would expect.

We’d love to discuss your ideas and feedback and if you’d be willing to help with our efforts, reach out to us at [email protected] and we’ll invite you to Slack.

Thanks,
Kristan

1 Like

Rspamd was working great but ran into issues with email certificates with letsencrypt recently so took the email service from Hestia and just setup a separate VPS with Mailcow (runs everything in docker containers Rspmd, Postfix etc) website if unfamiliar with mailcow is mailcow.email

@kristankenney if you want a guide here are two from the Vesta forum

https://forum.vestacp.com/viewtopic.php?f=12&t=18479&hilit=rspamd

This one is based on Postfix which has a bit more detail just need to change to Exim4 equivalents

https://forum.vestacp.com/viewtopic.php?f=12&t=17606&p=78245&hilit=rspamd#p78245

This is a full guide to install Rspamd, on Postfix (yet again) for CentosWP which I used as a base with the first link above to install when running locally on Hestia, Obviously changing to commands / paths to integrate with Exim4 and Ubuntu / Debian

http://forum.centos-webpanel.com/how-to/(howto)-install-rspamd/?wap2

To keep Spamassassin I found adding Razor, Pyzor, DCC and Pish Tank to work very well, no GUI as far as I know for these.

Running the same here with mailcleaner (www.mailcleaner.org) on a 2 node cluster.

1 Like