Cyrus + SASL + PAM + LDAP

Igor Brezac igor at ipass.net
Thu May 4 11:09:07 EDT 2006


On Thu, 4 May 2006, Imre Veres wrote:

> 2006/5/4, Igor Brezac <igor at ipass.net>:
>> postfix will need to do the translation (RCPT TO will need to be
>> six at company.hu).
>> 
>> --
>> Igor
>
> Oh Dear, I thought that I almost finished my work but there is a new
> issue. I make postfix to do translation but cyrus cannot find mailbox,
> either. Here are my logs (pls see the second line, postfix change rcpt
> to:):
>
> May  4 16:50:43 gape cyrus/lmtpd[7454]: login: localhost.localdomain
> [127.0.0.1] lmtpuser LOGIN User logged in
> May  4 16:50:43 gape postfix/lmtp[7453]: 278D31C22B:
> to=<six at company.hu>, orig_to=<imre.veres at company.hu>,
> relay=127.0.0.1[127.0.0.1], delay=13, status=bounced (host
> 127.0.0.1[127.0.0.1] said: 550-Mailbox unknown.  Either there is no
> mailbox associated with this 550-name or you do not have authorization
> to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
> May  4 16:50:43 gape postfix/cleanup[7452]: D5EB21C260:
> message-id=<20060504145043.D5EB21C260 at mail.company.hu>
>
> cyradm --user cyrus --auth login localhost
> IMAP Password:
> localhost.localdomain> lm
> user.test1 (\HasNoChildren)      user.testuser (\HasNoChildren)
> user.six (\HasNoChildren)
> localhost.localdomain>lam user.six
> anyone lrs
> lmtpuser lrswipcda
>
> As you can see, user.six mailbox does exists, postfix translates mail
> address to six at company.hu, even lmtpuser has full rights to the
> mailbox but cyrus cannot find mailbox. I cannot understand this
> situation. :-( Where should I continue inspection?

I think you need to drop @company.hu in the lmtp rcpt to.  It's been 
awhile since I setup a non-virtual domain setup.

-- 
Igor


More information about the Cyrus-sasl mailing list