Denis BUCHER | 2 Dec 2009 11:28
Picon
Favicon

Re: Autocreate not working (?)

Hello nodens2099,

nodens2099 a écrit :
>> We are trying to migrate from Suse+Cyrus+postfix to Debian+Suse+postfix
>> but we have a problem. When a user logs in for the first time, the Inbox
>> is not created automatically... Does someone knows if we have to add
>> something to cyrus config or why it doesn't work ?
>>
>> For your information, installed cyrus is cyrus-imapd-2.2
>>  2.2.13-14+lenny3.
>>
>> It was working perfectly under SuSE Linux (SLES)
> 
> Autocreate is not included in stock cyrus imapd. Debian packages do not
> include the autocreate patch, except in kolab-cyrus-* packages AFAIK.

Ok, but then how should we do ? Should we make a script for this, what
would be the equivalent to autocreate ? What do you think of this :

su - cyrus
cyradm --user cyrus --auth login localhost
(password)
cm user.USERNAME

Would this be the equivalent ?

But now I get "Unrecognized command" when I connect to the mailbox ?
(Before it was something like "Inbox does not exist")

Denis
(Continue reading)

Denis BUCHER | 2 Dec 2009 11:47
Picon
Favicon

Re: Autocreate not working (?)

Dear all,

Denis BUCHER a écrit :
>>> We are trying to migrate from Suse+Cyrus+postfix to Debian+Suse+postfix
>>> but we have a problem. When a user logs in for the first time, the Inbox
>>> is not created automatically... Does someone knows if we have to add
>>> something to cyrus config or why it doesn't work ?
>>>
>>> For your information, installed cyrus is cyrus-imapd-2.2
>>>  2.2.13-14+lenny3.
>>>
>>> It was working perfectly under SuSE Linux (SLES)
>> Autocreate is not included in stock cyrus imapd. Debian packages do not
>> include the autocreate patch, except in kolab-cyrus-* packages AFAIK.
> 
> Ok, but then how should we do ? Should we make a script for this, what
> would be the equivalent to autocreate ? What do you think of this :
> 
> su - cyrus
> cyradm --user cyrus --auth login localhost
> (password)
> cm user.USERNAME
> 
> Would this be the equivalent ?
> 
> But now I get "Unrecognized command" when I connect to the mailbox ?
> (Before it was something like "Inbox does not exist")

Ok finally it seems to work with what I did before...

(Continue reading)

nodens2099 | 2 Dec 2009 14:16
Picon

Re: Autocreate not working (?)

Le 02/12/2009 11:47, Denis BUCHER a écrit :
>> Would this be the equivalent ?
>>
>> But now I get "Unrecognized command" when I connect to the mailbox ?
>> (Before it was something like "Inbox does not exist")
> 
> Ok finally it seems to work with what I did before...
> 
> So I think this was correct now...
> 
> Feel free to comment on my script ;-)
> 

If you want to ease the mailbox creation (you can think of it as "create 
mail user", as opposed to "system user"), there are some scripts 
available in the cyrus wiki [1]. I maintain and use imapcreate.pl [2] 
for instance. You'll probably want to add the mailbox creation to the 
user creation process.

Or, you can use the kolab-cyrus-imapd package with autocreate patch 
enabled (along with other).

[1] http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WebHome
[2] http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/ImapCreate

Regards,

--

-- 
Clément Hermann
----
(Continue reading)

Denis BUCHER | 6 Dec 2009 17:19
Picon
Favicon

Re: Autocreate not working (?)

Thanks a lot, just a problem :

http://cyrusimap.web.cmu.edu/twiki/pub/Cyrus/ImapCreate/imapcreate.pl

404 not found

Denis

nodens2099 a écrit :
> Le 02/12/2009 11:47, Denis BUCHER a écrit :
>>> Would this be the equivalent ?
>>>
>>> But now I get "Unrecognized command" when I connect to the mailbox ?
>>> (Before it was something like "Inbox does not exist")
>>
>> Ok finally it seems to work with what I did before...
>>
>> So I think this was correct now...
>>
>> Feel free to comment on my script ;-)
>>
> 
> If you want to ease the mailbox creation (you can think of it as "create
> mail user", as opposed to "system user"), there are some scripts
> available in the cyrus wiki [1]. I maintain and use imapcreate.pl [2]
> for instance. You'll probably want to add the mailbox creation to the
> user creation process.
> 
> Or, you can use the kolab-cyrus-imapd package with autocreate patch
> enabled (along with other).
(Continue reading)

Patrick Boutilier | 2 Dec 2009 12:08
Picon
Favicon

Re: Autocreate not working (?)

On 12/02/2009 06:28 AM, Denis BUCHER wrote:
> Hello nodens2099,
>
> nodens2099 a écrit :
>>> We are trying to migrate from Suse+Cyrus+postfix to Debian+Suse+postfix
>>> but we have a problem. When a user logs in for the first time, the Inbox
>>> is not created automatically... Does someone knows if we have to add
>>> something to cyrus config or why it doesn't work ?
>>>
>>> For your information, installed cyrus is cyrus-imapd-2.2
>>>   2.2.13-14+lenny3.
>>>
>>> It was working perfectly under SuSE Linux (SLES)
>>
>> Autocreate is not included in stock cyrus imapd. Debian packages do not
>> include the autocreate patch, except in kolab-cyrus-* packages AFAIK.
>
> Ok, but then how should we do ?

You could just compile your own Cyrus with the auto-create patch applied.

  Should we make a script for this, what
> would be the equivalent to autocreate ? What do you think of this :
>
> su - cyrus
> cyradm --user cyrus --auth login localhost
> (password)
> cm user.USERNAME
>
> Would this be the equivalent ?
(Continue reading)


Gmane