{"id":1031,"date":"2012-10-17T08:49:00","date_gmt":"2012-10-17T13:49:00","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1031"},"modified":"2012-10-17T08:49:00","modified_gmt":"2012-10-17T13:49:00","slug":"dovecot-1-2-9-ubuntu-autodetection-failed","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2012\/10\/dovecot-1-2-9-ubuntu-autodetection-failed\/","title":{"rendered":"Dovecot 1.2.9 Ubuntu Autodetection Failed"},"content":{"rendered":"<p>I had an ubuntu server with 8.04LTS upgraded to 10.04LTS (not quite making it to 12.04, but that&#8217;s in the works) with webmin, LAMP, postfix, etc.  I used webmin to install dovecot after I already configured postfix to receive mail without requiring SSL with plaintext.  It&#8217;s an internal only server used to testing purposes, so I don&#8217;t mind if someone is sniffing the test passwords that only apply to this box.<\/p>\n<p>Anyway, I was receiving the following in my \/var\/log\/mail.err<\/p>\n<blockquote><p>Oct 17 08:35:33 SERVERNAME dovecot: POP3(USERNAME): mail_location not set and autodetection failed: Mail storage autodetection failed with home=\/home\/USERNAME<br \/>\nOct 17 08:35:33 SERVERNAME dovecot: POP3(USERNAME): Fatal: Namespace initialization failed<\/p><\/blockquote>\n<p>Great.  Brief search tells me that dovecot&#8217;s automatic detection failed (duh) and the fix is to enable the mail location in the configuration file<br \/>\n<code>nano \/etc\/dovecot\/dovecot.conf<\/code><br \/>\nFind #mail_location<br \/>\nAssuming it&#8217;s commented out, I just added the following below the line:<br \/>\n<code>mail_location = maildir:~\/Maildir<\/code><br \/>\nSave and close<br \/>\n<code>\/etc\/init.d\/dovecot restart<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an ubuntu server with 8.04LTS upgraded to 10.04LTS (not quite making it to 12.04, but that&#8217;s in the works) with webmin, LAMP, postfix, etc. I used webmin to install dovecot after I already configured postfix to receive mail without requiring SSL with plaintext. It&#8217;s an internal only server used to testing purposes, so &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2012\/10\/dovecot-1-2-9-ubuntu-autodetection-failed\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Dovecot 1.2.9 Ubuntu Autodetection Failed<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1031","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1031"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":1032,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1031\/revisions\/1032"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}