Sendmail - Different smpt port and server for VM

Dear Users,
I’ve been running into issues with receiving voicemail e-mails. My att does allow emails from port 21 or 25. So I’ve been using port 587. However I can’t seem to get sendmail to accept these port changes and change the smtp server to my own. I guess if its possible I could still use sendmail but just use port 587 if thats possible. However right now I’ve edited etc/mail/ I have the following line:
define(`SMART_HOST’, ‘’)dnl

I’ve done the m4 > as well, then restarted the sendmail server and also rebooted my server just for good measure! I’ve also defined a feature to supply the auth/pass but I’ve commented that out because I first just want to be able to even connect to my server. When I look at my mailog it as follows:

ec 28 15:40:30 phoneserver2 sendmail[4049]: oBSLeU3r004049: to=[email protected], delay=00:00:00, mailer=local, pri=38120, dsn=4.4.3, stat=queued
Dec 28 15:42:09 phoneserver2 sendmail[4075]: oBSLg652004075: from=root, size=3, class=0, nrcpts=0, msgid=[email protected], [email protected]
Dec 28 15:53:26 phoneserver2 sendmail[4295]: alias database /etc/aliases rebuilt by root
Dec 28 15:53:26 phoneserver2 sendmail[4295]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Dec 28 15:53:26 phoneserver2 sendmail[4300]: starting daemon (8.13.8): [email protected]:00:00
Dec 28 15:53:27 phoneserver2 sm-msp-queue[4308]: starting daemon (8.13.8): [email protected]:00:00
Dec 28 15:56:56 phoneserver2 sendmail[4372]: oBSLuuU1004372: from=root, size=18624, class=0, nrcpts=1, msgid=[email protected], [email protected]
Dec 28 15:56:57 phoneserver2 sendmail[4380]: oBSLuur3004380: from=[email protected], size=18748, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost.localdomain []
Dec 28 15:56:57 phoneserver2 sendmail[4372]: oBSLuuU1004372: to=“105” [email protected], ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=48624, relay=[] [], dsn=2.0.0, stat=Sent (oBSLuur3004380 Message accepted for delivery)
Dec 28 15:56:58 phoneserver2 sendmail[4382]: oBSLuur3004380: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=138748, relay=‘’, dsn=5.1.2, stat=Host unknown (Name server: ‘’: host name lookup failure)
Dec 28 15:56:58 phoneserver2 sendmail[4382]: oBSLuur3004380: oBSLuwr3004382: DSN: Host unknown (Name server: ‘’: host name lookup failure)
Dec 28 15:56:58 phoneserver2 sendmail[4382]: oBSLuwr3004382: to=[email protected], delay=00:00:00, mailer=local, pri=49986, dsn=4.4.3, stat=queued


Any hints on what I’m doing wrong?