Re: Cyrus - can't create user mailbox - SOLVED

2008-06-10 Thread Stephen Liu
Hi Alain, Problem solved. Mail arrives. - snip - > > However on /etc/group I found following entries; > > > > mail:x:8:dovecot > > dovecot:x:113: > > if you can edit /etc/group, change mail group like that > > mail:x:8:dovecot,postfix > > and restart postfix Edit /etc/group and restart

Re: Cyrus - can't create user mailbox

2008-06-10 Thread Alain Spineux
On Tue, Jun 10, 2008 at 3:21 PM, Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Jorey, > > > - snip - > > >> > The output here is; >> > $ id postfix >> > uid=107(postfix) gid=111(postfix) groups=111(postfix) >> >> Yes. Now add the postfix user to the mail group, and the permissions >> error should dis

Re: Cyrus - can't create user mailbox

2008-06-10 Thread Jorey Bump
Stephen Liu wrote, at 06/10/2008 09:21 AM: >>> The output here is; >>> $ id postfix >>> uid=107(postfix) gid=111(postfix) groups=111(postfix) >> Yes. Now add the postfix user to the mail group, and the permissions >> error should disappear. > > I'm prepared to run; > > $ sudo groupadd mail -g 1

Re: Cyrus - can't create user mailbox

2008-06-10 Thread Stephen Liu
Hi Jorey, - snip - > > The output here is; > > $ id postfix > > uid=107(postfix) gid=111(postfix) groups=111(postfix) > > Yes. Now add the postfix user to the mail group, and the permissions > error should disappear. I'm prepared to run; $ sudo groupadd mail -g 1001 $ useradd postfix -u 1

Re: Cyrus - can't create user mailbox

2008-06-10 Thread Jorey Bump
Stephen Liu wrote, at 06/10/2008 07:42 AM: > --- Jorey Bump <[EMAIL PROTECTED]> wrote: > >> Stephen Liu wrote, at 06/09/2008 09:55 PM: >> >>> Jun 10 09:14:10 lampserver postfix/lmtp[4989]: 40275878215: >>> to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred >>> (connect to >>> /var/run/cy

Re: Cyrus - can't create user mailbox

2008-06-10 Thread Stephen Liu
--- Jorey Bump <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote, at 06/09/2008 09:55 PM: > > > Jun 10 09:14:10 lampserver postfix/lmtp[4989]: 40275878215: > > to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred > > (connect to > > /var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp]: Per

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Jorey Bump
Stephen Liu wrote, at 06/09/2008 09:55 PM: > Jun 10 09:14:10 lampserver postfix/lmtp[4989]: 40275878215: > to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred > (connect to > /var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp]: Permission > denied) > $ sudo ls -l /var/run/cyrus/socket

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
--- Jens Hoffrichter <[EMAIL PROTECTED]> wrote: > > $ cat /etc/postfix/master.cf | grep smtp > > smtp inet n - - - - smtpd > > > > smtp unix - - - - - smtp > > relay unix - - - - - smtp > > #

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Alain, > On Mon, Jun 9, 2008 at 7:42 PM, Jorey Bump <[EMAIL PROTECTED]> > wrote: > > Stephen Liu wrote, at 06/09/2008 01:19 PM: > > > > There's no need to run Postfix in a chroot jail. You are better off > > disabling chroot entirely (explicitly with an 'n' in master.cf). > > > > Cyrus Ho

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Jorey, - snip - > All those dashes represent the specified defaults for that column. > > > No 'y' found. > > Stop guessing. Post your entire master.cf. $ cat /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the Postfix ma

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Alain Spineux
On Mon, Jun 9, 2008 at 7:42 PM, Jorey Bump <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote, at 06/09/2008 01:19 PM: > > There's no need to run Postfix in a chroot jail. You are better off > disabling chroot entirely (explicitly with an 'n' in master.cf). > > Cyrus Home Page: http://cyrusimap.we

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Jorey Bump
Stephen Liu wrote, at 06/09/2008 01:19 PM: > $ cat /etc/postfix/master.cf | grep y This is useless, because: > # service type private unpriv chroot wakeup maxproc command + args > # (yes) (yes) (yes) (never) (100) The chroot setting defaults to yes, so a 'y' does not nee

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Jens Hoffrichter
Hi Stephen, 2008/6/9 Stephen Liu <[EMAIL PROTECTED]>: > Thanks for your advice. No problem - we all struggled at some point and were glad for help :) > $ cat /etc/postfix/master.cf | grep smtp > smtp inet n - - - - smtpd > > smtp unix - - -

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Alain, - snip - > > Would it be /var/run/cyrus/socket/lmtp ? > > You have somewhere int your postfix main.cf "/var/run/lmtp", > probably > a mailbox_transport=... or a local_transport= > You must replace it by the cyrus path : /var/run/cyrus/socket/lmtp $ cat /etc/postfix/main.cf | g

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Alain Spineux
On Mon, Jun 9, 2008 at 4:07 PM, Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Simon, > > >> > Whether I have to run the command as root? >> >> NO, you shouldn't run this as root! >> If you want to delete a cyrus mailbox you have to give the cyrus >> admin >> user the rights to do so (as someone else

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Jens, Thanks for your advice. - snip - > > Would it be /var/run/cyrus/socket/lmtp ? > Yep, it would be it. > > But please note that the postfix smtpd under Debian (and probably > Ubuntu as well) runs in a chroot environment. You can see this by > looking in your /etc/postfix/master.cf file

Cyrus - can't create user mailbox

2008-06-09 Thread Jens Hoffrichter
This mail accidently went off-listSo here a resend -- Forwarded message -- From: Jens Hoffrichter <[EMAIL PROTECTED]> Date: 2008/6/9 Subject: Re: Cyrus - can't create user mailbox To: Stephen Liu <[EMAIL PROTECTED]> Hi Stephen, 2008/6/9 Stephen Liu

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Michael Menge
Quoting Stephen Liu <[EMAIL PROTECTED]>: $ tail /var/log/mail.info Jun 9 21:26:25 lampserver postfix/qmgr[4188]: C18198781EC: from=<[EMAIL PROTECTED]>, s ize=1834, nrcpt=1 (queue active) Jun 9 21:26:25 lampserver postfix/lmtp[4196]: C18198781EC: to=<[EMAIL PROTECTED]>, relay=none, dela

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Joseph, > > Whether I have to run the command as root? > > Root doesn't matter. The cyrus user needs permission to delete. > This is a safety feature. sam user.satimiscyrus cyrus all Noted with thanks. > >> > localhost> cm user/satimiscyrus > >> > localhost> lm > >> > user.groupware (\

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Simon, > > Whether I have to run the command as root? > > NO, you shouldn't run this as root! > If you want to delete a cyrus mailbox you have to give the cyrus > admin > user the rights to do so (as someone else already stated). Noted with thanks. > ^

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Michael, > > $ cat /etc/imapd.conf | grep unixhierarchysep > > unixhierarchysep: yes > > > > > > It is set as "yes" > > yes and 1 mean the same, unixhierarchsep is used. Noted with thanks. > > I can't delete the mailbox created previously. > > as stated from cyradm the user cyrus does not

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Joseph Brennan
>> > $ cyradm -u cyrus localhost >> > Password: >> > localhost> dm user.satimiscyrus >> > deletemailbox: Permission denied >> > >> > I can't delete the mailbox created previously. >> >> Because you need to give yourself the right before > > Whether I have to run the command as root? Root doesn't

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Simon Matter
> Hi Alain, > > > Thanks for your advice. > > >> > $ cyradm -u cyrus localhost >> > Password: >> > localhost> dm user.satimiscyrus >> > deletemailbox: Permission denied >> > >> > I can't delete the mailbox created previously. >> >> Because you need to give yourself the right before > > > Whether I

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Alain, Thanks for your advice. > > $ cyradm -u cyrus localhost > > Password: > > localhost> dm user.satimiscyrus > > deletemailbox: Permission denied > > > > I can't delete the mailbox created previously. > > Because you need to give yourself the right before Whether I have to run the com

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Michael Menge
Quoting Stephen Liu <[EMAIL PROTECTED]>: $ cat /etc/imapd.conf | grep unixhierarchysep unixhierarchysep: yes It is set as "yes" yes and 1 mean the same, unixhierarchsep is used. To create a Inbox for the user satimiscyrus you have to use cm user/satimiscyrus The ^ is the reperentatio

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Alain Spineux
On Mon, Jun 9, 2008 at 11:36 AM, Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Michael, > > > Thanks for your advice. > > >> Quoting Stephen Liu <[EMAIL PROTECTED]>: >> >> > >> >> > $ cyradm -u cyrus localhost >> >> > Password: >> >> > localhost> cm user.satimiscyrus >> >> > localhost> quit >> >> > >

Re: Cyrus - can't create user mailbox

2008-06-09 Thread Stephen Liu
Hi Michael, Thanks for your advice. > Quoting Stephen Liu <[EMAIL PROTECTED]>: > > > > >> > $ cyradm -u cyrus localhost > >> > Password: > >> > localhost> cm user.satimiscyrus > >> > localhost> quit > >> > > >> > it works. But I can't find this new user NOR its mailbox. > >> > > $ locate sati

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Michael Menge
Hi Stephen, Quoting Stephen Liu <[EMAIL PROTECTED]>: > $ cyradm -u cyrus localhost > Password: > localhost> cm user.satimiscyrus > localhost> quit > > it works. But I can't find this new user NOR its mailbox. $ locate satimiscyrus /var/spool/cyrus/mail/u/user^satimiscyrus /var/spool/cyrus/

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Stephen Liu
Hi Simon, Thanks for your advice. It is my first time running cyrus-imap to setup a LAMP server. Most times I run courier-imap. This is a test running headless on installation and w/o X packages installed. The server is working. Postfix can send mails via telnet. I suppose it can also rece

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Stephen Liu
Hi folks, Further to my 1st posting listed at the bottom, I found out the trick. I must use the password created on running; # saslpasswd2 -c cyrus NOT on running; # passwd cyrus What will be the use of the 2nd password? Thanks. Now on running; $ cyradm -u cyrus localhost Password: l

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Simon Matter
> Hi folks, > > > Further to my 1st posting listed at the bottom, I found out the trick. > I must use the password created on running; > > # saslpasswd2 -c cyrus > > > NOT on running; > # passwd cyrus > > > What will be the use of the 2nd password? Thanks. > > > Now on running; > > > $ cyradm -u

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Dick Hoogendijk
On Sun, 8 Jun 2008 21:15:58 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > $ cyradm -u cyrus localhost > Password: > localhost> cm user.satimiscyrus > createmailbox: Permission denied > * end * Does the user cyrus exist w/ it's password in sasldb2? Did you check all the permissions? -- D

Re: Cyrus - can't create user mailbox

2008-06-08 Thread Stephen Liu
--- Dick Hoogendijk <[EMAIL PROTECTED]> wrote: > On Sun, 8 Jun 2008 21:15:58 +0800 (CST) > Stephen Liu <[EMAIL PROTECTED]> wrote: > > > $ cyradm -u cyrus localhost > > Password: > > localhost> cm user.satimiscyrus > > createmailbox: Permission denied > > * end * > > Does the user cyrus exist w/

Cyrus - can't create user mailbox

2008-06-08 Thread Stephen Liu
Hi folks, Ubuntu 6.06 drake amd64 I'm following; Cyrus https://help.ubuntu.com/community/Cyrus building IMAP/POP servers. Packages installed; postfix cyrus-admin-2.2 cyrus-clients-2.2 cyrus-imapd-2.2 sasl2-bin cyrus-pop3d-2.2 libc-client-dev gamin * end * Everything is going on smoo