Re: sieveshell not working with saslauthd

2002-02-12 Thread [EMAIL PROTECTED]




Done, Thanks for the writeup. What other issues do we have when it comes
to upgrading?

Tarjei

julesa wrote:

  On Mon, 2002-02-11 at 07:13, Daniel Yu wrote:
  
New sieveshell uses sieve service name instead of imap. Trycp /etc/pam.d/imap /etc/pam.d/sieve

Yeah, this one bit me when I upgraded to 2.1.1 too. Could someone pleaseadd this to the FAQ? Please feel free to offer alternative possibleanswers or point out inaccuracies or possible points ofmisunderstanding.Q: When using saslauthd with PAM, IMAP and POP authenticate fine, butsieve authentication attempts fail. What could be causing this?A: Timsieved in version 2.1.X identifies itself to PAM with servicename"sieve" instead of "imap" as it used to in earlier releases of Cyrus, soyou need to add sieve to your PAM configuration. Try "cp /etc/pam.d/imap/etc/pam.d/sieve". (Thanks, Daniel)






Re: character in mailbox name

2002-02-12 Thread Carsten Hoeger

On Tue, Feb 12, Enric Ramos wrote:

 I need to create some mailboxes using '' character...
 (For instance user.userco)
 
 When I try to do this, cyradm show the following error:
 
 cyrus cm user.userco
 syntax error: cannot deal with `' here
   
 Is there any limitation in using this character ?
 If yes: someone knows what characters else souldn't be used ?

 and - have special meanings and are used to mark utf7 encoded
characters in folder names. If you want to use , you have to write
-, e.g. user.user-co

-- 
With best regards,

Carsten Hoeger

SuSE, The Linux Experts, http://www.suse.com

Key fingerprint = E3B6 7FDB 4800 0F22 DC09  EB2B 7988 B6A8 6691 C94A



msg05860/pgp0.pgp
Description: PGP signature


Re: cyradm authentication

2002-02-12 Thread Ken Murchison



Simon Matter wrote:
 
 Daniel Yu schrieb:
 
  Try cyradm --user mailadmin --auth login localhost or cyradm --user
  mailadmin --auth plain localhost
 
 Authtype LOGIN is not supported according to the FAQ and it seems that
 whenever LOGIN works, it also works with PLAIN. Is it the same in the
 end?

When used with cyradm, LOGIN means use the IMAP LOGIN command, not the
unsupported LOGIN SASL mechanism (AUTHENTICATE command).  They do use
the same sasl_checkpass() call to verify the password however.

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



RE: character in mailbox name

2002-02-12 Thread Enric Ramos


Cartsen:

I had tried this, but cyrus doesn't accept it

cyrus2 cm user.user-co  
syntax error: cannot deal with `' here

Thanks, and regards...

 -Mensaje original-
 De: Carsten Hoeger [mailto:[EMAIL PROTECTED]]
 Enviado el: martes, 12 de febrero de 2002 15:05
 Para: [EMAIL PROTECTED]
 Asunto: Re:  character in mailbox name
 
 
 On Tue, Feb 12, Enric Ramos wrote:
 
  I need to create some mailboxes using '' character...
  (For instance user.userco)
  
  When I try to do this, cyradm show the following error:
  
  cyrus cm user.userco
  syntax error: cannot deal with `' here
  
  Is there any limitation in using this character ?
  If yes: someone knows what characters else souldn't be used ?
 
  and - have special meanings and are used to mark utf7 encoded
 characters in folder names. If you want to use , you have to write
 -, e.g. user.user-co
 
 -- 
 With best regards,
 
 Carsten Hoeger
 
 SuSE, The Linux Experts, http://www.suse.com
 
 Key fingerprint = E3B6 7FDB 4800 0F22 DC09  EB2B 7988 B6A8 6691 C94A
 



Re: cyradm authentication

2002-02-12 Thread Simon Matter

Justin G. Wood schrieb:
 
 I tried both, to no avail.  I've included some lines from auth.log that I forgot
 to paste last time.  Also, FYI, I'm using FreeBSD 4.5.
 
 --- login attempts ---
 bash-2.05a$ cyradm --user cyradm --auth login localhost

Are you sure your cyrus user is cyradm? Can you try

cyradm --user cyrus --auth login localhost

or

cyradm --user cyrus --auth plain localhost

And if it fails, did you set a password for the cyrus user?

HTH
-Simon

 IMAP Password:
   Login failed: authentication failure at
 /usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
 cyradm: cannot authenticate to server with login as cyradm
 bash-2.05a$ cyradm --user cyradm --auth plain localhost
 Password:
 IMAP Password:
   Login failed: authentication failure at
 /usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
 cyradm: cannot authenticate to server with plain as cyradm
 perl in free(): warning: chunk is already free
 
 --- auth.log corresponding lines ---
 Feb 12 08:07:51 fs1 saslauthd[4368]: DEBUG: auth_pam: pam_acct_mgmt failed: User
 not known to the underlying authentication module
 Feb 12 08:07:51 fs1 saslauthd[4368]: AUTHFAIL: user=cyradm service=imap realm=
 [PAM acct error]
 Feb 12 08:07:51 fs1 imapd[31372]: authentication failed
 Feb 12 08:08:13 fs1 perl: All-whitespace username.
 Feb 12 08:08:13 fs1 perl: No worthy mechs found
 Feb 12 08:08:16 fs1 saslauthd[4369]: DEBUG: auth_pam: pam_acct_mgmt failed: User
 not known to the underlying authentication module
 Feb 12 08:08:16 fs1 saslauthd[4369]: AUTHFAIL: user=cyradm service=imap realm=
 [PAM acct error]
 Feb 12 08:08:16 fs1 imapd[31378]: authentication failed
 
 Quoting Daniel Yu [EMAIL PROTECTED]:
 
  Try cyradm --user mailadmin --auth login localhost or cyradm --user
  mailadmin --auth plain localhost
 
  -Original Message-
  From: Justin Wood [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 11, 2002 5:45 PM
  To: [EMAIL PROTECTED]
  Subject: cyradm authentication
 
 
  I just blew away my 2.0.16 install and replaced it with 2.1.1.  I am
  using saslauthd with pam to authenticate, and have it working fine for
  imapd and timsieved.  However, I can't authenticate to cyradm.  I get
  the following in syslog:
 
  Feb 11 15:36:20 fs1 imapd[4913]: badlogin:
  fs1.p.flipdog.com[10.69.2.71]
  plaintext cyradm SASL(-13): authentication failure: checkpass failed
 
  My pam is configured to use ldap to authenticate, and I see in my ldap
  logs that it's finding the user cyradm just fine.  Am I missing
  something simple here?  Has anyone else had this problem?
 
  Thanks in advance,
  Justin.
  --
  --
  Justin Wood   [EMAIL PROTECTED]
  Systems Administrator
  FlipDog.com
http://www.flipdog.com/
  --
 
 
 
 
 ---
 Justin Wood  [EMAIL PROTECTED]
 Systems Administrator
 FlipDog.com http://www.flipdog.com/
 ---

-- 
Simon Matter  Tel:  +41 61 695 57 35
Fr.Sauter AG / CITFax:  +41 61 695 53 30
Im Surinam 55
CH-4016 Basel [mailto:[EMAIL PROTECTED]]





Java, IMAP and auth proxy

2002-02-12 Thread Chris Audley

Does anyone know of a Java IMAP library or JavaMail spi which implements 
auth proxying.  The sun IMAP spi that comes with JavaMail does not and I 
read the documentation for iPlanet Java messaging library and it only 
implements simple login.

Any help is appreciated

Cheers
Chris




Re: using space in cyradm

2002-02-12 Thread Darin Perusich

you need to enclose the string in quotes and escape the space with a
backslash.

cm user/test/Sent\ Items

 Daniel Yu wrote:
 
 Does anybody know how to manipulate mailbox with space in its name?
 It's said that we could use double quote, however, it doesn't work in
 my case.
 
 localhost cm user/test/Sent Items
 createmailbox: Unknown/invalid partition
 
 I am using Cyrus-IMAPD-2.1.1
 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
[EMAIL PROTECTED]



Re: cyradm authentication

2002-02-12 Thread Justin Wood

I can only assume that my pam_ldap config is okay.  I can authenticate
with other things like sieve and imap just fine.  

-Justin.

On Tue, 2002-02-12 at 10:44, Simon Matter wrote:
 Justin Wood schrieb:
  
  Yes, I'm sure my cyrus user is cyradm.  I reset the password just in
  case as well.  It appears to be finding the user from ldap properly:
  
  Feb 12 08:08:16 fs1 slapd[4498]: conn=29 op=1 SEARCH RESULT tag=101
  err=0 text=
  Feb 12 08:08:16 fs1 slapd[4498]: conn=29 op=2 BIND
  dn=UID=CYRADM,OU=ADMINISTRATIVE,DC=FLIPDOG,DC=COM method=128
 
 Hm, and your PAM LDAP configuration is okay? Because you get
 ..User not known to the underlying authentication module
 
 Does authentication work for other sessions like pop-3?
 
  
  -Justin.
  
  On Tue, 2002-02-12 at 08:37, Simon Matter wrote:
   Justin G. Wood schrieb:
   
I tried both, to no avail.  I've included some lines from auth.log that I 
forgot
to paste last time.  Also, FYI, I'm using FreeBSD 4.5.
   
--- login attempts ---
bash-2.05a$ cyradm --user cyradm --auth login localhost
  
   Are you sure your cyrus user is cyradm? Can you try
  
   cyradm --user cyrus --auth login localhost
  
   or
  
   cyradm --user cyrus --auth plain localhost
  
   And if it fails, did you set a password for the cyrus user?
  
   HTH
   -Simon
  
IMAP Password:
  Login failed: authentication failure at
/usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
cyradm: cannot authenticate to server with login as cyradm
bash-2.05a$ cyradm --user cyradm --auth plain localhost
Password:
IMAP Password:
  Login failed: authentication failure at
/usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
cyradm: cannot authenticate to server with plain as cyradm
perl in free(): warning: chunk is already free
   
--- auth.log corresponding lines ---
Feb 12 08:07:51 fs1 saslauthd[4368]: DEBUG: auth_pam: pam_acct_mgmt failed: 
User
not known to the underlying authentication module
Feb 12 08:07:51 fs1 saslauthd[4368]: AUTHFAIL: user=cyradm service=imap realm=
[PAM acct error]
Feb 12 08:07:51 fs1 imapd[31372]: authentication failed
Feb 12 08:08:13 fs1 perl: All-whitespace username.
Feb 12 08:08:13 fs1 perl: No worthy mechs found
Feb 12 08:08:16 fs1 saslauthd[4369]: DEBUG: auth_pam: pam_acct_mgmt failed: 
User
not known to the underlying authentication module
Feb 12 08:08:16 fs1 saslauthd[4369]: AUTHFAIL: user=cyradm service=imap realm=
[PAM acct error]
Feb 12 08:08:16 fs1 imapd[31378]: authentication failed
   
Quoting Daniel Yu [EMAIL PROTECTED]:
   
 Try cyradm --user mailadmin --auth login localhost or cyradm --user
 mailadmin --auth plain localhost

 -Original Message-
 From: Justin Wood [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 11, 2002 5:45 PM
 To: [EMAIL PROTECTED]
 Subject: cyradm authentication


 I just blew away my 2.0.16 install and replaced it with 2.1.1.  I am
 using saslauthd with pam to authenticate, and have it working fine for
 imapd and timsieved.  However, I can't authenticate to cyradm.  I get
 the following in syslog:

 Feb 11 15:36:20 fs1 imapd[4913]: badlogin:
 fs1.p.flipdog.com[10.69.2.71]
 plaintext cyradm SASL(-13): authentication failure: checkpass failed

 My pam is configured to use ldap to authenticate, and I see in my ldap
 logs that it's finding the user cyradm just fine.  Am I missing
 something simple here?  Has anyone else had this problem?

 Thanks in advance,
 Justin.
 --
 --
 Justin Wood   [EMAIL PROTECTED]
 Systems Administrator
 FlipDog.com
   http://www.flipdog.com/
 --



   
---
Justin Wood  [EMAIL PROTECTED]
Systems Administrator
FlipDog.com http://www.flipdog.com/
---
  
   --
   Simon Matter  Tel:  +41 61 695 57 35
   Fr.Sauter AG / CITFax:  +41 61 695 53 30
   Im Surinam 55
   CH-4016 Basel [mailto:[EMAIL PROTECTED]]
  
  
  --
  --
  Justin Wood [EMAIL PROTECTED]
  Systems Administrator
  FlipDog.comhttp://www.flipdog.com/
  --
 
 -- 
 Simon Matter  Tel:  +41 61 695 57 35
 Fr.Sauter AG / CITFax:  +41 61 695 53 30
 Im Surinam 55
 CH-4016 Basel [mailto:[EMAIL PROTECTED]]
 
 
-- 
--
Justin Wood [EMAIL PROTECTED]
Systems 

Re: cyradm authentication

2002-02-12 Thread Ken Murchison



Daniel Yu wrote:
 
 It's said so. However, here is what I discovered. Even I didn't enable
 login when I compile SASL library, I still could use --auth login for
 cyradm. Furthermore, it returns different result when I use --auth plain
 versus --auth login. Here is what I got.
 
 cyradm --user cyrus --auth plain localhost
 Password:
 IMAP Password:
 localhost
 
 cyradm --user cyrus --auth login localhost
 IMAP Password:
 localhost
 
 Both approaches work, but plain asks me the same password for one more
 time. I don't know the reason either.

In the first example, PLAIN auth is most likely failing because it isn't
advertised by the server unless protected by a security layer
(SSL/TLS).  It then falls back to trying the IMAP LOGIN command.

See my other post in this thread regarding the difference between the
AUTH=LOGIN and IMAP LOGIN.

Ken

 -Original Message-
 From: Simon Matter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 12, 2002 3:43 AM
 To: Daniel Yu
 Cc: 'Justin Wood'; [EMAIL PROTECTED]
 Subject: Re: cyradm authentication
 
 Daniel Yu schrieb:
 
  Try cyradm --user mailadmin --auth login localhost or cyradm --user
  mailadmin --auth plain localhost
 
 Authtype LOGIN is not supported according to the FAQ and it seems that
 whenever LOGIN works, it also works with PLAIN. Is it the same in the
 end?
 
 Simon
 
 
  -Original Message-
  From: Justin Wood [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 11, 2002 5:45 PM
  To: [EMAIL PROTECTED]
  Subject: cyradm authentication
 
  I just blew away my 2.0.16 install and replaced it with 2.1.1.  I am
  using saslauthd with pam to authenticate, and have it working fine for
 
  imapd and timsieved.  However, I can't authenticate to cyradm.  I get
  the following in syslog:
 
  Feb 11 15:36:20 fs1 imapd[4913]: badlogin:
  fs1.p.flipdog.com[10.69.2.71] plaintext cyradm SASL(-13):
  authentication failure: checkpass failed
 
  My pam is configured to use ldap to authenticate, and I see in my ldap
 
  logs that it's finding the user cyradm just fine.  Am I missing
  something simple here?  Has anyone else had this problem?
 
  Thanks in advance,
  Justin.
  --
  --
  Justin Wood [EMAIL PROTECTED]
  Systems Administrator
  FlipDog.comhttp://www.flipdog.com/
  --

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Outlook 2000 Internet Mail Only causes page fault

2002-02-12 Thread Robert Scussel

Hello all -

  I have a server running an older version of cyrus (1.6.22 to be
exact). The question I have though, shouldn't be specific to this
version. The client is using Outlook with the Internet Mail Only option,
and when attempting to check their mail, outlook pops up an Invalid Page
Fault error. According to Microsoft, this is of course an error with
IMAP which can only be solved by creating a new mailbox on the server
for the individual. Now, I can access the mailbox fine via Outlook
Express, Netscape, command line, etc.  Before I go through the hassle of
moving this mailbox out of the way, recreating a new one, and then
moving all the messages back, can someone explain to me how this
happens? 

Just curious. This is similar to the fixall for Microsoft - if it
crashes, reinstall it.

Thanks,
B
-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Mailing list software

2002-02-12 Thread Kiarna Boyd

Afternoon folks,

I'm curious to know what mailing list cyrus admins like.
I have a solaris server w/sendmail/cyrus.

I was going to stick Majordomo on it,(In fact it is installed).
However grumbling from the users seems to indicate they'd like something more 
*friendly*.

Any ideas?

Looked at Mailman, saw it didn't really like sendmail.
Am looking at LISTSERV.

Big issues are stripping attachments,(want to), limiting resend tries.

THANKS!

-Kiarna




Re: Mailing list software

2002-02-12 Thread Scott Russell

On Tue, Feb 12, 2002 at 05:40:51PM -0500, Kiarna Boyd wrote:
 
 I was going to stick Majordomo on it,(In fact it is installed).
 However grumbling from the users seems to indicate they'd like something more 
*friendly*.
 
 Any ideas?

Mailman. Very user friendly. Easy enough to admin. Even runs huge (30K+)
lists.

Nothing / no one likes sendmail. Try postfix + cyrus + mailman :)

-- 
Regards,
 Scott Russell ([EMAIL PROTECTED])
 Linux Technology Center, System Admin, RHCE.
 T/L 441-9289 / External 919-543-9289
 http://bzimage.raleigh.ibm.com/webcam