spamass-milter problem

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

Moderator: ScalixSupport

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

spamass-milter problem

Postby leiw » Thu May 24, 2007 5:53 am

Hello,

I create this new post for my spamass-milter problem, after I added all contents on
sendmail.cf and then restart the spamass=milter appear following error:

[root@scalix init.d]# service sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [FAILED]
Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 1865: milter_set_option: invalid Milter option macros.envcrpt
WARNING: Xspamassassin: local socket name /var/run/spamass-milter/spamass-milter.sock missing
[FAILED]
Starting sm-client: [ OK ]

I use yum t o installed the spamass-milter, so I think the spamass-milter.sock path
is incorrect .

Thanks !!

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Thu May 24, 2007 6:17 am

ok, I tried to do add the following line to sendmail.mc,

Xspamassassin, S=local:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m

and then make -C /etc/mail

[root@scalix init.d]# make -C /etc/mail
make: Entering directory `/etc/mail'
make: Leaving directory `/etc/mail'

that can successfully to restart the sendmail

[root@scalix init.d]# service sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]

verify the /var/log/maillog.

http://www.wilson-kwok.com/log2.txt

and cannot sent one message from local user to local user

http://www.wilson-kwok.com/log3.txt

Thanks !!

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Fri May 25, 2007 11:04 am

Anybody can help ? :oops:

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Fri May 25, 2007 5:39 pm

Typically, you want to send to the top level domain, since your MX record would resolve no-ip.org to leiw.no-ip.org.

Does your /etc/hosts have an entry for leiw.no-ip.org?? If it doesn't add one, and you should be good to go.

Good luck!

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Sat May 26, 2007 2:32 am

dougp23 wrote:Typically, you want to send to the top level domain, since your MX record would resolve no-ip.org to leiw.no-ip.org.

Does your /etc/hosts have an entry for leiw.no-ip.org?? If it doesn't add one, and you should be good to go.

Good luck!


I know what you mean , I can sent any email to yahoo or local account, but after

config the spamass-milter I cannot sent any email, no problem about noip.


Thanks

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Sat May 26, 2007 11:34 am

It's not spamass-milter that is the problem.

If you google the Sendmail error you are seeing in maillog, you will see various possibilities. All spamass-milter does is to scan incoming messages, that's it. Doesn't attempt delivery or anything like that (that's left up to sendmail and procmail).

Good luck.

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Sat May 26, 2007 12:32 pm

So you mean my Scalix no sendmail log appear ?

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Sun May 27, 2007 11:43 am

The /var/log/maillog does not appear spamd message ... what happed of that ?

and how ot test spamassassin mail in scalix ?

thanks

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Mon May 28, 2007 3:39 am

I was tried sent a spam form yahoo to scalix server, still cannot block spam mail.

May 28 15:56:37 leiw sendmail[13608]: l4S7uaO2013608: from=<foolishegg824@yahoo.com.hk>, size=8883, class=0, nrcpts=1, msgid=<637204.27116.qm@web37414.mail.mud.yahoo.com>, proto=ESMTP, relay=root@localhost
May 28 15:56:37 leiw sendmail[13609]: l4S7ub48013609: from=<foolishegg824@yahoo.com.hk>, size=9063, class=0, nrcpts=1, msgid=<637204.27116.qm@web37414.mail.mud.yahoo.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
May 28 15:56:37 leiw sendmail[13608]: l4S7uaO2013608: to=<wilson@leiw.no-ip.org>, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=38883, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l4S7ub48013609 Message accepted for delivery)
May 28 15:56:37 leiw sendmail[13615]: l4S7ub48013609: to=<wilson@leiw.no-ip.org>, delay=00:00:00, xdelay=00:00:00, mailer=scalix_mime, pri=129063, relay=leiw, dsn=2.0.0, stat=Sent (Ok)


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests