Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17784

specifying a relaying server in sendmail

$
0
0

10.50.0.180 = mail server.

1) Added FEATURE(mailertable', hash -o /etc/mail/mailertable.db')dnl in sendmail.mc then I rehash it to sendmail.cf

2) Added the following line in /etc/mail/mailertable atlas.cdw.abcuios.com smtp:[10.50.0.180]

3) Then did make -C /etc/mail

4) however when i do echo test | /usr/sbin/sendmail xyz@abc.com it's still going to outside instead of going to 10.50.0.180 as I specify.

You have any ideas? Oh the machine can ping 10.50.0.180 just fine.

 Jul 5 15:41:11 atlas sendmail[27417]: u65MfB9k027417: from=bgops, size=5, class=0, nrcpts=1, msgid=<201607052241.u65MfB9k027417@atlas.cdw.abcuios.com>, relay=root@localhost Jul 5 15:41:11 atlas sendmail[27418]: u65MfBUF027418: from=<bgops@atlas.cdw.abcuios.com>, size=304, class=0, nrcpts=1, msgid=<201607052241.u65MfB9k027417@atlas.cdw.abcuios.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Jul 5 15:41:12 atlas sendmail[27417]: u65MfB9k027417: to=kljw@abc.com, ctladdr=bgops (12567/12567), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30005, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u65MfBUF027418 Message accepted for delivery) Jul 5 15:41:12 atlas sendmail[27420]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128 Jul 5 15:41:13 atlas sendmail[27420]: u65MfBUF027418: to=<klin@abc.com>, ctladdr=<bgops@atlas.cdw.abcuios.com> (12567/12567), delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=120304, relay=aspmx.l.google.com. [74.15.2.2], dsn=2.0.0, stat=Sent (OK 1467758473 h124si374672pfe.212 - gsmtp) 
submitted by /u/juniorsysadmin1
[link] [comments]

Viewing all articles
Browse latest Browse all 17784

Trending Articles