Rspamd: A replacement for Spamassassin & Postscreen

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

Re: Rspamd: A replacement for Spamassassin & Postscreen

Postby phoenix » Mon Feb 10, 2020 11:36 am

yeeP6rai wrote:How to stop scan messages from my local network?[/quoote]You'd want to keep it doing that in case any of your outbound mail is from a compromised account.

yeeP6rai wrote:rspamd marks system messages from local servers as spam.
You'd be far better finding out why your email is marked as spam, that isn't normal.


Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
yeeP6rai
Posts: 39
Joined: Mon Feb 12, 2018 10:16 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Postby yeeP6rai » Mon Feb 10, 2020 11:51 am

For example:

Code: Select all

BAYES_HAM(-3.00)[100.00%];
NEURAL_SPAM(2.37)[0.790];

Who is right from them? :)
You'd be far better finding out why your email is marked as spam, that isn't normal.

I'm disagree with you. For example if my servers generates over 1000 system email messages per hour for some purposes, why spam system should check it? It's not right. I think it should be bypass such messages without spam checks. I'm admin this servers and I know there couldn't be spam emails.
yeeP6rai
Posts: 39
Joined: Mon Feb 12, 2018 10:16 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Postby yeeP6rai » Mon Feb 10, 2020 12:09 pm

May be this configuration should be added to fully exclude local network from spam scans?

http://www.postfix.org/MILTER_README.html#per-client
yeeP6rai
Posts: 39
Joined: Mon Feb 12, 2018 10:16 am

Re: Rspamd: A replacement for Spamassassin & Postscreen

Postby yeeP6rai » Mon Feb 10, 2020 8:45 pm

yeeP6rai wrote:May be this configuration should be added to fully exclude local network from spam scans?

http://www.postfix.org/MILTER_README.html#per-client


I've tested excluding internal network from rspamd checking and it's seems works for me. Messages from internal network does not contain rspamd headers, but messages from other networks was checked by rspamd.

Code: Select all

zmlocalconfig -e postfix_smtpd_milter_maps=/opt/zimbra/common/conf/smtpd_milter_map
zmcontrol restart
zmlocalconfig |grep smtpd_milter
postfix_smtpd_milter_maps = /opt/zimbra/common/conf/smtpd_milter_map
cat /opt/zimbra/common/conf/smtpd_milter_map
!93.18.0.4/32 DISABLE #it's my external smtp relay. Zimbra send/receive messages via it. Messages from it will checked by rspamd
192.168.0.0/16 DISABLE # Messages from this servers not checked by rspamd
172.16.0.0/12 DISABLE # Messages from this servers not checked by rspamd
93.18.0.0/23 DISABLE # it's my network with servers in my administrative control. Messages from this servers not checked by rspamd


upd-1. something wrong. testing in progress
upd-2. oops:

Code: Select all

smtpd_milter_maps (default: empty)
....

This feature is available in Postfix 3.2 and later.

Code: Select all

rpm -qi zimbra-postfix|grep -i version
Version     : 3.1.1
lowhigh
Posts: 35
Joined: Wed Feb 08, 2017 5:14 pm

Re: Rspamd: A replacement for Spamassassin & Postscreen

Postby lowhigh » Wed Apr 08, 2020 4:29 pm

phoenix wrote:
yeeP6rai wrote:How to stop scan messages from my local network?[/quoote]You'd want to keep it doing that in case any of your outbound mail is from a co mpromised account.

yeeP6rai wrote:rspamd marks system messages from local servers as spam.
You'd be far better finding out why your email is marked as spam, that isn't normal.

Hi phoenix!

I have setup Rspamd but now i cannot login it by WebUI, rspamd doesnot listen on port 11334 and i don't find how to setup it from the document.
And i still don't know How rspamd replace postscreen, no any configuration relate postscreen on the guide

Please answer me!

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 5 guests