{"id":117,"date":"2005-09-23T11:24:50","date_gmt":"2005-09-23T10:24:50","guid":{"rendered":"http:\/\/www.paullynch.org\/blog\/?p=117"},"modified":"2005-09-23T11:24:50","modified_gmt":"2005-09-23T10:24:50","slug":"mail-autoresponders-vacation","status":"publish","type":"post","link":"https:\/\/www.paullynch.org\/blog\/?p=117","title":{"rendered":"Mail Autoresponders (vacation)"},"content":{"rendered":"<p>MacOS X has had some strange changes made to it recently.  Take vacation, for instance.  I believe that the version used by MacOS X came from the sendmail distribution, which is perhaps the reason that it has vanished from recent versions of MacOS X.  The net effect is that creating a simple autoreply vacation message is next to impossible.<!-- more --><\/p>\n<p>If you check the MacOS X Server documentation, you&#8217;ll find that Sieve is installed, and you&#8217;ll even find an example script for vacation, which sounds great.  But then the Sieve installation on MacOS X isn&#8217;t usable &#8211; you need at least to install timsieved and enable the sieve tcp port to provide reasonable access to create sieve scripts.  What is more, having user installable scripts for MacOS X users as the only way of maintaining an autoresponder isn&#8217;t acceptable.<\/p>\n<p>There are plugins for SquirrelMail that support the vacation program, which is great.  But they still need vacation installed; the combination of both is exactly the solution needed.<\/p>\n<p>First, installing vacation.  I found sources for a maintained version of vacation on a Debian site (see below), but there are several sources available; I simply chose to use the first one I found.<\/p>\n<ul>\n<li><a href=\"http:\/\/packages.qa.debian.org\/v\/vacation.html\">Debian vacation source package<\/a>\n<li><a href=\"http:\/\/www.weird.com\/~woods\/projects\/BSD-vacation-v2.html\">BSD vacation rewrite<\/a>\n<li><a href=\"http:\/\/www.emailman.com\/vacation\/\">Vacation Resouces<\/a>\n<li><a href=\"http:\/\/vacation.sourceforge.net\/\">Sourceforge vacation<\/a>\n<\/ul>\n<p>To install, I removed the LIB option from the Makefile, and editing the vacation.c file to change the location of sendmail from \/usr\/lib\/sendmail to \/usr\/sbin\/sendmail.  This resolves to the link that postfix puts there to handle mailers that try to use sendmail directly.  Then just run make, and manually install vacation to \/usr\/bin\/vacation; you can use other locations, but that one is traditional, and you would have to edit vacation.c further to add in the new path.<\/p>\n<p>That seems to work.<\/p>\n<p>For SquirrelMail, you need to first enable WebMail, which is done in Server Admin in the Web section (not the Mail section, which had me confused for a while).  You can then access your mail via http:\/\/servername\/WebMail\/, and just use your normal mail login details (same as account login for simple configurations).<\/p>\n<p>Next step is to install a vacation plugin from <a href=\"http:\/\/www.squirrelmail.org\/plugins.php\">squirrelmail.org<\/a>; I chose vacation_local, as it seemed to support MacOS X Server configurations, and had the most downloads.  Unpack the tarball into \/etc\/squirrelmail\/plugins, and copy config.php.sample to config.php; I had to edit the ftp server location from localhost to the address of the server &#8211; if I didn&#8217;t do that, entering the vacation options panel in WebMail generates a PHP ftp error.  I am guessing that it defaulted to IPV6, and that somehow isn&#8217;t supported &#8211; but that&#8217;s just a guess.<\/p>\n<p>You can now set up your vacation details by taking the Options menu choice in WebMail, and selecting Vacation.<\/p>\n<p>You should now have a working autoresponder, and have configured WebMail as a byproduct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MacOS X has had some strange changes made to it recently. Take vacation, for instance. I believe that the version used by MacOS X came from the sendmail distribution, which is perhaps the reason that it has vanished from recent versions of MacOS X. The net effect is that creating a simple autoreply vacation message [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[25,26,37],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-server-side","tag-mac-mini","tag-mail","tag-unix-admin"],"_links":{"self":[{"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=117"}],"version-history":[{"count":0,"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.paullynch.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}