Internet -> Mailscanner -> Exchange 2000

Mike Kercher mike at CAMAROSS.NET
Fri Aug 8 04:03:10 IST 2003


This is actually a very simple process.

Say your TLD is domain.com

You make the MX record in DNS point to the IP of your sendmail/MailScanner
machine.

You add an entry to /etc/mail/relay-domains:

domain.com

Add an entry to /etc/mailertable:

domain.com              smtp:hostname.exchange.server

Save your file and hash it.

Restart MailScanner and you are done.

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Ugo Bellavance
Sent: Thursday, August 07, 2003 9:40 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Internet -> Mailscanner -> Exchange 2000


Hi,

        I searched through the archives, but didn't find anythig relevant.
I am looking forward to use Mailscanner in front of my Exchange 2000 server
(by the way, it could be any SMTP server).  I read the docs, but in all
cases, it talks about mailscanner being installed on the machine where the
actual mailboxes are.  What I want to do is filter out spam and viruses
(although I have symantec AV for exchange) with mailscanner, in the DMZ, and
then send the filtered messages to my  Exchange 2000 server.  Right now, my
Exchange 2000 server receives mail directly from the internet and I don't
really like that.  I would, at least, want to have a mail relay in my DMZ
(so that I wouldn't care too much if it's compromised, since there is a
firewall between it and my LAN), that sends the messages to my internal
Exchange server.  Of course, since MailScanner can filter spam and viruses,
I would like to implement that as well.

        How do I do that?  simply putting my exchange 2000 server as a
"relay_host" in postfix?  I tried a few things, like playing with the
transport file, but the result is that it sent the mail to the Exchange
server, but without scanning for virus and filtering spam.  How do I know it
is not scanned?  I don't see these messages in my logs:

Aug  7 07:48:20 server MailScanner[4450]: New Batch: Scanning 1 messages,
501 byte s Aug  7 07:48:34 server MailScanner[4450]: Virus and Content
Scanning: Starting Aug  7 07:48:34 server MailScanner[4450]: Uninfected:
Delivered 1 messages

Thanks,

Ugo Bellavance,
-----------------------------
What do you plan to do with all your freedom? http://www.gnu.org/




More information about the MailScanner mailing list