How to scan mail going out?

Kevin Miller Kevin_Miller at CI.JUNEAU.AK.US
Thu Feb 5 18:31:44 GMT 2004

I think what you need to do is to put this line in your /etc/mail/access
file:           RELAY        RELAY

Be sure to run the makemap command after you edit /etc/mail/access to rebuid
the database, and of course, use your own IP addresses for your hosts or
subnet ranges rather than the sample one above.  Be sure to use tabs rather
than spaces in the entries.


Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Administrator, Mail
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500

-----Original Message-----
From: Carr, Daryl B. [mailto:DARYL at MONM.EDU]
Sent: Thursday, February 05, 2004 9:22 AM
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!

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list