Author Topic: How to config spamassassin on cwp  (Read 14507 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to config spamassassin on cwp
« 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....


Offline
*****
Re: How to config spamassassin on cwp
« Reply #1 on: February 16, 2016, 08:00:32 AM »
Hello.

I'm afraid it can be configured manually only, at the time.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to config spamassassin on cwp
« Reply #2 on: March 06, 2016, 11:28:49 AM »
.....and how is that done....?




Hello.

I'm afraid it can be configured manually only, at the time.

Offline
***
Re: How to config spamassassin on cwp
« Reply #3 on: May 26, 2016, 02:31:44 PM »
Have a look in /etc/mail/spamassassin/local.cf

Offline
*
Re: How to config spamassassin on cwp
« Reply #4 on: June 29, 2016, 09:06:17 AM »
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/

Offline
*
Re: How to config spamassassin on cwp
« Reply #5 on: August 15, 2016, 09:52:38 AM »
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?

Offline
*
Re: How to config spamassassin on cwp
« Reply #6 on: August 15, 2016, 02:15:18 PM »
a-ha! it seems all the config is done in /etc/amavisd.conf

Offline
*****
Re: How to config spamassassin on cwp
« Reply #7 on: August 21, 2016, 09:04:20 AM »
Hello.

For spamassassin make sure you have next changes at Postfix configs.
/etc/postfix/master.cf

Code: [Select]
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:

Code: [Select]
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.
« Last Edit: August 23, 2016, 10:13:29 AM by Igor S. »
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to config spamassassin on cwp
« Reply #8 on: August 21, 2016, 10:59:06 AM »
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





Offline
**
Re: How to config spamassassin on cwp
« Reply #9 on: August 22, 2016, 08:06:22 PM »
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..
 

Offline
*****
Re: How to config spamassassin on cwp
« Reply #10 on: August 23, 2016, 10:09:55 AM »
Hello, tristar78.
Sure, you can upgrade it just like for any other CentOS.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to config spamassassin on cwp
« Reply #11 on: August 25, 2016, 05:31:44 AM »

and SA config:


where is SA config locate?

Offline
*
Re: How to config spamassassin on cwp
« Reply #12 on: November 26, 2016, 02:42:53 PM »
where is SA config locate?

Offline
*****
Re: How to config spamassassin on cwp
« Reply #13 on: December 05, 2016, 10:53:08 AM »
Hello,
check the /etc/mail/spamassassin/local.cf

where is SA config locate?
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to config spamassassin on cwp
« Reply #14 on: May 14, 2019, 09:09:47 AM »
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?