26

Re: mail relay

OviVan wrote:

could you please explain me how do I configure spam-filter?

It's hard to say how to improve spam-filter in one/two sentences.

Just an example:
If you find some or most SPAM mails have subject "IREDMAIL", then you can filter it in either Postfix "header_checks or SpamAssassin.

In SpamAssassin, you can define your own filter rules in /etc/mail/spamassassin/local.cf (on RHEL/CentOS). Reference:
- http://spamassassin.apache.org/full/2.6 … _Conf.html
- http://wiki.apache.org/spamassassin/WritingRules

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

27

Re: mail relay

thank You very much Zhang, I will give it a try and see how`s it going...
But just keep looking for implementing auto-learn on spamassassin.... will be much better...

The spam settings installed with iRedAdmin are just "default" configured best practic I assume ?

28

Re: mail relay

OviVan wrote:

The spam settings installed with iRedAdmin are just "default" configured best practic I assume ?

Yes. As i said, will try to achieve auto-learning in further release.

Another reference: book <SpamAssassin> clearly describes how to configure SpamAssassin to achieve auto-whitelisting, auto-learning, etc.
http://www.amazon.com/SpamAssassin-Alan … amp;sr=1-1

29

Re: mail relay

ok, I should perhaps give it a try...

I see in the spamassassin config file:

/etc/mail/spamassassin/local.cf
required_score      5.0

I can change this score to 4.0 perhaps ? it will be more aggressive.....

30

Re: mail relay

I found that spamassassin service was down ...... I noticed it when I tried to restart it after I changed the "required_score"
can You please go trough this "services" list and let me know is it something I forgot ? it seems that not all serviecs starts upon CentOS boot... these are now fixed, but let me know if there is more of them...

chkconfig --level 345 iredapd on
chkconfig --level 345 httpd on
chkconfig --level 345 mysqld on
chkconfig --level 345 postfix on
chkconfig --level 345 dovecot on
chkconfig --level 345 amavisd on
chkconfig --level 345 spamassassin on

31

Re: mail relay

OviVan wrote:

chkconfig --level 345 spamassassin on

As i mentioned before, Amavisd will call SpamAssassin for anti-spam, so service 'spamassassin' is not required. You can set it to off:

# chkconfig --level 345 spamassassin off

32

Re: mail relay

ok, I tough if Amavisd will call the SpamAssassin than it should be up and running... but ok will do as You said...
Thank You

33

Re: mail relay

here is the great spamassassin generator:

http://www.yrex.com/spam/spamconfig.php

and I see in this config it`s possible to enable self-learn which I already found as enabled in the iRedAdmin configured spamassassin file ??

nano /etc/mail/spamassassin/local.cf