SpamAssassin help needed

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

Moderator: ScalixSupport

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Fri Apr 20, 2007 9:18 am

OK did some re-checking.

Where is the correct smtpd.cfg file?
var/opt/scalix/xx/s/sys/smtpd.cfg or var/opt/scalix/xx/s/release.sys/smtpd.cfg

I will assume the first one anthough the second location has a modified date of my last Scalix update. I think I edited the worng file.

Thanks.

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Fri Apr 20, 2007 9:56 am

OK, round 2.

I read the SPAMASSIN How To and found out that the correct file to edit is the var/opt/scalix/XX/s/sys/smtpd.cfg file and that for SUSE the etc/sendmail.cf is the correct other file to edit. Once I made sure these were edited correctly I rebooted by server to restart/set everything.

I got the following error in the startup log:


UNKNOWN CONFIG LINE ERROR: INPUT_MAIL_FILTER(`mailwasher_server', `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:4m;R:4m')

UNKNOWN CONFIG LINE ERROR: define(`confINPUT_MAIL_FILTERS', `mailwasher_server')

For somreason it didn't like these lines. Both MW services started and so did sendmail. Any ideas? Maybe a pathing problem?

jillrae

jpreston
Posts: 26
Joined: Thu Mar 02, 2006 6:17 pm
Location: Columbus, OH
Contact:

Postby jpreston » Fri Apr 20, 2007 11:53 am

Jillrae,

Well, those lines do not go into the /etc/sendmail.cf file, instead, they go into the /etc/sendmail.mc file. Then you have to compile /etc/sendmail.mc with m4 and use that result as your /etc/sendmail.cf.

This is from the MailWasher HowTo...

Modify sendmail.mc to configure MailWasher

Next, we need to add two lines to the end of your /etc/mail/sendmail.mc file.

Code:

INPUT_MAIL_FILTER(`mailwasher_server', `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:4m;R:4m')
define(`confINPUT_MAIL_FILTERS', `mailwasher_server')

NOTE: For the sake of argument, do not include any blank lines between commands in the sendmail.mc file!

Compile sendmail.mc into a fresh sendmail.cf

Now, we need to compile the sendmail configuration. This step requires the sendmail-cf package to be installed, so if it isn't installed, please do so before proceeding.

Code:

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

...

Or for your install,

m4 /etc/sendmail.mc > /etc/sendmail.cf

Hope that helps.

Joshua.
-- Joshua Preston
joshua@prestoncentral.com


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests

cron