Re: Cyrus + LDAP Suggestions/Help

2004-11-10 Thread Andrew Morgan
On Tue, 9 Nov 2004, Michael Nguyen wrote: 'Course, every message IS stored in a plain text file, and folder indexes are easy to rebuild using the reconstruct tool if you need to manually fiddle with a mailbox. Though doing this is NOT officially recommended, I've never had a problem doing it. Our

Re: Cyrus + LDAP Suggestions/Help

2004-11-09 Thread Michael Nguyen
From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] I'll let others tackle this issue. I do suggest you learn cyrus internals before you proceed. Again, start with the source ($cyrus-imapd/doc)... I agree, I should read up first. I still would be very

Re: Cyrus + LDAP Suggestions/Help

2004-11-09 Thread Jules Agee
Michael Nguyen wrote: How do I get Cyrus to know what directory to look in for this user's mail? Cyrus doesn't use maildir, and will not store mail in a user's home directory. It's a black box. Mine keeps all mail in /var/spool/cyrus. Mail comes in via LMTP, gets filtered with Sieve, and goes

Re: Cyrus + LDAP Suggestions/Help

2004-11-09 Thread Michael Nguyen
Michael Nguyen wrote: Hi Jules, thanks for the reply. How do I get Cyrus to know what directory to look in for this user's mail? Cyrus doesn't use maildir, and will not store mail in a user's home directory. It's a black box. Mine keeps all mail in /var/spool/cyrus. Mail comes in via LMTP,

Re: Cyrus + LDAP Suggestions/Help

2004-11-09 Thread Jules Agee
Michael Nguyen wrote: This is unfortunate. I don't mind not using MailDir (the verdict is still out on it. It's extremely fast for the majority of our uses, but we have some insane users who demand to store every joke, every family email, every love letter, and every piece of porn spam that

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Michael Nguyen
On Sat, 6 Nov 2004, Igor Brezac wrote: [snip] Based on your saslauthd startup you need to use (unless you have some vendor specific cyrus-sasl version): sasl_saslauthd_path: /var/run/saslauthd/mux/mux Hey Igor, I think I'm getting closer: Nov 8 11:38:03 dev2 saslauthd[4679]: Retrying

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Igor Brezac
On Mon, 8 Nov 2004, Michael Nguyen wrote: On Sat, 6 Nov 2004, Igor Brezac wrote: [snip] Based on your saslauthd startup you need to use (unless you have some vendor specific cyrus-sasl version): sasl_saslauthd_path: /var/run/saslauthd/mux/mux Hey Igor, I think I'm getting closer: Nov 8 11:38:03

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Michael Nguyen
From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] Nov 8 11:38:03 dev2 saslauthd[4679]: Retrying authentication Nov 8 11:38:03 dev2 saslauthd[4679]: do_auth : auth failure: [user=michaeln] [service=pop] [realm=] [mech=ldap] [reason=Unknown]

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Igor Brezac
On Mon, 8 Nov 2004, Michael Nguyen wrote: From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] Nov 8 11:38:03 dev2 saslauthd[4679]: Retrying authentication Nov 8 11:38:03 dev2 saslauthd[4679]: do_auth : auth failure: [user=michaeln] [service=pop] [realm=]

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Michael Nguyen
From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] OK. You need to setup syslog severity level for auth facility to debug. This will give you a few more messages in the syslog. Igor, I want to first thank you for all of your help and direction. The debug

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Igor Brezac
On Mon, 8 Nov 2004, Michael Nguyen wrote: From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] OK. You need to setup syslog severity level for auth facility to debug. This will give you a few more messages in the syslog. Igor, I want to first thank you for all of

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Michael Nguyen
From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] Postfix is working such that the mail store for [EMAIL PROTECTED] is /var/Accounts/m.sub/i.sub/michaeln.macnt/ postfix must not be used as an MDA (mail delivery agent) when used with cyrus. Setup

Re: Cyrus + LDAP Suggestions/Help

2004-11-08 Thread Igor Brezac
On Mon, 8 Nov 2004, Michael Nguyen wrote: From: Igor Brezac [EMAIL PROTECTED] On Mon, 8 Nov 2004, Michael Nguyen wrote: [snip] Postfix is working such that the mail store for [EMAIL PROTECTED] is /var/Accounts/m.sub/i.sub/michaeln.macnt/ postfix must not be used as an MDA (mail delivery agent)

Re: Cyrus + LDAP Suggestions/Help

2004-11-07 Thread Igor Brezac
On Sat, 6 Nov 2004, Michael Nguyen wrote: On Sat, 6 Nov 2004, Michael Nguyen wrote: Hi Igor, What do you get in syslog (authlog)? I get these errors: Nov 6 20:03:17 dev2 pop3[15192]: DBERROR: reading /var/imap/db/skipstamp, assuming the worst: No such file or directory Nov 6 20:03:18 dev2

Cyrus + LDAP Suggestions/Help

2004-11-06 Thread Michael Nguyen
I've been trying to get Cyrus IMAP/POP to authenticate via LDAP and I've run into some problems. First, here's my current setup: - Postfix 2.1.5 - OpenLDAP 2.0.25 - Cyrus 2.2.8 I have Postfix + LDAP delivering correctly. Here's an LDAP entry on our dev server: # [EMAIL PROTECTED], dev2,

Re: Cyrus + LDAP Suggestions/Help

2004-11-06 Thread Igor Brezac
On Sat, 6 Nov 2004, Michael Nguyen wrote: I've been trying to get Cyrus IMAP/POP to authenticate via LDAP and I've run into some problems. First, here's my current setup: - Postfix 2.1.5 - OpenLDAP 2.0.25 - Cyrus 2.2.8 I have Postfix + LDAP delivering correctly. Here's an LDAP entry on our dev

Re: Cyrus + LDAP Suggestions/Help

2004-11-06 Thread Michael Nguyen
Hi Igor, [snip] Here is /etc/saslauthd.conf ldap_servers: ldap://127.0.0.1 ldap_search_base: dc=dev2,dc=test,dc=spam ldap_bind_dn: dc=dev2,dc=test,dc=spam ldap_password: secret ldap_scope: one ldap_uidattr: userName ldap_filter_mode: yes There are no such parameters in

Re: Cyrus + LDAP Suggestions/Help

2004-11-06 Thread Igor Brezac
On Sat, 6 Nov 2004, Michael Nguyen wrote: Hi Igor, [snip] Here is /etc/saslauthd.conf ldap_servers: ldap://127.0.0.1 ldap_search_base: dc=dev2,dc=test,dc=spam ldap_bind_dn: dc=dev2,dc=test,dc=spam ldap_password: secret ldap_scope: one ldap_uidattr: userName ldap_filter_mode: yes There are no

Re: Cyrus + LDAP Suggestions/Help

2004-11-06 Thread Michael Nguyen
On Sat, 6 Nov 2004, Michael Nguyen wrote: Hi Igor, What do you get in syslog (authlog)? I get these errors: Nov 6 20:03:17 dev2 pop3[15192]: DBERROR: reading /var/imap/db/skipstamp, assuming the worst: No such file or directory Nov 6 20:03:18 dev2 pop3[15192]: skiplist: