[Dovecot] Dovecot mailbox in read-only mode, Permanentflags empty

Tommi A omena at aaneton.net
Wed Aug 14 15:40:47 EEST 2013


> 
> What are the log entries for the telnet login?
> 
> # 2.2.5: /etc/dovecot/dovecot.conf
> # OS: Linux 3.10.5-1-ARCH x86_64
> [...]
> mail_debug = yes
> 
> good, then plenty of info should be in the logs, about home directory,
> uids etc.pp.

Logfiles entries:

# dovecot.log
Aug 14 15:32:11 imap-login: Info: Login: user=<hostmaster>, 
method=PLAIN, rip=::1, lip=::1, mpid=516, secured, 
session=<izfqi+fjwgAAAAAAAAAAAAAAAAAAAAAB>
Aug 14 15:32:20 imap(hostmaster): Info: Disconnected: Logged out in=63 
out=1423

# dovecot_debug.log
Aug 14 15:32:08 auth: Debug: auth client connected (pid=515)
Aug 14 15:32:11 auth: Debug: client in: AUTH    1       PLAIN   
service=imap    secured session=izfqi+fjwgAAAAAAAAAAAAAAAAAAAAAB        
lip=::1 rip=::1 lport=143       rport=54210     resp=<hidden>
Aug 14 15:32:11 auth-worker(505): Debug: pam(hostmaster,::1): lookup 
service=dovecot
Aug 14 15:32:11 auth-worker(505): Debug: pam(hostmaster,::1): #1/1 
style=1 msg=Password:
Aug 14 15:32:11 auth: Debug: client passdb out: OK      1       
user=hostmaster
Aug 14 15:32:11 auth: Debug: master in: REQUEST 808845313       515     
1       2e1914a23f0260f309e46cee1503b61d        session_pid=516
Aug 14 15:32:11 auth-worker(505): Debug: passwd(hostmaster,::1): lookup
Aug 14 15:32:11 auth: Debug: master userdb out: USER    808845313       
hostmaster      system_groups_user=hostmaster   uid=1006        gid=1006 
home=/home/hostmaster   
auth_token=2323b6910285b26361609c145854ff23f67b85ad
Aug 14 15:32:11 imap(hostmaster): Debug: Effective uid=1006, gid=1006, 
home=/home/hostmaster
Aug 14 15:32:11 imap(hostmaster): Debug: Namespace inbox: type=private, 
prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes 
location=maildir:~/Maildir
Aug 14 15:32:11 imap(hostmaster): Debug: maildir++: 
root=/home/hostmaster/Maildir, index=, indexpvt=, control=, 
inbox=/home/hostmaster/Maildir, alt=



> 
> You seem to use system users, should be visible in the logs. Do the
> directory <user_home_dir>/Maildir and any file and directory below
> belong to the particular user? Do your users have a home directory at
> all?
> 

Yes I do use system users, this system is supposed to be a simple as it 
gets, and it will only have a few users.
Home folder exists and Maildir gets created first time Postfix+dovecot 
is used for hostmaster user.

# cd /home/hostmaster/Maildir/
# ls -la
total 36
drwx------ 5 hostmaster hostmaster 4096 Aug 14 15:32 .
drwx------ 3 hostmaster hostmaster 4096 Aug 14 13:35 ..
drwx------ 2 hostmaster hostmaster 4096 Aug 14 13:35 cur
-rw------- 1 hostmaster hostmaster   92 Aug 14 15:32 dovecot-uidlist
-rw------- 1 hostmaster hostmaster    8 Aug 14 13:35 dovecot-uidvalidity
-r--r--r-- 1 hostmaster hostmaster    0 Aug 14 13:35 
dovecot-uidvalidity.520b5d6b
-rw------- 1 hostmaster hostmaster  364 Aug 14 15:32 dovecot.index.cache
-rw------- 1 hostmaster hostmaster  560 Aug 14 15:32 dovecot.index.log
-rw------- 1 hostmaster hostmaster    0 Aug 14 13:35 maildirfolder
drwx------ 2 hostmaster hostmaster 4096 Aug 14 15:32 new
drwx------ 2 hostmaster hostmaster 4096 Aug 14 15:32 tmp


Best regards
Tommi


More information about the dovecot mailing list