Authentication problem

2008-06-09 Thread Stephen Liu
Hi folks, On running; $ su # imtest -m login -p imap localhost S: * OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND

Re: Cyrus - can't create user mailbox

2008-06-09 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

Re: Authentication problem

2008-06-09 Thread Simon Matter
Hi folks, On running; $ su # imtest -m login -p imap localhost S: * OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN

Re: Authentication problem

2008-06-09 Thread Stephen Liu
--- Simon Matter [EMAIL PROTECTED] wrote: - snip - Please advise where shall I check and how to fix the problem. TIA You should post your configs (/etc/cyrus.conf and /etc/imapd.conf) which will make it easier for someone to help you. Hi Simon, cyrus.conf and imapd.conf are as

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 satimiscyrus

Re: Authentication problem

2008-06-09 Thread Stephen Liu
--- Simon Matter [EMAIL PROTECTED] wrote: - snip - cyrus.conf and imapd.conf are as follows. Those lines, commented out, have been deleted to shorten the length of this posting. OK, since you are using saslauthd you should also post the saslauthd and related configs (PAM or whatever

Re: Authentication problem

2008-06-09 Thread Simon Matter
--- Simon Matter [EMAIL PROTECTED] wrote: - snip - Please advise where shall I check and how to fix the problem. TIA You should post your configs (/etc/cyrus.conf and /etc/imapd.conf) which will make it easier for someone to help you. Hi Simon, cyrus.conf and imapd.conf are as

Re: Authentication problem

2008-06-09 Thread Simon Matter
--- Simon Matter [EMAIL PROTECTED] wrote: - snip - cyrus.conf and imapd.conf are as follows. Those lines, commented out, have been deleted to shorten the length of this posting. OK, since you are using saslauthd you should also post the saslauthd and related configs (PAM or

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 it works. But I can't find this new user

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 reperentation

Re: Authentication problem

2008-06-09 Thread Stephen Liu
--- Simon Matter [EMAIL PROTECTED] wrote: Sorry previously I made a mistake on posting /etc/default/saslauthd It should read as; $ cat /etc/default/saslauthd # This needs to be uncommented before saslauthd will be run automatically START=yes PARAMS=-m /var/spool/postfix/var/run/saslauthd -r

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 command as root?

bug in the proxy module ...

2008-06-09 Thread Brasseur Valery
Hi, I am using cyrus 2.3.11 in a murder setup... from time to time have got an hang from the pop3 proxyd ... I nail it donw to the following portion of code : in imap/proxy.c near line 266 : quote if (pout) { const char *err; char buf[4096];

Re: Authentication problem

2008-06-09 Thread Simon Matter
--- Simon Matter [EMAIL PROTECTED] wrote: Sorry previously I made a mistake on posting /etc/default/saslauthd It should read as; $ cat /etc/default/saslauthd # This needs to be uncommented before saslauthd will be run automatically START=yes PARAMS=-m

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 have to run the command as

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 matter. The cyrus user

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 have the

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 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 (\HasNoChildren)

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,

unsubscribe

2008-06-09 Thread Robert Annandale
unsubscribe 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: Authentication problem

2008-06-09 Thread Stephen Liu
Hi Simon, - snip - $ cat /etc/pam.d/imap @include common-auth @include common-account Well, now you should provide us the common-auth and common-account configs. $ locate common-auth /etc/pam.d/common-auth /usr/share/pam/common-auth /usr/share/pam/common-auth.md5sums $ cat

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 [EMAIL PROTECTED]: Try to

Re: Authentication problem

2008-06-09 Thread Michael Menge
$ imtest -m login -p imap -u satimiscyrus localhost S: * OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT

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, look

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 already stated).

Re: Authentication problem

2008-06-09 Thread Stephen Liu
Hi Michael, I have the feeling you should add this to your imapd.conf: sasl_mech_list: PLAIN I miss AUTH=LOGIN and AUTH=PLAIN so sasl_mech_list: PLAIN will only cause that no auth mech will be available. Performed following test; $ sudo nano /etc/imapd.conf adding; AUTH=LOGIN

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 | grep

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 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 need

Re: Authentication problem

2008-06-09 Thread Wesley Craig
On 09 Jun 2008, at 13:06, Stephen Liu wrote: S: L01 NO Login failed: generic failure These generic login failures typically produce a log message in your security logs. :wes Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List

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:

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

Re: Authentication problem

2008-06-09 Thread Stephen Liu
Hi Wesley, On 09 Jun 2008, at 13:06, Stephen Liu wrote: S: L01 NO Login failed: generic failure These generic login failures typically produce a log message in your security logs. Here are the logs $ sudo ls -la /var/log/ total 48048 drwxr-xr-x 8 root root 4096 2008-06-10

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 Home Page:

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 # -o

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 total