Cyrus + postfix

Florent eppo at darox.net
Wed Feb 4 19:07:15 EST 2004


I try to configure postfix 2.0 using cyrus 2.1.16
I put in main.cf: 
mailbox_transport = cyrus

And in master.cf:
cyrus unix - n n - - pipe
 flags=R user=cyrus argv=/usr/bin/cyrdeliver -e -m "{$extension}" ${user}

I create mailbox to user toto using cyradm and make a passwd using
saslpasswd
When I try to connect to the imap server, I can log in and access to inbox.
But when I send a mail to this user, postfix says that an error occurred
(bad protocol).
I think my configuration is not good but I don't know where.

Here is the mail.log:

Feb  5 00:41:31 neo postfix/pickup[1352]: B18778F801D: uid=0 from=<root> 
Feb  5 00:41:31 neo postfix/cleanup[1415]: B18778F801D:
message-id=<20040204234131.B18778F801D at smtp.example.net>
Feb  5 00:41:31 neo postfix/qmgr[1353]: B18778F801D:
from=<root at example.net>, size=284, nrcpt=1 (queue active) 
Feb  5 00:41:31 neo cyrus/master[1419]: set maximum file descriptors to
256/256 
Feb  5 00:41:31 neo cyrus/master[1419]: about to exec
/usr/lib/cyrus/bin/lmtpd 
Feb  5 00:41:31 neo cyrus/lmtpunix[1419]: executed 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 2 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: accepted connection 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in READY
state: now unavailable and in BUSY state 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 0 ready
workers 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 3 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: lmtp connection preauth'd as postman 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in BUSY
state: now serving connection 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 0 ready
workers 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 1 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in BUSY
state: now available and in READY state 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 1 ready
workers 
Feb  5 00:41:31 neo postfix/pipe[1417]: B18778F801D: to=<toto at example.net>,
relay=cyrus, delay=0, status=bounced (data format error. Command output:
toto+"": Bad protocol ) 
Feb  5 00:41:31 neo postfix/cleanup[1415]: C491B8F801E:
message-id=<20040204234131.C491B8F801E at smtp.example.net>
Feb  5 00:41:31 neo postfix/qmgr[1353]: C491B8F801E: from=<>, size=1876,
nrcpt=1 (queue active) 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 2 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: accepted connection 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in READY
state: now unavailable and in BUSY state 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 0 ready
workers 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 3 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: lmtp connection preauth'd as postman 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in BUSY
state: now serving connection 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 0 ready
workers 
Feb  5 00:41:31 neo cyrus/lmtpd[1419]: telling master 1 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix pid 1419 in BUSY
state: now available and in READY state 
Feb  5 00:41:31 neo cyrus/master[468]: service lmtpunix now has 1 ready
workers Feb  5 00:41:31 neo postfix/pipe[1417]: C491B8F801E:
to=<localuser at example.net>, orig_to=<root at example.net>, relay=cyrus,
delay=0, status=bounced (data format error. Command output: localuser+"":
Bad protocol )


Localuser is a unix account user which is the alias of root. So I guess that
postfix failed to deliver the mail and try to tell this trouble to
postmaster.


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list