Postfix + cyrus imapd data format error. Command output Mailbox does not exist => Virtual mailboxes user@domain.tlb

TOUZEAU DAVID david.touzeau at fr.kaspersky.com
Tue Apr 10 20:25:56 EDT 2007


Dear

I'm fighting with the cyrus + postfix  since one week about creating 
virtual mailboxes.

i have always these errors

Apr 11 10:00:49 debian-cyrus cyrus/lmtpd[24387]: accepted connection
Apr 11 10:00:49 debian-cyrus cyrus/lmtpd[24387]: lmtp connection 
preauth'd as postman
Apr 11 10:00:49 debian-cyrus postfix/pipe[26522]: 12E5CABB29: 
to=<user.name at domain.tlb>, relay=cyrus, delay=0, status=bounced (data 
format error. Command output: user.name at domain.tlb: Mailbox does not exist )


The problem that i must create user with domain name ex

user/user.name at domain.tlb
user/user1.name at tomain.tlb

I'had checked imapd.conf with these settings :

unixhierarchysep: yes
virtdomain: yes
admins: cyrus
lmtp_downcase_rcpt: yes
loginrealms: domain.tld

the user user at domain.tlb exist and i can access it trought imap.

I have changed in the master.cf the command line in order to set postfix 
to send to the full email address :
cyrus   unix    -       n       n       -       -       pipe
        flags= user=cyrus argv=/usr/sbin/cyrdeliver -m $(extension) 
$(user)@$(nexthop)


in the main.cf :

header_checks=regexp:/etc/postfix/hash_files/header_checks.cf
body_checks=regexp:/etc/postfix/hash_files/body_checks.cf
mime_header_checks=regexp:/etc/postfix/hash_files/mime_header_checks.cf
virtual_alias_maps=hash:/etc/postfix/hash_files/virtual_alias_maps.cf
transport_maps=hash:/etc/postfix/hash_files/transport_maps.cf
virtual_mailbox_domains=hash:/etc/postfix/hash_files/virtual_domains_maps.cf
relay_domains=hash:/etc/postfix/hash_files/relay_domains_maps.cf
virtual_transport = cyrus
mailbox_transport = cyrus
cyrus_destination_recipient_limit = 1
virtual_mailbox_maps = hash:/etc/postfix/hash_files/virtual_mailbox_maps.cf

if i create user has user/user.name,the postfix send correctly the email 
but at the wrong mailbox not user/user.name at domain.tlb just to 
user/user.name

pr 11 10:14:10 debian-cyrus postfix/cleanup[9100]: C61E7ABB29: 
message-id=<461C29D4.4020606 at domain.tlb>
Apr 11 10:14:10 debian-cyrus postfix/qmgr[24476]: C61E7ABB29: 
from=<user.name1 at domain.tlb>, size=637, nrcpt=1 (queue active)
Apr 11 10:14:10 debian-cyrus postfix/smtpd[9091]: disconnect from 
unknown[192.168.1.17]
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: accepted connection
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: lmtp connection 
preauth'd as postman
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: duplicate_check: 
<461C29D4.4020606 at domain.tlb>          user.user^name   0
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: mystore: starting txn 
2147483657
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: mystore: committing txn 
2147483657
Apr 11 10:14:11 debian-cyrus cyrus/lmtpd[24387]: duplicate_mark: 
<461C29D4.4020606 at domain.tlb>          user.user^name   1176279251
Apr 11 10:14:11 debian-cyrus postfix/pipe[9119]: C61E7ABB29: 
to=<user.name at domain.tlb>, relay=cyrus, delay=1, status=sent (domain.tlb)
Apr 11 10:14:11 debian-cyrus postfix/qmgr[24476]: C61E7ABB29: removed

How can i fix it ???
Thanks
Best regards.

-- 
David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6 
FreePascal-Lazarus,perl,delphi,php icq:160018849


More information about the Info-cyrus mailing list