Message is not filtered via SWA

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

Moderator: ScalixSupport

hafiz
Posts: 28
Joined: Wed Jun 25, 2008 11:33 pm

Message is not filtered via SWA

Postby hafiz » Thu Jun 26, 2008 3:19 am

Ok guys, this is my first post so please be gentle on me :lol:

Before I elaborate more details of the issue below is my system specs

CentOS5.1
Scalix 11.4
MailScanner with ClamAV and SA
MailWatch

So to start on, I manage to setup Scalix and integrate with MailScanner and Mailwatch successfully. No issue found so far except a little problem with the SWA.

I can see that if users sending e-mail via SWA to any local recipient, the mail is not getting filtered at all by MailScanner. But if the e-mail is intended to outsiders, it went through sendmail and via MailScanner. I read some post on the forums saying that sendmail is not able to auth the user via SWA ? Is that true ?

Q1 : If I would like to get SWA mails filtered for all recipient including local domains, how do I accomplish that ? I dont see any issue for POP3 and IMAP as both method are sent to MailScanner.

Q2 : Port 587 is used by Scalix I believe, so is there anyway I can change this port since it used as a secondary SMTP port for users connecting back to the server as our ISP blocked port 25. Does changing SUBMIT port in smtpd.cfg will do ?

Below is my configuration so far :

smtpd.cfg

Code: Select all

EXTENSIONS=AUTH,DSN,8BITMIME
SMTP=OFF
SUBMIT=ON
SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .localdomain
RELAY accept scalix.localdomain
RELAY Log_Reject ALL
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
[SUBMIT]
LISTEN=scalix.localdomain:587
ANONYMOUS Log_Reject ALL
[LMTP]
LISTEN=localhost:24


swa.properties

Code: Select all

swa.version=11.0
swa.email.domain=scalix.localdomain
swa.email.imapServer=scalix.localdomain
swa.email.smtpServer=scalix.localdomain:587
swa.email.userNameIncludesDomain=false
--snip--


/etc/mail/sendmail.mc

Code: Select all

---snip---
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
---snip---


Help and advise is greatly appreciated :)

Thanks

hafiz
Posts: 28
Joined: Wed Jun 25, 2008 11:33 pm

Postby hafiz » Thu Jun 26, 2008 5:09 am

I have been pulling my hair to get sendmail working with mailscanner especially on those filtering issue ... i believe its time to change to postfix

postfix seems more user friendly and versatile .. I gotta try this.

hafiz
Posts: 28
Joined: Wed Jun 25, 2008 11:33 pm

Postby hafiz » Fri Jun 27, 2008 3:02 am

ok I manage to get Scalix working with MailScanner, MailWatch at the end but with Postfix instead of Sendmail

1. SWA outbound mails is being scanned now
2. POP3 and IMAP also being scanned by MailScanner
Also manage to get SASL working for outbound mails .. some of the how-to information seems not relevant to apply in CentOS, maybe need some clean-up
3. And lastly it logs everything to MailWatch ..

I'm still testing this solution to make sure it runs smoothly on production server

P/s : Scalix should reconsider switching to Postfix instead of Sendmail. Postfix rocks !


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest