SpamAssassin doesn't work :(

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

Neo van Matix

SpamAssassin doesn't work :(

Postby Neo van Matix » Sun Sep 28, 2008 9:56 am

Hi,

i set up an actual Scalix-Server and tried to setup spamassassine like described in this tutorial:
http://www.scalix.com/wiki/index.php?ti ... amAssassin

So, my problem: If i get a mail, the /var/log/mail (SuSE 10.2) says the following:

Code: Select all

Sep 28 16:46:23 scalix spamass-milter[6994]: spamass-milter 0.3.1 starting

Sep 28 16:46:52 scalix sendmail[7059]: m8SEkqVj007059: Milter (spamassassin): error connecting to filter: Connection refused by /var/run/spamass.sock
Sep 28 16:46:52 scalix sendmail[7059]: m8SEkqVj007059: Milter (spamassassin): to error state
Sep 28 16:46:52 scalix sendmail[7059]: m8SEkqVj007059: from=<snosong@googlemail.com>, size=2255, class=0, nrcpts=1, msgid=<ddaf469a0809280746m6033fd7crc0938ebf106c5ba8@mail.gmail.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Sep 28 16:46:53 scalix sendmail[7068]: m8SEkqVj007059: to=<bastian@snowsong.de>, delay=00:00:01, xdelay=00:00:01, mailer=scalix_mime, pri=122255, relay=scalix, dsn=2.0.0, stat=Sent (Ok)


So, in the tutorial, there's a section that "describes" this error:

Setup Milter:

Code: Select all

cd spamass-milter-0.3.1/
./configure
make
make install
cd /usr/local/sbin/
ls -la
spamass-milter -p /var/run/spamass.sock -D localhost -x


"after getting following error: Milter (spamassassin): error connecting to filter: Connection refused by /var/spamass/spamass.sock i changed the .sock and it works "

Code: Select all

spamass-milter -p /var/run/spamass-milter.sock -f



Okay,.. if i execute the following:
spamass-milter -p /var/run/spamass.sock -D localhost -x
Nothing happens... after 5 minutes i pressed STRG+C. Restartet the Server, look into the mail-Log, same error. Then i tried this command:
spamass-milter -p /var/run/spamass-milter.sock -f
Restart, Maillog: Same Error.

Then:
spamass-milter -p /var/run/spamass.sock -f
Restart, Maillog: Same Error.

Why? I find no solution :( Someone could help me? Its only a little option or an short command, for sure -_-

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Postby PrisonMind » Tue Sep 30, 2008 2:19 pm

hi neo,

i didn´t read the howto,
but we have this error sometimes on systems...
it's between spamass-milter and sendmail. Your sendmail.mc should have a line like:

INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock, F=,
T=C:10s;S:10s;R:30s;E:2m')dnl

, and your spamass-milter commandline should have the same path:
"-p /var/run/spamass.sock"


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 4 guests

cron