{"id":30,"date":"2005-08-13T11:15:13","date_gmt":"2005-08-13T09:15:13","guid":{"rendered":"http:\/\/web.glandium.org\/blog\/?p=30"},"modified":"2010-01-27T08:53:08","modified_gmt":"2010-01-27T07:53:08","slug":"exim-rbl-and-irony","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=30","title":{"rendered":"exim, RBL and irony"},"content":{"rendered":"<p>There's nothing more annoying, when you want to send mail, than to receive the a \"550-rejected because some.ip.add.ress is blacklisted at some.random.crap.rbl\".<\/p>\n<p>Actually, there <strong>is<\/strong> something more annoying : setting up an email alias to an external address and realize some weeks later that the server dealing with the external address does use such rbl. In such cases, senders get an error message and no way to warn about the problem. And the message is not queued.<\/p>\n<p>So, I was wondering if there was a way, with exim (default mail server on debian, and suitable for my needs), to have a \"conditional smarthost\", something like \"if when trying to deliver a mail, you get an rbl rejection from the remote server, try to send it through my ISP's smarthost\".<\/p>\n<p>Why not just use ISP's smarthost all the time ? The answer is simple : I don't see why i should do that while it just works the way it is most of the time.<\/p>\n<p>And now for the irony : when trying to send a message to the <a href=\"http:\/\/www.exim.org\/mailman\/listinfo\/exim-users\">exim-users mailing-list<\/a> to ask for hints, what can have happened ?<\/p>\n<blockquote>\n<p>This message was created automatically by mail delivery software.<\/p>\n<p>A message that you sent could not be delivered to one or more of its<br \/>\nrecipients. This is a permanent error. The following address(es) failed:<\/p>\n<p>exim-users@exim.org<br \/>\n    SMTP error from remote mail server after RCPT TO:&lt;exim-users@exim.org&gt;:<br \/>\n    host sesame.csx.cam.ac.uk [131.111.8.41]: 550 Access denied - x.y.z.t listed by rbl-plus.mail-abuse.ja.net -\n<\/p>\n<\/blockquote>\n<p>Rh\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2\u00c3\u00a2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s nothing more annoying, when you want to send mail, than to receive the a &#8220;550-rejected because some.ip.add.ress is blacklisted at some.random.crap.rbl&#8221;. Actually, there is something more annoying : setting up an email alias to an external address and realize some weeks later that the server dealing with the external address does use such rbl. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,5],"tags":[23],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-misc","category-pdo","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":1,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":821,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/821"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}