Error in Dovecot

Discussion in 'Installation/Configuration' started by mentes, Aug 3, 2011.

  1. mentes

    mentes New Member

    I have an error.

    Code:
    dovecot: dovecot: Fatal: chdir(/var/vmail/domain.com/user/) failed: Permission denied (euid=5000() egid=5000() missing +x perm: /var/vmail/domain.com)
    dovecot: dovecot: child 22766 (imap) returned error 89 (Fatal failure)
    I do:

    Code:
    chmod +x /var/vmail/domain.com/user
    chown -R vmail:vmail /var/vmail
    
    And I still have the same error.

    Code:
    root@server:/var/vmail# ls -al
    total 24
    drwxr-xr-x  4 vmail vmail 4096 Aug  3 12:27 .
    drwxr-xr-x 16 root  root  4096 Aug  3 00:30 ..
    -rw-------  1 vmail vmail 1382 Aug  3 12:34 .mailfilter
    -rw-r--r--  1 vmail vmail 1382 Aug  3 12:34 .mailfilter~
    drwxr-xr-x  2 vmail vmail 4096 Aug  2 12:26 mailfilters
    drwx------  3 vmail vmail 4096 Aug  3 12:27 domain.com
    
    root@server:/var/vmail/domain.com# ls -al
    total 12
    drwx------ 3 vmail vmail 4096 Aug  3 12:27 .
    drwxr-xr-x 4 vmail vmail 4096 Aug  3 12:27 ..
    drwx--x--x 3 vmail vmail 4096 Aug  3 12:27 user
    
    root@server:/var/vmail/domain.com/user# ls -al
    total 16
    drwx--x--x 3 vmail vmail 4096 Aug  3 12:27 .
    drwx------ 3 vmail vmail 4096 Aug  3 12:27 ..
    drwx--x--x 9 vmail vmail 4096 Aug  3 12:27 Maildir
    -rw-r--r-- 1 vmail vmail   48 Aug  3 12:27 .sieve
    
    Code:
    root@server:~# dpkg -l | grep dovecot
    ii  dovecot-common                      1:1.2.15-7                   secure mail server that supports mbox and maildir mailboxes
    ii  dovecot-imapd                       1:1.2.15-7                   secure IMAP server that supports mbox and maildir mailboxes
    ii  dovecot-pop3d                       1:1.2.15-7                   secure POP3 server that supports mbox and maildir mailboxes
    
    ISPconfig 3.0.3.3
    Debian 6.0.2
     
    Last edited: Aug 3, 2011
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Which Linux distribution?
     
  3. mentes

    mentes New Member

    Debian 6.0.2
     
  4. mentes

    mentes New Member

    Another check:

    Code:
    root@server:~# telnet mail.domain.com 143
    Trying xx.xx.xx.xx...
    Connected to mail.domain.com.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] my-domain.tld IMAP server ready...
    a login test@domain.com 123456
    Connection closed by foreign host.
    root@server:~# 
    
     
  5. Mark_NL

    Mark_NL New Member

    Just wondering...

    Log into your mysql database and run this query
    Code:
    select uid,gid from dbispconfig.mail_user where not uid=5000;
    what is the result of the query?

    also /var/vmail/domain.com has no +x group rights .. though i still think it's strange it doesn't work, try giving /var/vmail/domain.com +x on the group so:
    Code:
    chmod g+x /var/vmail/domain.com
    If that solves your problem, then dovecot in some way must check the the gid rights as well.
     
    Last edited: Aug 3, 2011
  6. mentes

    mentes New Member

    Code:
    mysql> select uid,gid from dbispconfig.mail_user where not uid=5000;
    Empty set (0.00 sec)
    
    I get it works with these permissions

    drwxrwx--x 5 vmail vmail 4096 Aug 3 21:42 domain.com

    Is right?
     
  7. Mark_NL

    Mark_NL New Member

    Nice to hear it's working..

    Though this tells us dovecot needs correct user AND group rights to function. (php safe_mode like thingy)

    I'm not using dovecot at all, so I can't tell you if that's the case, this assumption is based on the response I get from you :)

    Maybe Till can shed some more light on this?


    edit: remember to manually set g+x on the newly created email domain! (or patch the php code that creates them ;-))
     
  8. mentes

    mentes New Member

    I get a new errors:

    Code:
    Aug  3 21:59:24 im dovecot: deliver(test@domain.com): Fatal: setgid(5000) failed with euid=1000(vmail), gid=1000(vmail), egid=1000(vmail): Operation not permitted (This binary should probably be called with process group set to 5000 instead of 1000(vmail))
    In /etc/passwd

    vmail:x:1000:1000::/home/vmail:/bin/sh

    I think is wrong, what happens? I haven't changed uid or gid for vmail user.
     
  9. mentes

    mentes New Member

    I have restored uid and gid and seems works fine.

    I do:

    Code:
    usermod -u 5000 vmail
    groupmod -g 5000 vmail
    usermod -g 5000 vmail
    
    chown vmail:vmail -R vmail/
    
    I think the permissions still wrong.
     
  10. Mark_NL

    Mark_NL New Member

    Weird, for some reason the UID and GID of the "vmail" user has been changed to 1000

    1000 is the first manually added user to the system, to that means it wasn't added by the ispconfig installation, nor any other package. So that must've been added by a user on the system.

    what does ls -alR /var/vmail say this time?
     
  11. mentes

    mentes New Member

    Code:
    root@im:~# ls -alR /var/vmail/
    /var/vmail/:
    total 24
    drwxr-xr-x  4 vmail vmail 4096 Aug  3 12:27 .
    drwxr-xr-x 16 root  root  4096 Aug  3 00:30 ..
    -rw-------  1 vmail vmail 1382 Aug  3 12:34 .mailfilter
    -rw-r--r--  1 vmail vmail 1382 Aug  3 12:34 .mailfilter~
    drwxr-xr-x  2 vmail vmail 4096 Aug  2 12:26 mailfilters
    drwxrwx--x  5 vmail vmail 4096 Aug  3 21:42 domain.com
    
    /var/vmail/mailfilters:
    total 8
    drwxr-xr-x 2 vmail vmail 4096 Aug  2 12:26 .
    drwxr-xr-x 4 vmail vmail 4096 Aug  3 12:27 ..
    
    /var/vmail/domain.com:
    total 20
    drwxrwx--x 5 vmail vmail 4096 Aug  3 21:42 .
    drwxr-xr-x 4 vmail vmail 4096 Aug  3 12:27 ..
    drwxr-xr-x 3 vmail vmail 4096 Aug  3 22:38 jjj
    drwxrwxrwx 3 vmail vmail 4096 Aug  3 22:38 pruebas
    drwxrwxrwx 3 vmail vmail 4096 Aug  3 22:38 test
    
    /var/vmail/domain.com/jjj:
    total 20
    drwxr-xr-x 3 vmail vmail 4096 Aug  3 22:38 .
    drwxrwx--x 5 vmail vmail 4096 Aug  3 21:42 ..
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 Maildir
    -rw-r--r-- 1 vmail vmail   48 Aug  3 21:42 .sieve
    -rw-r--r-- 1 vmail vmail   96 Aug  3 22:38 .sieve.svbin
    
    /var/vmail/domain.com/jjj/Maildir:
    total 60
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 .
    drwxr-xr-x 3 vmail vmail 4096 Aug  3 22:38 ..
    -rwxr--r-- 1 vmail vmail   47 Aug  3 21:42 courierimapsubscribed
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 cur
    -rw------- 1 vmail vmail  312 Aug  3 22:38 dovecot.index.log
    -rw------- 1 vmail vmail   74 Aug  3 22:38 dovecot-uidlist
    -rw------- 1 vmail vmail    8 Aug  3 22:27 dovecot-uidvalidity
    -rw------- 1 vmail vmail    0 Aug  3 22:26 dovecot-uidvalidity.4e39aee1
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .Drafts
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .Junk
    -rw------- 1 vmail vmail   20 Aug  3 22:38 maildirsize
    drwx------ 2 vmail vmail 4096 Aug  3 22:38 new
    drwx------ 5 vmail vmail 4096 Aug  3 22:28 .Sent
    -rwxr--r-- 1 vmail vmail   23 Aug  3 21:42 subscriptions
    drwx--x--x 2 vmail vmail 4096 Aug  3 22:38 tmp
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .Trash
    
    /var/vmail/domain.com/jjj/Maildir/cur:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Drafts:
    total 28
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 cur
    -rw------- 1 vmail vmail  156 Aug  3 22:27 dovecot.index.log
    -rw------- 1 vmail vmail   17 Aug  3 22:27 dovecot-uidlist
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 new
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 tmp
    
    /var/vmail/domain.com/jjj/Maildir/.Drafts/cur:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Drafts/new:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Drafts/tmp:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Junk:
    total 28
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 cur
    -rw------- 1 vmail vmail  156 Aug  3 22:27 dovecot.index.log
    -rw------- 1 vmail vmail   17 Aug  3 22:27 dovecot-uidlist
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 new
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 tmp
    
    /var/vmail/domain.com/jjj/Maildir/.Junk/cur:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Junk/new:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Junk/tmp:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/new:
    total 12
    drwx------ 2 vmail vmail 4096 Aug  3 22:38 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    -rw------- 1 vmail vmail 1299 Aug  3 22:38 1312403932.M702821P21906.im.server.net,S=1299,W=1328
    
    /var/vmail/domain.com/jjj/Maildir/.Sent:
    total 48
    drwx------ 5 vmail vmail  4096 Aug  3 22:28 .
    drwx--x--x 9 vmail vmail  4096 Aug  3 22:38 ..
    drwx------ 2 vmail vmail  4096 Aug  3 22:27 cur
    -rw------- 1 vmail vmail 17408 Aug  3 22:27 dovecot.index.cache
    -rw------- 1 vmail vmail   576 Aug  3 22:28 dovecot.index.log
    -rw------- 1 vmail vmail    76 Aug  3 22:27 dovecot-uidlist
    drwx------ 2 vmail vmail  4096 Aug  3 21:42 new
    drwx------ 2 vmail vmail  4096 Aug  3 22:27 tmp
    
    /var/vmail/domain.com/jjj/Maildir/.Sent/cur:
    total 12
    drwx------ 2 vmail vmail 4096 Aug  3 22:27 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:28 ..
    -rw------- 1 vmail vmail  328 Aug  3 22:27 1312403247.M958374P15696.im.server.net,S=328,W=339:2,S
    
    /var/vmail/domain.com/jjj/Maildir/.Sent/new:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:28 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Sent/tmp:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 22:27 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:28 ..
    
    /var/vmail/domain.com/jjj/Maildir/tmp:
    total 8
    drwx--x--x 2 vmail vmail 4096 Aug  3 22:38 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Trash:
    total 28
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 .
    drwx--x--x 9 vmail vmail 4096 Aug  3 22:38 ..
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 cur
    -rw------- 1 vmail vmail  156 Aug  3 22:27 dovecot.index.log
    -rw------- 1 vmail vmail   17 Aug  3 22:27 dovecot-uidlist
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 new
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 tmp
    
    /var/vmail/domain.com/jjj/Maildir/.Trash/cur:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Trash/new:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/jjj/Maildir/.Trash/tmp:
    total 8
    drwx------ 2 vmail vmail 4096 Aug  3 21:42 .
    drwx------ 5 vmail vmail 4096 Aug  3 22:27 ..
    
    /var/vmail/domain.com/pruebas:
    total 20
    drwxrwxrwx  3 vmail vmail 4096 Aug  3 22:38 .
    drwxrwx--x  5 vmail vmail 4096 Aug  3 21:42 ..
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 Maildir
    -rwxrwxrwx  1 vmail vmail   48 Aug  3 12:27 .sieve
    -rw-rw-rw-  1 vmail vmail   96 Aug  3 22:38 .sieve.svbin
    
    /var/vmail/domain.com/pruebas/Maildir:
    total 88
    drwxrwxrwx 10 vmail vmail  4096 Aug  3 23:19 .
    drwxrwxrwx  3 vmail vmail  4096 Aug  3 22:38 ..
    -rwxrwxrwx  1 vmail vmail    47 Aug  3 16:42 courierimapsubscribed
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 23:19 cur
    -rw-rw-rw-  1 vmail vmail 22528 Aug  3 23:18 dovecot.index.cache
    -rwxrwxrwx  1 vmail vmail  4080 Aug  3 23:19 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail   645 Aug  3 23:18 dovecot-uidlist
    -rwxrwxrwx  1 vmail vmail     8 Aug  3 18:15 dovecot-uidvalidity
    -rwxrwxrwx  1 vmail vmail     0 Aug  3 18:13 dovecot-uidvalidity.4e3973a1
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 18:13 .Drafts
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 18:13 .Junk
    -rwxrwxrwx  1 vmail vmail   144 Aug  3 23:18 maildirsize
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 23:19 new
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 23:11 .Sent
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 18:21 .Sent Messages
    -rwxrwxrwx  1 vmail vmail    37 Aug  3 18:15 subscriptions
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 23:18 tmp
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 18:13 .Trash
    
    /var/vmail/domain.com/pruebas/Maildir/cur:
    total 52
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 23:19 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    -rw-rw-rw-  1 vmail vmail 1945 Aug  3 22:38 1312403932.M663889P21886.im.server.net,S=1945,W=1983:2,
    -rw-rw-rw-  1 vmail vmail 2161 Aug  3 22:38 1312403932.M673980P21891.im.server.net,S=2161,W=2203:2,
    -rw-rw-rw-  1 vmail vmail 2079 Aug  3 22:38 1312403932.M683575P21897.im.server.net,S=2079,W=2120:2,
    -rw-rw-rw-  1 vmail vmail 1747 Aug  3 22:38 1312403932.M707595P21908.im.server.net,S=1747,W=1784:2,S
    -rw-rw-rw-  1 vmail vmail 2156 Aug  3 22:38 1312403932.M712436P21909.im.server.net,S=2156,W=2198:2,
    -rw-rw-rw-  1 vmail vmail 1730 Aug  3 22:43 1312404204.M705278P23430.im.server.net,S=1730,W=1764:2,S
    -rw-rw-rw-  1 vmail vmail 1956 Aug  3 22:43 1312404206.M216729P23481.im.server.net,S=1956,W=1995:2,
    -rw-rw-rw-  1 vmail vmail 1731 Aug  3 22:53 1312404837.M47200P25288.im.server.net,S=1731,W=1765:2,S
    -rw-rw-rw-  1 vmail vmail 1811 Aug  3 23:08 1312405736.M132934P21938.im.server.net,S=1811,W=1849:2,RS
    -rw-rw-rw-  1 vmail vmail 1959 Aug  3 23:13 1312406035.M795233P22773.im.server.net,S=1959,W=1998:2,S
    -rw-rw-rw-  1 vmail vmail 1735 Aug  3 23:18 1312406332.M562950P23207.im.server.net,S=1735,W=1769:2,
    
    /var/vmail/domain.com/pruebas/Maildir/.Drafts:
    total 28
    drwxrwxrwx  5 vmail vmail 4096 Aug  3 18:13 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 cur
    -rwxrwxrwx  1 vmail vmail  156 Aug  3 18:13 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail   17 Aug  3 18:13 dovecot-uidlist
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 new
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 20:31 tmp
    
    /var/vmail/domain.com/pruebas/Maildir/.Drafts/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Drafts/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Drafts/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 20:31 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Junk:
    total 28
    drwxrwxrwx  5 vmail vmail 4096 Aug  3 18:13 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 cur
    -rwxrwxrwx  1 vmail vmail  156 Aug  3 18:13 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail   17 Aug  3 18:13 dovecot-uidlist
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 new
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 20:31 tmp
    
    /var/vmail/domain.com/pruebas/Maildir/.Junk/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Junk/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Junk/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 20:31 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/new:
    total 8
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 23:19 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent:
    total 52
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 23:11 .
    drwxrwxrwx 10 vmail vmail  4096 Aug  3 23:19 ..
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 23:09 cur
    -rwxrwxrwx  1 vmail vmail 23552 Aug  3 23:09 dovecot.index.cache
    -rwxrwxrwx  1 vmail vmail  3440 Aug  3 23:11 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail   533 Aug  3 23:09 dovecot-uidlist
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 12:27 new
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 23:09 tmp
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent/cur:
    total 44
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 23:09 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 23:11 ..
    -rwxrwxrwx 1 vmail vmail  336 Aug  3 18:13 1312388030.M214359P27932.server.net,S=336,W=347:2,S
    -rwxrwxrwx 1 vmail vmail  348 Aug  3 18:55 1312390555.M142882P32030.server.net,S=348,W=359:2,S
    -rwxrwxrwx 1 vmail vmail  346 Aug  3 19:32 1312392760.M824323P19740.server.net,S=346,W=357:2,S
    -rwxrwxrwx 1 vmail vmail  343 Aug  3 20:04 1312394676.M731476P4601.server.net,S=343,W=354:2,S
    -rw-rw-rw- 1 vmail vmail  344 Aug  3 22:03 1312401821.M99168P5726.im.server.net,S=344,W=355:2,S
    -rw-rw-rw- 1 vmail vmail  346 Aug  3 22:37 1312403852.M629038P21165.im.server.net,S=346,W=357:2,S
    -rw-rw-rw- 1 vmail vmail  346 Aug  3 22:46 1312404409.M901426P23586.im.server.net,S=346,W=357:2,S
    -rw-rw-rw- 1 vmail vmail  348 Aug  3 22:56 1312404978.M420242P25375.im.server.net,S=348,W=359:2,S
    -rw-rw-rw- 1 vmail vmail  688 Aug  3 23:09 1312405777.M229749P22104.im.server.net,S=688,W=707:2,S
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 23:11 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 23:09 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 23:11 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent Messages:
    total 48
    drwxrwxrwx  5 vmail vmail  4096 Aug  3 18:21 .
    drwxrwxrwx 10 vmail vmail  4096 Aug  3 23:19 ..
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 18:15 cur
    -rwxrwxrwx  1 vmail vmail 18432 Aug  3 18:21 dovecot.index.cache
    -rwxrwxrwx  1 vmail vmail   752 Aug  3 18:21 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail    73 Aug  3 18:15 dovecot-uidlist
    -rwxrwxrwx  1 vmail vmail     0 Aug  3 18:15 maildirfolder
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 18:15 new
    drwxrwxrwx  2 vmail vmail  4096 Aug  3 18:15 tmp
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent Messages/cur:
    total 12
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 18:15 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:21 ..
    -rwxrwxrwx 1 vmail vmail  505 Aug  3 15:57 1312388125.M503112P28834.server.net,S=505,W=518:2,S
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent Messages/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 18:15 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:21 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Sent Messages/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 18:15 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:21 ..
    
    /var/vmail/domain.com/pruebas/Maildir/tmp:
    total 8
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 23:18 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Trash:
    total 28
    drwxrwxrwx  5 vmail vmail 4096 Aug  3 18:13 .
    drwxrwxrwx 10 vmail vmail 4096 Aug  3 23:19 ..
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 cur
    -rwxrwxrwx  1 vmail vmail  156 Aug  3 18:13 dovecot.index.log
    -rwxrwxrwx  1 vmail vmail   17 Aug  3 18:13 dovecot-uidlist
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 12:27 new
    drwxrwxrwx  2 vmail vmail 4096 Aug  3 20:31 tmp
    
    /var/vmail/domain.com/pruebas/Maildir/.Trash/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Trash/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 12:27 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/pruebas/Maildir/.Trash/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 20:31 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:13 ..
    
    /var/vmail/domain.com/test:
    total 20
    drwxrwxrwx 3 vmail vmail 4096 Aug  3 22:38 .
    drwxrwx--x 5 vmail vmail 4096 Aug  3 21:42 ..
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 Maildir
    -rwxrwxrwx 1 vmail vmail   48 Aug  3 17:19 .sieve
    -rw-rw-rw- 1 vmail vmail   96 Aug  3 22:38 .sieve.svbin
    
    /var/vmail/domain.com/test/Maildir:
    total 60
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 .
    drwxrwxrwx 3 vmail vmail 4096 Aug  3 22:38 ..
    -rwxrwxrwx 1 vmail vmail   47 Aug  3 17:19 courierimapsubscribed
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 cur
    -rwxrwxrwx 1 vmail vmail  312 Aug  3 22:38 dovecot.index.log
    -rwxrwxrwx 1 vmail vmail   74 Aug  3 22:38 dovecot-uidlist
    -rwxrwxrwx 1 vmail vmail    8 Aug  3 18:12 dovecot-uidvalidity
    -rwxrwxrwx 1 vmail vmail    0 Aug  3 18:12 dovecot-uidvalidity.4e397387
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .Drafts
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .Junk
    -rwxrwxrwx 1 vmail vmail   50 Aug  3 22:38 maildirsize
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 22:38 new
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .Sent
    -rwxrwxrwx 1 vmail vmail   23 Aug  3 17:19 subscriptions
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 22:38 tmp
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .Trash
    
    /var/vmail/domain.com/test/Maildir/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    
    /var/vmail/domain.com/test/Maildir/.Drafts:
    total 28
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 cur
    -rwxrwxrwx 1 vmail vmail  156 Aug  3 18:12 dovecot.index.log
    -rwxrwxrwx 1 vmail vmail   17 Aug  3 18:12 dovecot-uidlist
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 new
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 tmp
    
    /var/vmail/domain.com/test/Maildir/.Drafts/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Drafts/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Drafts/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Junk:
    total 28
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 cur
    -rwxrwxrwx 1 vmail vmail  156 Aug  3 18:12 dovecot.index.log
    -rwxrwxrwx 1 vmail vmail   17 Aug  3 18:12 dovecot-uidlist
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 new
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 tmp
    
    /var/vmail/domain.com/test/Maildir/.Junk/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Junk/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Junk/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/new:
    total 28
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 22:38 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    -rw-rw-rw- 1 vmail vmail 1004 Aug  3 22:38 1312403932.M669283P21889.im.server.net,S=1004,W=1029
    -rw-rw-rw- 1 vmail vmail 1008 Aug  3 22:38 1312403932.M678717P21894.im.server.net,S=1008,W=1033
    -rw-rw-rw- 1 vmail vmail 2076 Aug  3 22:38 1312403932.M688281P21900.im.server.net,S=2076,W=2117
    -rw-rw-rw- 1 vmail vmail 1726 Aug  3 22:38 1312403932.M693126P21902.im.server.net,S=1726,W=1763
    -rw-rw-rw- 1 vmail vmail 1008 Aug  3 22:38 1312403932.M698157P21904.im.server.net,S=1008,W=1033
    
    /var/vmail/domain.com/test/Maildir/.Sent:
    total 28
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 cur
    -rwxrwxrwx 1 vmail vmail  156 Aug  3 18:12 dovecot.index.log
    -rwxrwxrwx 1 vmail vmail   17 Aug  3 18:12 dovecot-uidlist
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 new
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 tmp
    
    /var/vmail/domain.com/test/Maildir/.Sent/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Sent/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Sent/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 22:38 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    
    /var/vmail/domain.com/test/Maildir/.Trash:
    total 28
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 .
    drwxrwxrwx 9 vmail vmail 4096 Aug  3 22:38 ..
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 cur
    -rwxrwxrwx 1 vmail vmail  156 Aug  3 18:12 dovecot.index.log
    -rwxrwxrwx 1 vmail vmail   17 Aug  3 18:12 dovecot-uidlist
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 new
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 tmp
    
    /var/vmail/domain.com/test/Maildir/.Trash/cur:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Trash/new:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    
    /var/vmail/domain.com/test/Maildir/.Trash/tmp:
    total 8
    drwxrwxrwx 2 vmail vmail 4096 Aug  3 17:19 .
    drwxrwxrwx 5 vmail vmail 4096 Aug  3 18:12 ..
    root@im:~# 
    
     
  12. Mark_NL

    Mark_NL New Member

    A part of it looks good, but i guess you're getting errors at f.e. user "jjj" mailbox .. since only the user has rights and dovecot needs both uid/gid to be correct ..

    can you show me the contents of your master.cf ?
     
  13. mentes

    mentes New Member

    I have did a huge apt-get remove --purge, and then I have followed step by step the how to's carefully and all is working ok.

    Thanks for your help.
     
  14. Mark_NL

    Mark_NL New Member

    Ah, that's good news!

    np, and enjoy your server :)
     

Share This Page