{"id":85,"date":"2017-10-10T07:43:00","date_gmt":"2017-10-10T07:43:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/lost-input-channel-from-to-mta-after"},"modified":"2017-10-10T12:10:29","modified_gmt":"2017-10-10T12:10:29","slug":"lost-input-channel-from-mta","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/sendmail\/lost-input-channel-from-mta","title":{"rendered":"Lost input channel from localhost to MTA after rcpt Sendmail"},"content":{"rendered":"<p>Sendmail Error Message Lost input channel from to MTA after rcpt<\/p>\n<h3><u>Error Message:<\/u><\/h3>\n<p>Jun 18 10:40:12 MailServer sendmail[17012]: r5S59J7h017012: <b>lost input channel from<\/b> mail.domain.com [x.x.x.x] to <b>MTA after rcpt<\/b><br \/>\nJun 18 10:40:12 MailServer sendmail[17012]: r5S59J7h017012: from=, size=0, class=0, nrcpts=1, proto=SMTP, daemon=MTA, relay=mail.domain.com [x.x.x.x]<\/p>\n<h3><u>Solution:<\/u><\/h3>\n<p>By adding the IP address or domain names of the rejected mail servers in the Access map, you can ignore this error message.<br \/>\nedit \/etc\/mail\/access<\/p>\n<p><b>x.x.x.x\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 OK<\/b><br \/>\n<b>from:mail.domain.com\u00a0 OK<\/b><\/p>\n<p>Or<br \/>\nBy disabling the <b>delay check and DNSBL feature<\/b> in sendmail.mc file you can ignore this error message.<\/p>\n<p>FEATURE(delay_checks)dnl<\/p>\n<p>FEATURE(dnsbl, `relays.ordb.org&#8217;, `Rejected &#8211; see http:\/\/ordb.org\/&#8217;)dnl<br \/>\nFEATURE(dnsbl, `list.dsbl.org&#8217;, `Rejected &#8211; see http:\/\/dsbl.org\/&#8217;)dnl<br \/>\nFEATURE(dnsbl, `relays.visi.com&#8217;, `Rejected &#8211; see http:\/\/relays.visi.com\/&#8217;)dnl<br \/>\nFEATURE(dnsbl, `bl.spamcop.net&#8217;, `Rejected &#8211; see http:\/\/bl.spamcop.net\/&#8217;)dnl<\/p>\n<h3><u>Delay All Check<\/u><\/h3>\n<p>By using FEATURE(`delay_checks&#8217;) the rulesets check_mail and check_relay will not be called when a client connects or issues a MAIL command, respectively. Instead, those rulesets will be called by the check_rcpt ruleset; they will be skipped if a sender has been authenticated using a &#8220;trusted&#8221; mechanism, i.e., one that is defined via TRUST_AUTH_MECH(). If check_mail returns an error then the RCPT TO command will be rejected with that error. If it returns some other result starting with $# then check_relay will be skipped. If the sender address (or a part of it) is listed in the access map and it has a RHS of OK or RELAY, then check_relay will be skipped.<br \/>\nThis has an interesting side effect: if your domain is my.domain and you have<\/p>\n<p>my.domain RELAY<\/p>\n<p>in the access map, then <b>any e-mail with a sender address of will not be rejected by check_relay even though it would match the hostname or IP address<\/b>. This allows spammers to get around DNS based blacklist by faking the sender address. To avoid this problem you have to use tagged entries:<\/p>\n<p>To:my.domain RELAY<br \/>\nConnect:my.domain RELAY<\/p>\n<p><b>For <a href=\"http:\/\/www.sendmail.com\/sm\/open_source\/docs\/m4\/anti_spam.html#delay_check\" target=\"_blank\" rel=\"nofollow noopener\">more info read this\u00a0 <\/a><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sendmail Error Message Lost input channel from to MTA after rcpt Error Message: Jun 18 10:40:12 MailServer sendmail[17012]: r5S59J7h017012: lost input channel from mail.domain.com [x.x.x.x] to MTA after rcpt Jun&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/sendmail\/lost-input-channel-from-mta\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":688,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/85\/revisions\/688"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}