Re: sendmail config finding wrong relay

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/30/2015 9:32 AM, Jerry Geis wrote:

> I set my sendmail.mc file to have a SMART_HOST entry of 
> mail.xyz.com I do "make" and "service sendmail restart" ... I 
> should be good, but no. :)

> however when I do a test mail - its trying to RELAY to another 
> host.
> 
> I thought SMART_HOST was the only one it would try to relay to?
> yes there is only one SMART_HOST in my file, and sendmail.cf shows
> the correct name.

By which you mean that sendmail.cf contains the line:

DSrelay:mail.xyz.com ?

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?

> How do I tell what is happening here? the maillog only shows it 
> trying to relay to the wrong host, not the one I entered.

Try "sendmail -d60.5 -bv [user@xxxxxxxxxxx]" to see what might be
going on with local address parsing.


- -- 
Nels Lindquist
<nlindq@xxxxxxx>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)

iEYEARECAAYFAlYMFeEACgkQh6z5POoOLgTeegCglJFDPQCCtFk+1IAKxOJeigy4
KLsAn1tm16i4237h19afL5fs1QpG2MH6
=uBqL
-----END PGP SIGNATURE-----
_______________________________________________
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