Page 1 of 1

RedHat + Scalix + MailScanner = can not get it working

Posted: Thu Oct 04, 2007 3:03 am
by kizurazgubai
Hey folks

I'm busy trying to configure MailScanner on an existing RHEL4u5 system running Scalix 11.0.4. I have searched for and read through numerous posts on the forums related to the subject of MailScanner. I have noted some posts stating success with the endeavour to set up MailScanner with Scalix, but they were lacking in details.

If anyone could be so kind as to elaborate a little, mayhap even provide a little bit of a step by step howto, that would be sorely appreciated.

Thus far, my efforts have not yielded much success.

What I had done so far is as follows:
I stopped smtpd with: omoff -d0 smtpd
I stopped sendmail with: /etc/init.d/sendmail stop
I have installed the MailScanner RPM package.
I created the folder /var/spool/mqueue.in and set the appropriate permissions and ownerships.
I modified the MailScanner config to reflect the queue directories:

Code: Select all

...
Incoming Queue Dir = /var/spool/mqueue.in
Outgoing Queue Dir = /var/spool/mqueue
...


In my /etc/mail/sendmail.cf, I have made the following changes:

Code: Select all

...
O PrivacyOptions=noetrn
O DeliveryMode=queueonly
O QueueDirectory=/var/spool/mqueue.in
O DaemonPortOptions=Port=smtp,Name=MTA
...


In my /var/opt/scalix/s1/s/sys/smtpd.cfg I have made the following changes:

Code: Select all

...
SMTPFILTER=TRUE
SMTP=OFF
SUBMIT=ON
...
LISTEN=<IP.OF.THE.HOST>:587


In my /var/opt/scalix/s1/webmail/swa.properties i have amended the line:

Code: Select all

...
swa.email.smtpServer=<host.name.of.box>:587
...


After these changes were made, i ran omsendin

I then started MailScanner: /etc/init.d/MailScanner start
I waited a little while, then started smtpd with: omon smtpd

Here is where things go pear shaped.

When I tail /var/log/maillog, I see Mailscanner starting up, and then nothing.
No mails are received, no errors are generated. Nothing.

I have tested by sending from the SWA to a 3rd party email, nothing in /var/log/maillog.
I have tested by sending to the Scalix user from 3rd party email, nothing in /var/log/maillog.

If you have spotted anything obvious, or not so obvious that I am doing wrong, please let me know.

Thank you in advance
Rudi