postfix, virtual domains and /usr/libcyrus/deliver

Łukasz Michalski l.michalski at ant.gliwice.pl
Fri Sep 16 06:46:48 EDT 2005


Hi,

I am trying to setup postfix + cyrus with virtual domains and cannot make it 
work together.

I configured cyrus and make it worked for my mail domain zork.pl, mail 
delivery worked and I could access my mailbox from imap using "zork" userid 
and password.

Problem is that postfix is trying to deliver mail to zork at zork.pl and cyrus 
says that this mailbox does not exists:

maillog:
Sep 16 12:42:13 black postfix/qmgr[11969]: 9C3F43800140: 
from=<l.michalski at ant.gliwice.pl>, size=1261, nrcpt=1 (queue active)
Sep 16 12:42:13 black postfix/smtpd[12407]: disconnect from 
beauty.ant.gliwice.pl[213.186.82.3]
Sep 16 12:42:13 black postfix/pipe[12413]: 9C3F43800140: to=<zork at zork.pl>, 
relay=cyrus, delay=1, status=bounced (data format error. Command output: 
+zork at zork.pl: Mailbox does not exist )
Sep 16 12:42:13 black postfix/cleanup[12411]: 4E5153800142: 
message-id=<20050916104213.4E5153800142 at black.zork.pl>

cyrus log:
Sep 16 12:42:13 black lmtpunix[12415]: executed
Sep 16 12:42:13 black lmtpunix[12415]: accepted connection
Sep 16 12:42:13 black lmtpunix[12415]: lmtp connection preauth'd as postman
Sep 16 12:42:13 black lmtpunix[12415]: verify_user(zork.pl!zork) failed: 
Mailbox does not exist
Sep 16 12:42:18 black syslog-ng[6382]: STATS: dropped 0

When I try to run /usr/lib/cyrus/deliver manually I got the same effect:

/usr/lib/cyrus/deliver  -e -r zork at ant.gliwice.pl -m zork at zork.pl
+zork at zork.pl: Mailbox does not exist

Sep 16 12:43:05 black lmtpunix[12415]: accepted connection
Sep 16 12:43:05 black lmtpunix[12415]: lmtp connection preauth'd as postman
Sep 16 12:43:05 black lmtpunix[12415]: verify_user(zork.pl!zork) failed: 
Mailbox does not exist

Postfix master.cf:
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m${recipient}

Cyrus:
admins: root
allowanonymouslogin: no
allowplaintext: 1
sieveuserhomedir: no
sievedir: /var/lib/imap/sieve
hashimapspool: yes
umask: 077
quotawarn: 90
timeout: 30
poptimeout: 10
defaultacl: anyone lrs
autocreatequota: 16000
sasl_pwcheck_method: auxprop
defaultdomain: black.zork.pl
virtdomains: userid

Can anyone help me with this?

Thanks,
Łukasz



More information about the Info-cyrus mailing list