How to scan mail going out?

Carr, Daryl B. DARYL at MONM.EDU
Fri Feb 6 14:46:40 GMT 2004

Thank you for the reponses to my question about directing outgoing mail
through MailScanner.  The suggestions were accurate.  Mail seems to be
flowing and scanned!

I did however, have to go to (Exchange System Manager) Admin
Groups->MyGroup->Routing Groups->MyGroup->Connectors->Main Internet
Service->Properties and set the IP in "Forward all mail...".

Thanks again and sorry about the HTML.

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Mark Spieth
Sent: Thursday, February 05, 2004 12:33 PM
Subject: Re: How to scan mail going out?

2 parts here. 

On the Redhat Box setup in /etc/mail/access a relay entry so that the
exchange server can relay mail via your redhat box.  E.g.    relay

Then on your exchange server open your exchange manager. 
Open Servers->servername->protocols->smtp->default smtp Virtual Server
Right click on the default smtp server and choose properties. Then go to
the delivery tab and click advanced. Put the IP address of your redhat
box in the Smart Host section and restart the smtp service. All outbound
email will then route through the redhat box rather than having the
exchange server attempt to deliver it directly. Also make sure that the
attempt direct delivery box is unchecked.


Mark Spieth - Director of Internet Services
Northeast Ohio Digital Inc.
mspieth at
CONFIDENTIALITY NOTICE: The materials attached hereto are confidential
and the property of the sender. The information contained in the
attached materials is privileged and/or confidential and is intended
only for the use of the above-named individual(s) or entity(ies). If you
are not the intended recipient, be advised that any unauthorized
disclosure, copying, distribution or the taking of any action in
reliance on the contents of the attached information is strictly
prohibited. If you have received this transmission in error, please
discard the information immediately
-----Original Message-----
From: Carr, Daryl B. [mailto:DARYL at MONM.EDU] 
Sent: Thursday, February 05, 2004 1:22 PM
Subject: How to scan mail going out?

We have just set up MailScanner 4.25-10 on a Redhad Linux 9 machine. We
are using Sendmail 8.12.8 and Perl 5.8.0. Currently, the flow of
messages is like this:
all SMTP traffic incoming to -> firewall(with rule) ->
MailScanner -> Exchange 2003 server (ip:
To make the last step happen (MailScanner->Exchange 2003), we added a
line to /etc/mail/mailertable like this: smtp:[]
So that flow works perfectly. But now we would like to add the outgoing
traffic to the mix. The Exchange 2003 server is delivering directly and
not going through MailScanner. We would like mail to travel:
Exchange 2003 Server (all messages from <manysomeones> ->
MailScanner -> Recipient
We have used telnet to drop messages off to the MailScanner machine and
they are delivered through the firewall just fine. But when we tell the
exchange 2003 server to deliver the messages to the MailScanner, they do
not get delivered although we can tell that they are getting pushed off
to the MailScanner machine. We had also added a line to the
relay-domains file for
Thanks for any help!

More information about the MailScanner mailing list