{"id":84,"date":"2007-09-20T13:43:48","date_gmt":"2007-09-20T21:43:48","guid":{"rendered":"http:\/\/learnbyblogging.com\/?p=84"},"modified":"2007-09-20T15:11:30","modified_gmt":"2007-09-20T23:11:30","slug":"sendmail-relay-woe-on-vpn","status":"publish","type":"post","link":"https:\/\/learnbyblogging.com\/?p=84","title":{"rendered":"Sendmail relay woe on VPN"},"content":{"rendered":"<p>Today I ran into the a weird sendmail problem: I kept getting &#8220;relay denied&#8221; message when I tried to send emails out. I tried another mail host without any problem. I even used another client machine to send mail from my original mail host without any problem. I checked the \/var\/log\/syslog and found something like the below:<\/p>\n<p>Sep 20 11:36:42 tsai86 sendmail[7272]: [ID 801593 mail.notice] l8KIafBt007272: ruleset=check_rcpt, arg1=<derek.tsai@sun.com>, <strong>relay=vpn-129-150-36-151.Central.Sun.COM<\/strong> [129.150.36.151], reject=550 5.7.1 <derek.tsai@sun.com>&#8230; Relaying denied<\/p>\n<p>Checking against earlier successful email log like the below, I noticed the difference being &#8220;relay = vpn-129-150-36-151.Central.Sun.COM [129.150.36.151]&#8221; vs. &#8220;relay=local&#8221;.<\/p>\n<p>Sep 20 10:55:57 tsai86 sendmail[7160]: [ID 801593 mail.info] l8KHtsjO007159: to=<dtsai@tsai86.sfbay.Sun.COM>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=34029, <strong>relay=local<\/strong>, dsn=2.0.0, stat=Sent<\/p>\n<p>Cutting to the chase, I logged out of the  VPN session and re-logged in the VPN. Voila! The send mail problem went away. How strange! The only explanation I have is that the VPN somehow got confused thinking I&#8217;m on a different domain or the IP address got interpreted to be on a different domain. A little hiccup on the network creates a slew of problems. I was told I wasn&#8217;t the only one having the problem. Strange indeed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I ran into the a weird sendmail problem: I kept getting &#8220;relay denied&#8221; message when I tried to send emails out. I tried another mail host without any problem. I even used another client machine to send mail from my original mail host without any problem. I checked the \/var\/log\/syslog and found something like &hellip; <a href=\"https:\/\/learnbyblogging.com\/?p=84\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sendmail relay woe on VPN<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-tips-for-computer"],"_links":{"self":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=84"}],"version-history":[{"count":0,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions"}],"wp:attachment":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}