Forget SpamAssassin, Use MailWasher with Scalix!

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

Moderator: ScalixSupport

crankshaft
Posts: 37
Joined: Tue Nov 28, 2006 4:25 am

Postby crankshaft » Tue Dec 05, 2006 6:35 am

Stefan;

OK, I've solved it !!

Download this, and overwrite the files in the /usr/bin folder

http://prdownloads.sourceforge.net/mail ... z?download.

Seems like 2.1.9 is broken for fedora somewhere !

Cheers

PeterC

Stefan_Blankenagel
Posts: 10
Joined: Thu Nov 30, 2006 8:46 am

Postby Stefan_Blankenagel » Tue Dec 05, 2006 5:05 pm

Hi Peter,

thanks it s working. I also mentioned it it he firetrust forum. Hope they will check the build.

best regards

Stefan

crankshaft
Posts: 37
Joined: Tue Nov 28, 2006 4:25 am

Postby crankshaft » Tue Dec 05, 2006 6:53 pm

OK, next problem is that I have no:

/var/opt/scalix/sys/smtpd.cfg

file !!

I do have the file located in /opt/scalix/template/release.sys/smtpd.cfg - however the location of this file leads me to think that it may be a template and not the actual config file ?!

the only folder in /vat/opt/scalix is "no" !

Should I create the folder and add this file ?? -if so why was it not added automatically ??

Thanx

PeterC

constant
Posts: 87
Joined: Wed Sep 14, 2005 2:27 am
Location: Cooroy, Australia

Postby constant » Wed Dec 06, 2006 2:47 am

.
If you're running Scalix 11, then the smtpd.cfg file is in /var/opt/scalix/jd/s/sys.

Further to that, install findutils-locate, run updatedb, and then you can do a locate to find files in situations like this.
.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Dec 06, 2006 3:10 am

Provided you have /opt/scalix/bin in your path, you can use:

Code: Select all

cd $(omrealpath "~/sys")


Cheers

Dave
Last edited by dkelly on Tue Dec 12, 2006 11:35 am, edited 1 time in total.

LIBIDO

Couldn't start web interface

Postby LIBIDO » Tue Dec 12, 2006 11:33 am

Hello all

I tryed to install mailwasher on linux Redhat Enterprise Linux 3. Then, installation script couldn't start web interface of mailwasher with following message:

Code: Select all

Starting MailWasher Server Web Interface Daemon: /usr/local/mwserver/bin/mwi: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory


Also, I couldnt find libldap-2.2.so.7 on all of RHEL3 CDs
How can I start web interface? Pls help me.

tnx,
LIBIDO

smjhays
Posts: 83
Joined: Thu Sep 28, 2006 2:07 pm

Postby smjhays » Tue Dec 12, 2006 4:26 pm

This is referring to the openldap2-client module, which that version only seems compatible with SuSe and Fedora (up to Core 4). Maybe you have the wrong version of MailWasher???

constant
Posts: 87
Joined: Wed Sep 14, 2005 2:27 am
Location: Cooroy, Australia

Postby constant » Tue Dec 12, 2006 4:32 pm

.
I installed Mailwasher on openSuSE 10.1. All I had to do was change to the following line:

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

To:

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

It works great.
.

LIBIDO

Postby LIBIDO » Wed Dec 13, 2006 6:50 am

smjhays wrote:This is referring to the openldap2-client module, which that version only seems compatible with SuSe and Fedora (up to Core 4). Maybe you have the wrong version of MailWasher???


tnx for reply,
I've executed installer named "mailwasherxxx-noldap.bin". it's worked :) :P :oops: 8)

LIBIDO

LIBIDO

Postby LIBIDO » Wed Dec 13, 2006 6:50 am

smjhays wrote:This is referring to the openldap2-client module, which that version only seems compatible with SuSe and Fedora (up to Core 4). Maybe you have the wrong version of MailWasher???


tnx for reply,
I've executed installer named "mailwasherxxx-noldap.bin". it's worked :) :P :oops: 8)

LIBIDO

viking
Posts: 18
Joined: Thu Aug 10, 2006 4:56 am

Postby viking » Fri Dec 15, 2006 7:02 am

I folowed your howto but have a few problems:
I'm facing the same problems on Suse 10 with scalix 10.05 and with Suse 10.1 with Scalix 11 RC2.

When I want to start sendmail /etc/init.d/sendmail restart I get the following error:


server:/var/run/mwserver # Initializing SMTP port (sendmail)554 5.0.0 /etc/sendmail.cf: line 156: unknown configuration line "
-bash: syntax error near unexpected token `('
server:/var/run/mwserver # "
> WARNING: Xmailwasher_server'': local socket name /var/run/mwserver/mpd.sock' missing
> startproc: exit status of parent of /usr/sbin/sendmail: 70
> failed

I removed the unexpexted token from sendmail.cf
mpd.sock is present the the directory.

please help, because i really want to install this spamfilter

Thanks
>

LIBIDO

"Real-time blackhole list services" is not running

Postby LIBIDO » Fri Dec 15, 2006 8:21 am

Hello all

My "Statistical content analysis" of mailwasher is working fine. But i can't execute ""Real-time blackhole list services". I'm added new service to this section with following configuration:

Service name Spamhaus block list (SBL)
Server type IP-based server blacklist Sender domain blacklist
Domain name sbl.spamhaus.org
Action on match Quarantine


So, when i clicked on update button, It has displayed nothing.

I found following report from satistics:

Statistics for all messages
Number of emails received 4984
Number of emails from globally whitelisted addresses 0
Number of emails from personally whitelisted addresses 0
Number of emails marked with a header field 111 (2.2%)
Number of emails quarantined without notification 16 (100.0%)
Number of emails quarantined, and the sender notified 0 (0.0%)

Reason for filtering
Of those 16 filtered emails: 0 (0.0%) were from addresses on the global address blacklist
0 (0.0%) were from addresses on personal address blacklists
0 (0.0%) were listed by real-time blackhole list services
0 (0.0%) were listed by the FirstAlert! service
1618 (10112.5%) were guessed to be junk by statistical analysis


FirstAlert! category breakdown:

Junk Mail Submissions Number of messages submitted by users as junk messages: 0
Number of invalid junk message submissions: 0
Number of junk messages uploaded to FirstAlert!: 0


What's wrong? Please help me

Best wishes,
LIBIDO

viking
Posts: 18
Joined: Thu Aug 10, 2006 4:56 am

Postby viking » Mon Dec 18, 2006 10:44 am

Solved my problem finally after a week.

I used the wrong quote's in the linux.mc.

Note that each quoted string in the text above starts with the backquote, `, but ends with a normal single quote, '.

Now everything is working.

hughesjr
Posts: 32
Joined: Wed Dec 20, 2006 3:00 pm
Contact:

Postby hughesjr » Sun Dec 24, 2006 3:09 pm

The problem mentioned here about the required --with-bdb on verison 2.1.9 is because BDB > 4.3 is required to build.

That version is not RHEL-3 or 4 ... which I think is counterproductive for the mailwasher people to do.

I am going to see IF it really requires that version or if building against an older BDB will work.
--
Johnny Hughes
CentOS-4 Lead Developer

hughesjr
Posts: 32
Joined: Wed Dec 20, 2006 3:00 pm
Contact:

Postby hughesjr » Fri Dec 29, 2006 8:30 am

OK ... wrt BDB mode,

I guess building against a newer version is OK ... openldap includes a newer version inside it's SRPM and builds against a newer version too.

openldap, does include it's own database tools too, and mailwasher does not.

In the case of mailwasher, you would need to build new tools to do things with the the databases, if required.

Probably the best solution for RHEL/CentOS is to have version 4.4.20 version of db4 installed and to have it provide a compat-db4 that works with the currently compiled items too. Then you SHOULD be able to use the new db4 tools for mailwasher and the compat db4 tools for other programs. That version of db4 does not exist and would have to be produced for RHEL4/CentOS4.

(It might also be possible to use the openldap database tools to do things to the mailwasher bdb files ... not sure though.)

I have not looked into this that greatly yet, but it does seem to me to that the best way would be the upgraded db4-4.4.20 and and compat-db4. (I saw several posts on the mailwasher forums where they recommended downloading and building bdb to get some database tools to fix bdb corruption issues).
--

Johnny Hughes

CentOS-4 Lead Developer


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest

cron