Re: no mailbox associated?

2006-10-09 Thread Rudy Gevaert

Marten Lehmann wrote:

Hello,

I have created a mailbox within cyrus which works fine (in concerns of 
IMAP sessions). But when I'm trying to deliver messages into this 
mailbox using LMTP I always get:


SMTP error from remote mail server after RCPT TO:[EMAIL PROTECTED]: host 
x.x.x.x [x.x.x.x]: 550-Mailbox unknown.  Either there is no mailbox 
associated with this\n550-name or you do not have authorization to see 
it.\n550 5.1.1 User unknown


What does this mean?

  lm
[EMAIL PROTECTED] (\HasNoChildren)



Did you create it with
cm [EMAIL PROTECTED]
?



--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann
Hello,

 Did you create it with
 cm [EMAIL PROTECTED]

no, just with

cm [EMAIL PROTECTED]

What is the user. for? I thought this is just a relict from
non-virtualdomain setups? What can I use an account for if I'm not creating it
with user.? Can I rename the account or do I have to create a new one (is
user. evaluated at the creation time to create a special typ of account?)?

Regards
Marten



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


Re: no mailbox associated?

2006-10-09 Thread Rudy Gevaert

Marten Lehmann wrote:

Hello,



Did you create it with
cm [EMAIL PROTECTED]



no, just with

cm [EMAIL PROTECTED]

What is the user. for? I thought this is just a relict from
non-virtualdomain setups? 


http://cyrusimap.web.cmu.edu//imapd/overview.html#mboxname


What can I use an account for if I'm not creating it
with user.? Can I rename the account or do I have to create a new one (is
user. evaluated at the creation time to create a special typ of account?)?



I suggest you create a new one, and delete the old one.





--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


Re: no mailbox associated?

2006-10-09 Thread Jorey Bump

Marten Lehmann wrote:

Hello,


Did you create it with
cm [EMAIL PROTECTED]


no, just with

cm [EMAIL PROTECTED]

What is the user. for? I thought this is just a relict from


See this for an explanation:

 http://cyrusimap.web.cmu.edu/imapd/overview.html#mboxnamestd

It's a common mistake to forget the 'user.' prefix, but it is required 
in a conventional setup.



non-virtualdomain setups? What can I use an account for if I'm not creating it
with user.? 


There really aren't accounts in Cyrus IMAP, just mailboxes created 
within namespaces. The notion of an account is a product of the 
authentication system (Cyrus SASL) combined with Access Control Lists. 
When an external process (like your MTA) passes a message to Cyrus for 
delivery, the form of the localpart tells Cyrus how to deliver it, and a 
simple [EMAIL PROTECTED] gets delivered to the user.foo namespace. But a 
user that authenticates to Cyrus can have access to much more than a 
mailbox in the user namespace (and may not even have access to the user 
namespace at all!). It seems confusing at first, but it's a very 
flexible system.


Mailboxes created in the root of the namespace can be used as bulletin 
boards or shared mailboxes that appear at the same level as INBOX, not 
as a child of it (which can be further confused by the use of 
altnamespace). However, it's recommended to use the namespaces provided 
for these features so user accounts don't get cluttered with folders 
over which they have no control (if they don't use subscriptions), and 
to support delivery using specially constructed localparts in email 
addresses.



Can I rename the account or do I have to create a new one (is
user. evaluated at the creation time to create a special typ of account?)?


If there is no mail in it, it is safe to delete this mailbox with cyradm 
and create a new one in the user namespace (the example assumes cyrus is 
your admin user):


 localhost sam test cyrus c
 localhost dm test
 localhost cm user.test






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


Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann

Hello,

It's a common mistake to forget the 'user.' prefix, but it is required 
in a conventional setup.


I tried this now, but it didn't get me any further. I created 
[EMAIL PROTECTED], but all LMTP deliveries (not authenticated, lmtpd 
running with -a) are failing:


rcpt to:[EMAIL PROTECTED]
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
rcpt to:[EMAIL PROTECTED]
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
rcpt to:user.test
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
rcpt to:test
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

Isn't there anyone doing deliveries via TCP to cyrus setups with virtual 
domains?


Regards
Marten

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


Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann

Hello,

I tried this now, but it didn't get me any further. I created 
[EMAIL PROTECTED], but all LMTP deliveries (not authenticated, lmtpd 
running with -a) are failing:


rcpt to:[EMAIL PROTECTED]


no, mail to [EMAIL PROTECTED], not to [EMAIL PROTECTED]


I tried all combinations, with and without user.. It didn't work out. 
How can I turn on some logging to see what is going on?


Regards
Marten

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


Re: no mailbox associated?

2006-10-09 Thread Rudy Gevaert

Marten Lehmann wrote:

Hello,

It's a common mistake to forget the 'user.' prefix, but it is required 
in a conventional setup.



I tried this now, but it didn't get me any further. I created 
[EMAIL PROTECTED], but all LMTP deliveries (not authenticated, lmtpd 
running with -a) are failing:


rcpt to:[EMAIL PROTECTED]


no, mail to [EMAIL PROTECTED], not to [EMAIL PROTECTED]

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


no mailbox associated?

2006-10-08 Thread Marten Lehmann

Hello,

I have created a mailbox within cyrus which works fine (in concerns of 
IMAP sessions). But when I'm trying to deliver messages into this 
mailbox using LMTP I always get:


SMTP error from remote mail server after RCPT TO:[EMAIL PROTECTED]: host 
x.x.x.x [x.x.x.x]: 550-Mailbox unknown.  Either there is no mailbox 
associated with this\n550-name or you do not have authorization to see 
it.\n550 5.1.1 User unknown


What does this mean?

 lm
[EMAIL PROTECTED] (\HasNoChildren)

I also granted too much rights, but it still didn't work:

 lam [EMAIL PROTECTED]
all a
anyone lrs

Regards
Marten

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