Thanks :)
Adam King IT Systems Administrator Skipton Girls High School 01756 707600 www.sghs.org.uk
----- Original Message ----- From: "Reindl Harald" h.reindl@thelounge.net To: "CentOS mailing list" centos@centos.org, kinga@sghs.org.uk Sent: Monday, 11 August, 2014 5:55:22 PM Subject: Re: [CentOS] Use postfix and spamd on CentOS 6 - looking for a shortest guide
Am 11.08.2014 um 18:43 schrieb Adam King:
Can you explain why you'd use milter over spamassassin? Genuinely interested as we could certainly get better spam filtering...
just becaus eit is the only way where you can *block and reject* spam instead still deliver it with a special subject
http://www.postfix.org/MILTER_README.html
without a milter your only choices are:
* deliver crap * get a backscatter and get blacklisted * drop messages while pretend you accepted them and go to jail
"-r 6" = reject with a score of 6 and bigger spamass-milter -p /run/spamass-milter/spamass-milter.sock -g sa-milt -r 6
----- Original Message ----- From: "Alexander Dalloz" ad+lists@uni-x.org To: "CentOS mailing list" centos@centos.org Sent: Monday, 11 August, 2014 5:01:16 PM Subject: Re: [CentOS] Use postfix and spamd on CentOS 6 - looking for a shortest guide
Am 2014-08-11 13:38, schrieb Alexander Farber:
Hello fellow CentOS-users,
on the net there are lots of Spamassassin related HOWTOs - describing how to create a shell script for Postfix and how to install Spamassassin and start its spamd daemon - step by step. Additionally antivirus setups are described...
But I have a strong feeling, that this is unneeded on CentOS 6 - because there are already preconfigured stock packages for postfix and spamassassin.
So I have installed the both packages and I have configured postfix (it works fine).
Also I have started the spamd (and can see it in "ps uawx") with:
# chkconfig spamassassin on # service spamassassin start
So I'm just missing the connection between postfix and spamd.
Could anybody using these 2 programs on CentOS 6 please share it with me?
[ ... ]
Do yourself a favour and use a milter instead of piping each single mail through spamassassin.
http://pkgs.org/centos-6/epel-x86_64/spamass-milter-0.3.2-3.el6.x86_64.rpm.h...
Then add something like
smtpd_milters = unix:/var/run/spamass-milter/postfix/sock inet:127.0.0.1:8891 non_smtpd_milters = $smtpd_milters milter_default_action = accept
to your Postfix' main.cf and configure the milter flags in /etc/sysconfig/spamass-milter