I'm trying to install a new mail gateway using MailScanner and
SpamAssassin but having a sendmail problem. This worked fine in my test
environment. 

I'm trying to replace our current mail server with this new one. I have
relaying allowed for our domain, and then I have a mailertable set for
our domain that tells it to deliver those addresses to a certain
internal SMTP server. It seems to be ignoring mailertable and still
trying to just relay it by the MX record. 

For example, if I put this server in place of the original one, so the
current MX record is pointing to the new one, when it tries to deliver
mail it says there a loop and the MX record points to itself. That is
true, the MX records points to itself, but it should be delivering mail
according to the mailertable. (at least I think it should)

If I move the new sendmail server to a different email address, it then
sends the mail through the old mail server, still ignoring the
mailertable. 

I've manually modified /etc/mail/mailertable and also set it through
webmin. I've restarted sendmail by itself (with MailScanner stopped) and
I've also done it as part of the normal MailScanner process. I also
tried running /usr/sbin/makemap hash mailertable < mailertable. 

The mailertable entry is: .mydomain.com      esmtp:192.168.1.10

The server is Redhat 7.3 and Sendmail is 8.11.6-15.What am I missing?
Any ideas why sendmail is ignoring the mailer table for my domain?

Any help is appreciated. 

Thanks,
James



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to