Control Web Panel
WebPanel => E-Mail => Topic started by: muscator on February 09, 2016, 07:43:53 AM
-
I have searched high and low to find a FAQ answering how to config Spamassassin on CWP...?
Itīs fine that Spamassassin is installed via Postfix manager together with Clamav etc. but Spamassassin is not worth much if it canīt be configured on user level and in CWP it is not possible to configure it neither on server level nor on userlevel...
So - simple quetion:
How to config spamassassin on cwp on serverlevel and userlevel....
-
Hello.
I'm afraid it can be configured manually only, at the time.
-
.....and how is that done....?
Hello.
I'm afraid it can be configured manually only, at the time.
-
Have a look in /etc/mail/spamassassin/local.cf
-
Any tutorial would be good for on this issue.
I've searched & found some. But i didn't tested. Maybe someone make this.
https://www.rosehosting.com/blog/how-to-install-and-integrate-spamassassin-with-postfix-on-a-centos-6-vps/
-
I'm also looking for information on how to configure SpamAssassin. The internet seems to have nothing on it.
I have installed it and it seems to work (with defaults) for my email account, but it does not scan my wife's email account that is on a different domain on the same server.
The file /etc/mail/spamassassin/local.cf does not seem to be the correct config file either. Any changes I make in there don't seem to have an effect (the tag added to the subject line of a spam email is different, for example). I did use "Restart all Mail Server Services" button on the Postfix manager page after making a change in that file.
Does anyone know what the correct config file for SpamAssassin is when it has been installed through the Postfix manager?
-
a-ha! it seems all the config is done in /etc/amavisd.conf
-
Hello.
For spamassassin make sure you have next changes at Postfix configs.
/etc/postfix/master.cf
smtp inet n - n - - smtpd
-o content_filter=smtp-amavis:127.0.0.1:10024
-o receive_override_options=no_address_mappings
-o content_filter=spamassassin
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
and SA config:
SAHOME="/var/lib/spamassassin/"
SPAMDOPTIONS="-d -c -m5 -H --username nobody -s ${SAHOME}spamd.log"
make sure the /var/lib/spamassassin/ owner is nobody.
P.S. It will be added to some new version.
-
hello Igor,
thanks for update this topic.
Our Cwp SA version is 3.3.1
is it Safe to upgrade latest version of SA on our cwp system?
Would you please guide us.
spamassassin -V
SpamAssassin version 3.3.1
running on Perl version 5.10.1
-
Used this tutorial and works fine for me.. Spamassassin and clamav...
https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server/amvisd_spamassassin_clamav#Basic_Configuration
Please make backup before and read everything carefully..
-
Hello, tristar78.
Sure, you can upgrade it just like for any other CentOS.
-
and SA config:
where is SA config locate?
-
where is SA config locate?
-
Hello,
check the /etc/mail/spamassassin/local.cf
where is SA config locate?
-
Hi Guys i did this setup the same way as above and the email goes to spam automatically on certain accounts only and one account it does not? why would that be?
-
I'm also looking for information on how to configure SpamAssassin. The internet seems to have nothing on it.
I have installed it and it seems to work (with defaults) for my email account, but it does not scan my wife's email account that is on a different domain on the same server.
The file /etc/mail/spamassassin/local.cf does not seem to be the correct config file either. Any changes I make in there don't seem to have an effect (the tag added to the subject line of a spam email is different, for example) paris car service (http://www.shuttle-paris-airports.com). I did use "Restart all Mail Server Services" button on the Postfix manager page after making a change in that file.
Does anyone know what the correct config file for SpamAssassin is when it has been installed through the Postfix manager?
It could be a temporary bug, but I'm sure we can still fix it with the right tools.
-
and SA config:
where is SA config locate?
Please see SA config in this file.
/etc/sysconfig/spamassassin