RHEL 7.4
Hello Team,
I noticed sendmail is not working.
[root@RH-TABLEAU-04 mail]# ps -ef|grep -i sendmail
root 1315 1 0 Sep11 ? 00:01:22 sendmail: accepting connections
smmsp 1331 1 0 Sep11 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 28416 2808 0 09:27 pts/0 00:00:00 grep --color=auto -i sendmail
tail -1000f /var/mail/maillog:
Nov 20 09:13:12 RH-TABLEAU-04 sendmail[17067]: xAK5DCrI017067: from=<roshanbi@RH-TABLEAU-04.mtg.local>, size=493, class="0", nrcpts=1, msgid=<201911200513.xAK5DC6S017066@RH-TABLEAU-04.mtg.local>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 20 09:13:12 RH-TABLEAU-04 sendmail[17066]: xAK5DC6S017066: to=robbeen123@gmail.com, ctladdr=roshanbi (1001/10), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30228, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (xAK5DCrI017067 Message accepted for delivery)
Nov 20 09:13:13 RH-TABLEAU-04 sendmail[17069]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
Nov 20 09:13:14 RH-TABLEAU-04 sendmail[17069]: xAK5DCrI017067: to=<robbeen123@gmail.com>, ctladdr=<roshanbi@RH-TABLEAU-04.mtg.local> (1001/10), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=120493, relay=gmail-smtp-in.l.google.com. [64.233.166.26], dsn=2.0.0, stat=Sent (OK 1574226794 q62si4981278wme.132 - gsmtp)
Nov 20 09:14:37 RH-TABLEAU-04 sendmail[16546]: xAK5CbZ1016544: to=<roshan@telecom.mu>, ctladdr=<roshanbi@RH-TABLEAU-04.mtg.local> (1001/10), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120507, relay=telecom.mu. [172.25.0.135], dsn=4.0.0, stat=Deferred: Connection timed out with telecom.mu.
Nov 20 09:14:44 RH-TABLEAU-04 sendmail[16678]: xAK5CiWG016676: to=<roshan@telecom.mu>, ctladdr=<roshanbi@RH-TABLEAU-04.mtg.local> (1001/10), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120503, relay=telecom.mu. [172.25.0.135], dsn=4.0.0, stat=Deferred: Connection timed out with telecom.mu.
Kindly advise which file needs to be modified to input the correct relayhost?
Regards,
Joe