{"id":145,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=145"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"bemail-leave-mail-on-server","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=145","title":{"rendered":"BeMail: Leave mail on server"},"content":{"rendered":"<p>As you probably know, the BeMail client included with BeOS does not include an option to leave mail on the server. If you need this feature, you&#8217;re probably best off purchasing one of the several fine commercial mail clients available for BeOS. However, it is possible to hack BeMail to leave mail on the server, though it&#8217;s not a complete solution. This tip involves using DiskProbe to alter the mail_daemon binary. As is always the case with DiskProbe, handle with extreme caution. Note also that this will not give BeMail the intelligence to keep track of mail that&#8217;s already been downloaded, so you&#8217;ll be retrieving all your mail each time you check your POP box. That said, here&#8217;s how to do it. Note that this has been tested ONLY on R4.0 x86.<br \/>\nAfter making a backup copy, drag <code>\/boot\/beos\/system\/servers\/mail_daemon<\/code> onto the DiskProbe icon. At offset 0x16E69 you&#8217;ll see the DELE command, which is sent to the server to delete a message. Just put a 0x00 (put 00 in the hexadecimal frame, not two &#8222;numbers&#8220; zero over D and E) at this offset so you&#8217;ll erase the &#8222;D&#8220; of &#8222;DELE&#8220;, mail_daemon is written in C, and \u0000 is the end of an ASCII string, so the string will not be sent to the server.<br \/>\nWatching the debug window, you&#8217;ll see for example that if you have a message on your ISP&#8217;s mail server that mail_daemon sends &#8222;1&#8220; instead of &#8222;DELE 1.&#8220; The POP3 server will answer with an &#8222;incorrect command&#8220; response, but will continue. A real hack, but it works :o)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you probably know, the BeMail client included with BeOS does not include an option to leave mail on the server. If you need this feature, you&#8217;re probably best off purchasing one of the several fine commercial mail clients available for BeOS. However, it is possible to hack BeMail to leave mail on the server, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[2],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","tag-applications"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=145"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}