Hi, Short version: postfix/cyrdeliver don't deliver mail to the right user ; usernames contain the '@' letter.
Long version: I have configured Postfix and Cyrus-IMAPd authentication over OpenLDAP. Username (to read mail via IMAP) are the email addresses (to ensure easy uniqueness). That is, when connectiong to IMAP, you go: . LOGIN [EMAIL PROTECTED] crazypasswd When Postfix receives email, it understands email is for [EMAIL PROTECTED], it passes it (via LMTP) to cyrdeliver which seem to be wanting to write email in mailbox firstname.lastname rather than [EMAIL PROTECTED] The IMAP process works : # imtest -m login -a [EMAIL PROTECTED] localhost S: * OK debian.test.tld Cyrus IMAP4 v2.1.18-IPv6-Debian-2.1.18-1 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 ANNOTATEMORE S: C01 OK Completed Please enter your password: C: L01 LOGIN [EMAIL PROTECTED] {7} S: + go ahead C: <omitted> S: L01 OK User logged in Authenticated. Security strength factor: 0 . logout * BYE LOGOUT received . OK Completed Connection closed. The mailbox is created (properly ? :) # cyradm --user=cyrus localhost Password: localhost.localdomain> lm user/firstname.lastname (\HasNoChildren) user/[EMAIL PROTECTED] (\HasChildren) user/[EMAIL PROTECTED]/Trash (\HasNoChildren) localhost.localdomain> quit Postfix/master is set as: grep cyrdeliver /etc/postfix/master.cf cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -q -r $sender -m $extension $user imapd.conf is: # egrep -v '^$|^#' /etc/imapd.conf configdirectory: /var/lib/cyrus defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes admins: cyrus allowanonymouslogin: no popminpoll: 1 autocreatequota: 0 umask: 077 sieveusehomedir: false sievedir: /var/spool/sieve hashimapspool: true allowplaintext: yes loginrealms: domain.tld sasl_pwcheck_method: saslauthd sasl_auto_transition: yes tls_ca_path: /etc/ssl/certs tls_session_timeout: 1440 tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH lmtpsocket: /var/run/cyrus/socket/lmtp idlesocket: /var/run/cyrus/socket/idle notifysocket: /var/run/cyrus/socket/notify servername: debian.test.tld Here's the mail.log: Jan 26 11:22:41 debian postfix/pickup[2574]: D8AC2B9B6E: uid=1000 from=<jojo> Jan 26 11:22:41 debian postfix/cleanup[5804]: D8AC2B9B6E: message-id=<[EMAIL PROTECTED]> Jan 26 11:22:41 debian postfix/qmgr[2575]: D8AC2B9B6E: from=<[EMAIL PROTECTED]>, size=310, nrcpt=1 (queue active) Jan 26 11:22:41 debian cyrus/master[5906]: set maximum file descriptors to 256/256 Jan 26 11:22:41 debian cyrus/master[5906]: about to exec /usr/lib/cyrus/bin/lmtpd Jan 26 11:22:41 debian cyrus/lmtpunix[5906]: executed Jan 26 11:22:41 debian cyrus/lmtpd[5906]: telling master 2 Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix pid 5906 in READY state: now unavailable and in BUSY state Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix now has 0 ready workers Jan 26 11:22:41 debian cyrus/lmtpd[5906]: accepted connection Jan 26 11:22:41 debian cyrus/lmtpd[5906]: telling master 3 Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix pid 5906 in BUSY state: now serving connection Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix now has 0 ready workers Jan 26 11:22:41 debian cyrus/lmtpd[5906]: lmtp connection preauth'd as postman Jan 26 11:22:41 debian cyrus/lmtpd[5906]: duplicate_check: <[EMAIL PROTECTED]> user.firstname^lastname 0 Jan 26 11:22:41 debian cyrus/lmtpd[5906]: mystore: starting txn 2147483658 Jan 26 11:22:41 debian cyrus/lmtpd[5906]: mystore: committing txn 2147483658 Jan 26 11:22:41 debian cyrus/lmtpd[5906]: duplicate_mark: <[EMAIL PROTECTED]> user.firstname^lastname 1138270961 Jan 26 11:22:41 debian postfix/pipe[5807]: D8AC2B9B6E: to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent (debian.test.tld) Jan 26 11:22:41 debian postfix/qmgr[2575]: D8AC2B9B6E: removed Jan 26 11:22:41 debian cyrus/lmtpd[5906]: telling master 1 Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix pid 5906 in BUSY state: now available and in READY state Jan 26 11:22:41 debian cyrus/master[5782]: service lmtpunix now has 1 ready workers Does anyone guesses what I did wrong ? I'm used to courier-imap (on which I have such things working) but never used cyrus previously. TIA, Jo ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html