question for sendmail experts

S Mohan smohan at vsnl.com
Wed Feb 12 01:37:22 GMT 2003


Restarting MailScanner will restart sendmail which, as a rule on
startup, will build all the hash tables like virtusertable, aliases,
mailertable etc for every run/ invocation. Useful to do so lest we miss
a step.

Mohan

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Brad White
Sent: Wednesday, February 12, 2003 5:57 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: question for sendmail experts


You can easily do this with the mailertable feature.  If you are running
a recent RedHat it's enabled in the cf already.  You add an entry like
this into /etc/mail/mailertable:

domain.com     smtp:[ip.of.internal.server]

Then in /etc/mail/relay-domains you add the domain name that you added
above, domain.com on a line by itself.

Then, while in /etc/mail, type make all, and for luck restart
mailscanner(can't remember if this step is required).

Change your mx record to point to your mailscanner server and your done.
Mail will come from the Internet, hit you scanner, get scanned, and the
requeued for delivery to the real server.

brad



        -----Original Message-----
        From: Mack Ragan [mailto:ragan_davis at COLSTATE.EDU]
        Sent: Tue 2/11/2003 1:54 PM
        To: MAILSCANNER at JISCMAIL.AC.UK
        Cc:
        Subject: question for sendmail experts



        Hi!

        I need some hints.  I would like to have all incoming mail hit
my
        mailscanner/sendmail box, be scanned/cleaned, and then be sent
unaltered to
        an internal mail server for delivery to internal mailboxes.  By
unaltered,
        I mean I want the messages to be exactly the same minus any
mailscanner
        changes.  I know there's some way within sendmail.cf to make
this happen,
        but I can't seem to find the right combination.  Anyone have any
        suggestions as to how I should configure sendmail?

        Versions:
        MailScanner v4.12-2
        Sendmail v8.12.7
        RedHat Linux v8.0

        Thanks for your help!
        Mack




More information about the MailScanner mailing list