Page 1 of 1

Sendmail Smarthost and MxLogic -RESOLVED

Posted: Tue Feb 17, 2009 11:31 am
by jgravert
I'm having issues setting up Smarthost for sendmail.

I'm running CentOS 5.2 64-bit and Scalix 11.4.3. using stunnel for SSL on a New Installation.

Everything is configured and working properly. I subscribe to the MxLogic mail service for both Inbound and Outbound filtering. Right now the server is sending mail out directly and I wish to have all outbound emails be sent via MxLogic.

I have followed all the instructions on setting this up have edited my sendmail.mc and compiling sendmail.cf running omsendin then restarting sendmail.

After adding the following to .mc the only thing that happens is my server no longer sends mail out.
define('SMART_HOST', 'mydomain.com.outbound15.mxlogic.net')dnl

Yes I have added this info prior to any MAILER_DEFINITIONS.

Has anyone actually setup thier Sendmail Smartrelay for use with something like MxLogic? Or does anyone have an answer to my issue.

I can't imagine this should be that difficult. But I am at a loss.

Please help. Thanks. :(

Re: Sendmail Smarthost and MxLogic

Posted: Tue Feb 17, 2009 2:18 pm
by dirk
jgravert wrote:define('SMART_HOST', mydomain.com.outbound15.mxlogic.net)dnl


the example in sendmail.mc says

Code: Select all

dnl define(`SMART_HOST', `smtp.your.provider')dnl

so it looks like a syntax error in your .mc

Posted: Tue Feb 17, 2009 6:42 pm
by jgravert
If I place dnl in front of define doesn't m4 reject this. I thought that dnl comments out any entry behind it. similar to #.

Is this not the case?

How should the syntax be in the sendmail.mc file for SMART_HOST to work?

my entry in sendmail.mc is as follows:

define('SMART_HOST', 'mydomain.com.outbound15.mxlogic.net')dnl

RESOLVED

Posted: Tue Feb 17, 2009 8:53 pm
by jgravert
It appears there were issues with MxLogic. For some reason DNS resolution wasn't working today for the domain name.

The second issue after this was resolved was MX resolution on the Server itself. I had to change the DNS server to get it to resolve correctly even though I was able to ping the domain.

Thanks for the help.