stuck with a real problem...

Mike Kercher mike at CAMAROSS.NET
Fri May 28 04:48:04 IST 2004


Get rid of the SmartHost entry and use the mailertable route.

Set the MX for your domain to be the IP of your MailScanner box only.

Add your_domain.com to /etc/mail/relay-domains

Add an entry to /etc/mail/mailertable:

yourdomain.com        esmtp:[xx.yy.zz.mm] (IP of your Exchange server IN THE
BRACES to avoid DNS lookups)

hash the mailertable to db and restart MailScanner

Mike



________________________________

        From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
On Behalf Of Dene Ulmschnieder
        Sent: Thursday, May 27, 2004 7:07 PM
        To: MAILSCANNER at JISCMAIL.AC.UK
        Subject: stuck with a real problem...



        Hey All-



        We have been trying to resolve this for a few days now and we keep
getting stuck. Any help would be GREATLY appreciated.



        We are running:

        RHL 7.3 Server with MailScanner 4.29.7 with SA (hosting server)

        Windows 2003 SBS (our ADC)



        The RHL server is virtually hosting several domains for customers of
ours as well as currently hosting our OWN email and web. We are trying to
move all of our own email off of the virtual server and onto the Windows
server to use Exchange. We still want to have our own mail scanned before it
is sent to the Exchange server. We have read the FAQs and MAQs for this task
and have tried implementing the suggested solution with no success. We keep
getting errors sent back to all test emails stating "too many hops".



        I believe the problem is that we have had to set a "smart host"
definition in the Sendmail config on the RHL server. This is due to the fact
that we are running on a dynamic IP address and some ISPs are blocking relay
form dynamic IPs. To resolve this - we have set the smart host to our ISPs
mail server and it works fine all by itself.



        When we recently tried setting the mailertable to forward all of our
domains email to the internal IP address of the Exchange server - I think
the smart host definition in Sendmail config is over ruling the mailertable
and it is still sending the mail out - but it is sending it to the ISP mail
server instead of the internal address. It even does this when we set the
mailertable to "ignore MX for SMTP"



        Can anyone offer a way around this?



        Regards,



        Dene Ulmschneider

        142 Willis Avenue

        Mineola, N.Y. 11501

        tel:        866.MY.PC.HELP

        fax:       718.228.2657

        web:     www.datatechie.com <http://www.datatechie.com/>

        email:   dene at datatechie.com





        -------------------------- MailScanner list ----------------------
        To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
        Before posting, please see the Most Asked Questions at
        http://www.mailscanner.biz/maq/ and the archives at
        http://www.jiscmail.ac.uk/lists/mailscanner.html


-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list