Re: sendmail config finding wrong relay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>By which you mean that sendmail.cf contains the line:
>DSrelay:mail.xyz.com ?

Yes that is correct.

>SMART_HOST will relay mail to destinations for which it doesn't
have explicit routing information.

> Do you also have a mailertable defined which might include the recipient
domain, for example?
No there are no other entries in the mailertable or access files.

> Try "sendmail -d60.5 -bv [user at example.com]" to see what might
be going on with local address parsing.

This looks OK. (names have been changed)
sendmail -d60.5 -bv bob@xxxxxxxxxxx
map_lookup(dequote, root, %0=root) => NOT FOUND (0)
map_lookup(host, address.com, %0=address.com) => address.com. (0)
map_lookup(mailertable, address.com, %0=address.com) => NOT FOUND (0)
map_lookup(mailertable, .com, %0=.com, %1=address, %2=address) => NOT FOUND
(0)
map_lookup(mailertable, ., %0=., %1=address.com) => NOT FOUND (0)
bob@xxxxxxxxxxx... deliverable: mailer relay, host mail.xyz.com, user
bob@xxxxxxxxxxx

So nothing extra in any files - but then /var/log/maillog instread of relay
to mail.xyz.com it
goes somewhere else.

Thoughts? Thanks,

jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux