{"id":47,"date":"2004-04-30T17:16:58","date_gmt":"2004-04-30T22:16:58","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=47"},"modified":"2004-04-30T17:16:58","modified_gmt":"2004-04-30T22:16:58","slug":"multidrop-fetchmail","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=47","title":{"rendered":"multidrop fetchmail"},"content":{"rendered":"<p>multidrop fetchmail<\/p>\n<p>You should probably have the following in \/etc\/aliases:<br \/>\n        root: robert<br \/>\n        postmaster: robert<br \/>\n        music: robert<\/p>\n<p>And something like this in your .fetchmailrc:<br \/>\n        set postmaster=&#8221;postmaster@localhost&#8221;<br \/>\n        server pop3.demon.co.uk<br \/>\n        aka list.of.domains.involved<br \/>\n        user bdt-home there is * here<\/p>\n<p>(I forget the exact syntax, the &#8216;set postmaster&#8217; is optional given the<br \/>\naliases, and the aka might not be applicable &#8211; if you have only mail for<br \/>\nthe domain bdt-home.demon.co.uk arriving in the remote pop3 mailbox, you<br \/>\ndon&#8217;t need that line.)<\/p>\n<p>The above is &#8216;multidrop&#8217; mode &#8211; mail is sent to the local MTA (sendmail) as<br \/>\nthough anyone in the &#8216;aka&#8217; list was a valid user-part on the local<br \/>\nhost. That way, sendmail&#8217;s and its delivery agent decide whether mail goes<br \/>\nto a user (I chose &#8216;robert&#8217; above as an example &#8211; you might have several<br \/>\nfolks involved that way), or to what it thinks is a user but is really an<br \/>\nalias (&#8216;music&#8217;), or just falls off the end and goes to postmaster (ie<br \/>\nyourself anyway).<\/p>\n<p>There&#8217;s also a single-drop mode, something like this:<\/p>\n<p>    set postmaster &#8220;piglet&#8221;<\/p>\n<p>    poll glutinous.custard.org with proto POP3 user &#8220;piglet&#8221; <br \/>\n    pass n0t0ny0urne11y<\/p>\n<p>and my approach:<\/p>\n<p>    zsh, straw 12:02AM tim % alias mdl<br \/>\n    mdl=&#8217;fetchmail -m &#8220;procmail -d tim&#8221;&#8216;<br \/>\n    zsh, straw 12:38AM tim % <\/p>\n<p>where *all* mail downloaded winds up going to \/var\/spool\/mail\/tim. That&#8217;s a<br \/>\nbit crude but it&#8217;s still workable.<\/p>\n<p>~Tim<\/p>\n","protected":false},"excerpt":{"rendered":"<p>multidrop fetchmail You should probably have the following in \/etc\/aliases: root: robert postmaster: robert music: robert And something like this in your .fetchmailrc: set postmaster=&#8221;postmaster@localhost&#8221; server pop3.demon.co.uk aka list.of.domains.involved user bdt-home there is * here (I forget the exact syntax, &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=47\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=47"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}