Unknown mailbox (was: Trouble with LMTP)
Tim Kettler
tim.kettler at udo.edu
Thu May 22 03:12:28 EDT 2003
Thanks for the answers,
I'm using a SuSE distribution and it turns out that I have to use
'/var/spool/postfix/public/lmtp' instead of the cyrus provided socket.
After I changed the LMTP configuration in 'cyrus.conf' and 'main.cf' to
that socket the delivery works as expected.... at least at nearly....
Now LMTP has trouble to find the correct mailbox for my testuser:
May 22 08:38:00 preston postfix/lmtp[27431]: deliver_message: from
root at example.com
May 22 08:38:00 preston postfix/lmtp[27431]: >
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: RSET
May 22 08:38:00 preston postfix/lmtp[27431]: vstream_fflush_some: fd 11
flush 6
May 22 08:38:00 preston postfix/lmtp[27431]: vstream_buf_get_ready: fd
11 got 14
May 22 08:38:00 preston postfix/lmtp[27431]: <
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: 250
2.0.0 ok
May 22 08:38:00 preston postfix/lmtp[27431]: deliver_message: reusing
(count 2) session with: /var/spool/postfix/public/lmtp
May 22 08:38:00 preston postfix/lmtp[27431]: >
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: MAIL
FROM:<root at example.com> SIZE=365
----->relevant
May 22 08:38:00 preston postfix/lmtp[27431]: >
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: RCPT
TO:<user/test at example.com>
<-----relevant
May 22 08:38:00 preston postfix/lmtp[27431]: >
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: DATA
May 22 08:38:00 preston postfix/lmtp[27431]: vstream_fflush_some: fd 11
flush 87
May 22 08:38:00 preston postfix/lmtp[27431]: vstream_buf_get_ready: fd
11 got 188
May 22 08:38:00 preston postfix/lmtp[27431]: <
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: 250
2.1.0 ok
----->relevant
May 22 08:38:00 preston postfix/lmtp[27431]: <
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]:
550-Mailbox unknown. Either there is no mailbox asso
ciated with this
May 22 08:38:00 preston postfix/lmtp[27431]: <
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: 550-name
or you do not have authorization to see it.
May 22 08:38:00 preston postfix/lmtp[27431]: <
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp]: 550
5.1.1 User unknown
<-----relevant
You see that the address is rewritten from 'test at example.com' to
'user/test at example.com' and that Cyrus-LMTP says it is unable to find a
mailbox for that name.
cyradm gives the following:
preston:/var/log # cyradm --user cyrus localhost
Password:
localhost> lm
user/test at example.com (\HasNoChildren)
localhost> lam user/test at example.com
test at example.com lrswipcda
anyone lp
I have no clue how the mailbox has to be named respectively what format
the rewritten address has to have. I'm grateful for any advice.
Thanks in advance
Tim Kettler
More information about the Info-cyrus
mailing list