MWES with Scalix

MWES with Scalix

I have had Scalix running fine, using Sendmail Milter for Amavisd-new (virus scanning) and MIMEDefang for a 'boilerplate'.
I now want to add MailWasher ES. The basic problem is this :

In its standard configuration, Scalix listens on port 25 and then forwards all emails to Sendmail. When Sendmail passes the email to MWES (using milter) the source IP always appears as localhost, so MWES always PASSes the email.

To avoid this, I needed to change the Scalix config so that sendmail listens on port 25, and then forwards to Scalix. This caused problems with authentication when sending mail from Outlook as well as Scalix Webmail.

Has anyone else had this problem? Any HOWTOs on the subject? I have put up a message on the scalix forums :