Page 1 of 1

Proc Denied & SpamAssassin / SMTPFILTER=TRUE bounces all

Posted: Thu Jun 01, 2006 7:40 am
by KiwiStag
I've started getting ClamAV & SpamAssassin online following the numerous guides & support forums listed but am stuck on a couple of things:

1. Starting Scalix or restarting the SMTPD service I get the following line appear during the system coming back up:
/var/named/chroot/proc: Permission denied

2. When SMTPFILTER=TRUE ALL incoming e-mail is bounced back:

Code: Select all

Jun  1 23:30:45 mailserver sendmail[4525]: k51BUikv004525: from=<testuser@otherdomain.co.nz>, size=2313, class=0, nrcpts=1, msgid=<001001c6856e$fcbb7c00$0200a8c0@selene>, proto=ESMTP, relay=root@localhost
Jun  1 23:30:45 mailserver sendmail[4526]: k51BUjZI004526: <username@domainname.co.nz>... User unknown
Jun  1 23:30:45 mailserver sendmail[4525]: k51BUikv004525: to=<username@domainname.co.nz>, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=32313, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Jun  1 23:30:45 mailserver sendmail[4526]: k51BUjZI004526: from=<testuser@otherdomain.co.nz>, size=2313, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun  1 23:30:45 mailserver sendmail[4525]: k51BUikv004525: k51BUikw004525: DSN: User unknown
Jun  1 23:30:45 mailserver sendmail[4526]: k51BUjZK004526: from=<>, size=4474, class=0, nrcpts=1, msgid=<200606011130.k51BUikw004525@mail.domainname.co.nz>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun  1 23:30:45 mailserver spamd[2703]: connection from localhost.localdomain [127.0.0.1] at port 49019
Jun  1 23:30:45 mailserver spamd[2703]: info: setuid to sa-milt succeeded
Jun  1 23:30:45 mailserver spamd[2703]: processing message <200606011130.k51BUikw004525@mail.domainname.co.nz> for sa-milt:106.
Jun  1 23:30:46 mailserver spamd[2703]: clean message (-2.5/5.0) for sa-milt:106 in 1.2 seconds, 4860 bytes.
Jun  1 23:30:46 mailserver spamd[2703]: result: . -2 - ALL_TRUSTED,AWL,HTML_MESSAGE,MIME_HTML_MOSTLY scantime=1.2,size=4860,mid=<200606011130.k51BUikw004525@mail.domainname.co.nz>,autolearn=ham
Jun  1 23:30:46 mailserver sendmail[4526]: k51BUjZK004526: Milter add: header: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,HTML_MESSAGE,\n\tMIME_HTML_MOSTLY autolearn=ham version=3.0.5
Jun  1 23:30:46 mailserver sendmail[4526]: k51BUjZK004526: Milter add: header: X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on \n\tmailserver.domainname.co.nz
Jun  1 23:30:46 mailserver sendmail[4525]: k51BUikw004525: to=<testuser@otherdomain.co.nz>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=33337, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k51BUjZK004526 Message accepted for delivery)
Jun  1 23:30:48 mailserver sendmail[4531]: k51BUjZK004526: to=<testuser@otherdomain.co.nz>, delay=00:00:03, xdelay=00:00:02, mailer=relay, pri=124474, relay=smtp.ihug.co.nz. [203.109.252.42], dsn=2.0.0, stat=Sent (OK id=1FllPF-0002bK-00)


#2 is an example but the user DOES exist & processes perfectly when I comment out the line SMTPFILTER=TRUE

I also had to install spamass-milter too to resolve the socks problem. Instead of editing the sendmail.cf & put the lines into the .mc and it generated the correct lines into the .cf upon a remake.

The server is a Fedora Core 4 system.

Any ideas? :?

Posted: Thu Jun 01, 2006 9:57 am
by ScalixSupport
For item #2 - did you also re-run the command omsendin to re-add the Scalix rules ?

Cheers

Dave

omsendin

Posted: Fri Jun 02, 2006 4:52 am
by KiwiStag
So far so good. I just some incoming spam or general e-mail to test it :)

For item #2 - did you also re-run the command omsendin to re-add the Scalix rules ?


Code: Select all

Jun  2 20:44:32 cs0 sendmail[6735]: k528iWJT006735: from=<incominguser@otherdomain.org.nz>, size=2191, class=0, nrcpts=1, ms
gid=<000601c68620$ef613b00$0200a8c0@selene>, proto=ESMTP, relay=root@localhost
Jun  2 20:44:33 cs0 spamass-milter[2689]: Could not retrieve sendmail macro "b"!.  Please add it to confMILTE
R_MACROS_ENVRCPT for better spamassassin results
Jun  2 20:44:33 cs0 sendmail[6736]: k528iXHb006736: from=<incominguser@otherdomain.org.nz>, size=2417, class=0, nrcpts=1, ms
gid=<000601c68620$ef613b00$0200a8c0@selene>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun  2 20:44:33 cs0 spamd[2747]: connection from localhost.localdomain [127.0.0.1] at port 52969
Jun  2 20:44:33 cs0 spamd[2747]: info: setuid to sa-milt succeeded
Jun  2 20:44:33 cs0 spamd[2747]: processing message <000601c68620$ef613b00$0200a8c0@selene> for sa-milt:106.

Jun  2 20:44:36 cs0 spamd[2747]: clean message (0.0/5.0) for sa-milt:106 in 3.5 seconds, 2803 bytes.
Jun  2 20:44:36 cs0 spamd[2747]: result: .  0 - HTML_MESSAGE scantime=3.5,size=2803,mid=<000601c68620$ef613b0
0$0200a8c0@selene>,autolearn=ham
Jun  2 20:44:36 cs0 sendmail[6736]: k528iXHb006736: Milter add: header: X-Spam-Status: No, score=0.0 required
=5.0 tests=HTML_MESSAGE autolearn=ham \n\tversion=3.0.5
Jun  2 20:44:36 cs0 sendmail[6736]: k528iXHb006736: Milter add: header: X-Spam-Checker-Version: SpamAssassin
3.0.5 (2005-11-28) on \n\tcs0.southlandfishgame.co.nz
Jun  2 20:44:37 cs0 sendmail[6735]: k528iWJT006735: to=<inside.user@domainname.co.nz>, delay=00:0
0:05, xdelay=00:00:04, mailer=relay, pri=32191, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k528iXHb
006736 Message accepted for delivery)
Jun  2 20:44:38 cs0 sendmail[6743]: k528iXHb006736: to=<inside.user@domainname.co.nz>, delay=00:0
0:05, xdelay=00:00:01, mailer=scalix, pri=122417, relay=cs0, dsn=2.0.0, stat=Sent (Ok)

Posted: Mon Jun 05, 2006 12:48 pm
by codehaxor
thas the command lacking in the Knowledge base for setting up spamassassin in a scalix environment. It needed the omsendin. PLease add this to the knowledge base

Posted: Mon Jun 05, 2006 1:05 pm
by btisdall
omsendin isn't required when configuring the milter using the KB instructions, because in this case sendmail.cf is edited directly, leaving the lines inserted by the scalix installer in place.