Bug 689085

Summary: pop3(roman): Error: user roman: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/roman
Product: [Fedora] Fedora Reporter: Roman Melihhov <roman>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-21 20:54:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Melihhov 2011-03-19 08:02:54 UTC
Description of problem:

Can't read POP3 mail. Mail files locations set in dovecot.conf 
Authentication works but mail read failed with error in logfile


Version-Release number of selected component (if applicable):

dovecot-2.0.11-1.fc14.x86_64

How reproducible:

repeated

Steps to Reproduce:
1. dovecot.conf 
mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=MEMORY

2. access mail from evolution with SSL on
3. authentication succeeded but mail fetch failed with following in logfile
  
Actual results:

in maillog
-------------
pop3-login: Login: user=<roman>, method=PLAIN, rip=, lip=, mpid=2771, TLS
dovecot: pop3(roman): Error: user roman: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/roman
dovecot: pop3(roman): Error: Invalid user settings. Refer to server log for more information.
--------------

Expected results:

reading POP3 mail

Additional info:

Comment 1 Roman Melihhov 2011-03-21 20:54:14 UTC
I'd solved this one. It appears webmin dovecot module was writing settings at /etc/dovecot.conf while dovecot v 2.0.11 was trying to read  settings from /etc/dovecot/dovecot.conf

run 

dovecot -n 

to see the settings. Hope this helps many others too...