[Dovecot] postfix virtual maildir

Gert Cuykens gert.cuykens at gmail.com
Wed Apr 9 14:26:06 EEST 2008


my postfix setup
http://code.google.com/p/appwsgi/wiki/smtp

my dovecot setup
http://code.google.com/p/appwsgi/wiki/imap

root at localhost:~# /etc/postfix/test/root
220 localhost.localdomain ESMTP Postfix (Ubuntu)
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
235 2.7.0 Authentication successful
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
250 2.0.0 Ok: queued as E19B649016D
221 2.0.0 Bye

root at localhost:~# /etc/dovecot/test/root
* OK Dovecot ready.
. OK Logged in.
. LIST "" "*"

Apr  9 13:01:58 localhost postfix/smtpd[9345]: connect from localhost[127.0.0.1]
Apr  9 13:01:58 localhost dovecot: auth-worker(default): mysql:
Connected to 127.0.0.1 (mail)
Apr  9 13:01:58 localhost postfix/smtpd[9345]: E19B649016D:
client=localhost[127.0.0.1], sasl_method=PLAIN,
sasl_username=root at vlocalhost
Apr  9 13:01:58 localhost postfix/cleanup[9349]: E19B649016D:
message-id=<20080409110158.E19B649016D at localhost.localdomain>
Apr  9 13:01:58 localhost postfix/qmgr[11316]: E19B649016D:
from=<root at vlocalhost>, size=359, nrcpt=1 (queue active)
Apr  9 13:01:58 localhost postfix/smtpd[9345]: disconnect from
localhost[127.0.0.1]
Apr  9 13:01:58 localhost postfix/virtual[9350]: E19B649016D:
to=<root at vlocalhost>, relay=virtual, delay=0.03,
delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent
Apr  9 13:01:58 localhost postfix/qmgr[11316]: E19B649016D: removed
Apr  9 13:02:24 localhost dovecot: imap-login: Login:
user=<root at vlocalhost>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
secured
Apr  9 13:12:19 localhost postfix/qmgr[11316]: BD567490191:
from=<root at vlocalhost>, size=359, nrcpt=1 (queue active)
Apr  9 13:12:19 localhost postfix/virtual[18607]: BD567490191:
to=<root at vlocalhost>, relay=virtual, delay=7037,
delays=7037/0.01/0/0.01, dsn=2.0.0, status=sen
Apr  9 13:12:19 localhost postfix/qmgr[11316]: BD567490191: removed
Apr  9 13:18:51 localhost dovecot: IMAP(root at vlocalhost): Connection closed

So no erros at all but dovecot just ignores my incoming mail

root at localhost:~# ls -al /var/mail/vlocalhost/root/
total 20
drwx------ 5 5001 5001 4096 2008-04-09 12:19 .
drwx------ 3 5001 5001 4096 2008-04-09 12:19 ..
drwx------ 2 5001 5001 4096 2008-04-09 12:19 cur
drwx------ 2 5001 5001 4096 2008-04-09 13:22 new
drwx------ 2 5001 5001 4096 2008-04-09 13:22 tmp

root at localhost:~# ls -al /var/mail/vlocalhost/root/new
total 84
drwx------ 2 5001 5001 4096 2008-04-09 13:22 .
drwx------ 5 5001 5001 4096 2008-04-09 12:19 ..
-rw------- 1 5001 5001  441 2008-04-09 12:19
1207736352.V802I42434dM422151.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:22
1207736539.V802I424350M438766.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:22
1207736539.V802I424351M442839.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:27
1207736839.V802I424352M458479.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:32
1207737139.V802I424353M475024.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:32
1207737139.V802I424354M479117.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:32
1207737139.V802I424355M484827.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:32
1207737139.V802I424356M488137.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:32
1207737139.V802I424357M495435.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:37
1207737439.V802I424472M506944.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:37
1207737439.V802I424473M511500.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:37
1207737439.V802I424474M516792.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:37
1207737439.V802I424475M518515.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:42
1207737739.V802I424476M535074.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:47
1207738039.V802I424477M550421.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 12:52
1207738339.V802I424478M566532.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 13:01
1207738918.V802I424479M942873.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 13:12
1207739539.V802I42447aM958350.localhost.localdomain
-rw------- 1 5001 5001  441 2008-04-09 13:22
1207740139.V802I42447bM974462.localhost.localdomain
root at localhost:~#

So what can i do to see some listing of my new mail ?


More information about the dovecot mailing list