Rspamd: Fast, free and open-source spam filtering system

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

vstakhov wrote:Please let me know if you have any integration issues. Once Zimbra is able to work with Rspamd I can also add the corresponding information to the Rspamd documentation.
Thanks for your post. :) The steps I've outlined in my first post in this thread work well and have done for the past eight months on my server through several rspamd and ZCS server upgrades,. :)
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
MisterM75
Advanced member
Advanced member
Posts: 77
Joined: Sat Aug 05, 2017 7:10 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by MisterM75 »

phoenix the master .... :D :D

When I change this line:
milter_default_action = accept
And then when I restart Postfix, it rewrites this :
milter_default_action = tempfail
How do you do that?
Mz
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

jorgedlcruz wrote:Hi @phoenix,
Do you want to write a wiki with the way how is installed, etc? I can add a diagram to it if you want. And we can featured it on the Wiki home page, and on social media.
I'm not sure my technical documentation writing skills are up to it and there really isn't much that I could add other than my notes in the original post. I'm not too skilled at configuring or tweaking rspamd, other than getting it running there isn't much I've done to it and the results, so far, are slightly better than spamassassin. My server is, of course, just a home server and I realise it's not a real world test of the product so I'm looking forward to seeing some results from a real sysadmin with a live server and what sort of changes & tweaks may be necessary to get the best from rspamd.

As I mentioned in my first post, there are modules within rspamd, such as DKIM, that could replace some of the current ones in ZCS - I'd be interested to know what Zimbra tech think of the product - obviously I know they have a proper job to do apart from reviewing odd bits of software. ;)

BTW, I do have a wiki account but it doesn't seem to have the ability to create/edit any pages - does something need to be changed on the account? Is there any documentation or 'how to' for the wiki or is there a company 'style' that's needed for the format?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
MisterM75
Advanced member
Advanced member
Posts: 77
Joined: Sat Aug 05, 2017 7:10 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by MisterM75 »

Hello
Concerning this:
3 - As zmconfigd rebuilds the main.cf file you'll have to make a small hack to the zmconfigd file to stop our changes being overwritten (details in the ZCS bugzilla report 97706):

Locate and remove these four lines from zmconfigd.cf configuration file (still as the zimbra user):
@phoenix you have to forget a line to delete in the file:
/opt/zimbra/conf/zmconfigd.cf
This line if:

Code: Select all

POSTCONF milter_default_action VAR zimbraMtaMilterDefaultAction
Mz
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

It's not a good idea to edit your forum posts and add a new question, nobody gets notified about the change and your question(s) may get missed and go unanswered. You're far better adding it as a new post in the thread,if it's relevant to the thread in which you're posting otherwise start a new thread.
MisterM75 wrote:When I change this line:
milter_default_action = accept
And then when I restart Postfix, it rewrites this :
milter_default_action = tempfail
How do you do that?
Mz
Check the main.cf file and see if there's multiple entries for "milter_default_action" and if there is what's it set too?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

MisterM75 wrote:Hello
Concerning this:
3 - As zmconfigd rebuilds the main.cf file you'll have to make a small hack to the zmconfigd file to stop our changes being overwritten (details in the ZCS bugzilla report 97706):

Locate and remove these four lines from zmconfigd.cf configuration file (still as the zimbra user):
@phoenix you have to forget a line to delete in the file:
/opt/zimbra/conf/zmconfigd.cf
This line if:

Code: Select all

POSTCONF milter_default_action VAR zimbraMtaMilterDefaultAction
Mz
I still have that in my zmconfigd.cf file and it doesn't cause me any problems, the changes I've outlined in my original post are the ones I've used on two servers and neither of those are being reverted to 'tempfail'.

BTW, don't forget to add your vote to the bugs in my signature if you think it's a good idea to add this to Zimbra. :)
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
MisterM75
Advanced member
Advanced member
Posts: 77
Joined: Sat Aug 05, 2017 7:10 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by MisterM75 »

To have less spam, I receive 20 per day ...
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

Fed1r wrote:How to mark subject ***SPAM*** for spam mail?
Are you talking about rspamd doing this?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Fed1r
Posts: 5
Joined: Sun Sep 03, 2017 4:47 pm

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by Fed1r »

How to mark subject ***SPAM*** for spam mail?

I would be grateful for any help you are able to provide.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Rspamd: A replacement for Spamassassin & Postscreen

Post by phoenix »

Fed1r wrote:How to mark subject ***SPAM*** for spam mail?

I would be grateful for any help you are able to provide.
How about answering my question in the previous post?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply