Linux or Freebsd?
All, I have been having tons of trouble getting my cyrus-imap versions 2.0.16 to 2.1.2 with both sasl v1 and v2 to authenticate against ldap, I've been talking to simon from surf.org he's be a tremendous help but we still as of yet havent gotten it to work. my question is this im trying to do this all on suse 7.3 sparc originally, now im trying x86 suse 7.3, it seem simon uses Freebsd 4.x, I was just curious what Distros other people are using out there that use ldap as their authentication or just even with any other authentication method. thanks. dave __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/
re: pros over courier
Hello, I was wondering if people could give me some pros/cons with courier and cyrus I'm currently testing both The package must use ldap auth, do the maildir format and also be setup for tls any thoughts or suggestions would be welcome __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mailyahoocom/
why ldap auth
Could someone tell me if there is already no ldap database existing why it would be beneficial to use ldap for user info and authentication versus using sasldb for the user/password information thanks dave __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mailyahoocom/
cyrus pam to ldap auth
all, I am trying to get cyrus imap 2016 to work with pam to then connect to an existing ldap database i have created that does work, runs ldapsearches and what not, as it stands now I can't find much documentation as to how /etc/pamd/imap is setup and what options would need to be in the ldapconf file so that this would work if anyone could point me to a useful url or extend their assistance that'd be great basically i need some assistance in the processs of pam pamldap ldap, any help again is appreciated dave __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mailyahoocom/
authentication failure with cyrus using ldap
I think I am very close to having this all work, I have postfix working with ldap properly but when a user tries to authenticate via a mail client it gets authentication failure, while this is going on the logs are showing connections to the slapd daemon so it must be close to working at the bottom of this post is the output from /var/log/messages when someone tries to connect below is my imapdconf file which i believe is right this is cyrus imap 2016 with sasl 1527 and i have the sasl-ldap patch from surforg Any help is greatly appreciated thanks! imapdconf = mail:/etc/postfix # cat /etc/imapdconf configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no sasl_pwcheck_method: ldap ldap_server: mailtemperagencom ldap_search_base: dc=temperagen,dc=com ldap_basedn: dc=temperagen,dc=com ldap_uidattr: uid ldap_port: 389 ldap_ssl: no ldap_filter_mode: yes ldap_filter: (objectClass=myPostfixPerson) ldap_bind_dn: uid=Manager,dc=temperagen,dc=com ldap_bind_pw: bindpw ldap_query_filter: (mailacceptinggeneralid=%s) ldap_result_attribute: maildrop here's the output from /var/log/messages Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: new connection on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: added 9r Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=0 tvp=NULL Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: 9r Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: read activity on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: 9r Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: read activity on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL Feb 28 13:55:15 mail slapd[1816]: daemon: removing 9 Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetingsyahoocom
authentication failure with cyrus using ldap
I think I am very close to having this all work, I have postfix working with ldap properly but when a user tries to authenticate via a mail client it gets authentication failure, while this is going on the logs are showing connections to the slapd daemon so it must be close to working at the bottom of this post is the output from /var/log/messages when someone tries to connect below is my imapdconf file which i believe is right this is cyrus imap 2016 with sasl 1527 and i have the sasl-ldap patch from surforg Any help is greatly appreciated thanks! imapdconf = mail:/etc/postfix # cat /etc/imapdconf configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no sasl_pwcheck_method: ldap ldap_server: mailtemperagencom ldap_search_base: dc=temperagen,dc=com ldap_basedn: dc=temperagen,dc=com ldap_uidattr: uid ldap_port: 389 ldap_ssl: no ldap_filter_mode: yes ldap_filter: (objectClass=myPostfixPerson) ldap_bind_dn: uid=Manager,dc=temperagen,dc=com ldap_bind_pw: bindpw ldap_query_filter: (mailacceptinggeneralid=%s) ldap_result_attribute: maildrop here's the output from /var/log/messages Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: new connection on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: added 9r Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=0 tvp=NULL Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: 9r Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: read activity on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: activity on: Feb 28 13:55:15 mail slapd[1622]: 9r Feb 28 13:55:15 mail slapd[1622]: Feb 28 13:55:15 mail slapd[1622]: daemon: read activity on 9 Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL Feb 28 13:55:15 mail slapd[1816]: daemon: removing 9 Feb 28 13:55:15 mail slapd[1622]: daemon: activity on 1 descriptors Feb 28 13:55:15 mail slapd[1622]: daemon: select: listen=6 active_threads=1 tvp=NULL __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetingsyahoocom
re: ldap auth or sasldb auth
All, I am wondering if I have this process right, I want to use LDAP with cyrus so do I store everythign in ldap or just all the user information and the password is stored in /etc/sasldb? if so then i'd assume the pwcheck_method: sasldd. I am ok with either storing everything in ldap or just storing the user info, I just want to be sure to do it properly, also in several documents i've noticed the tls setup in imapd.conf, another in the postfix/main.cf and another in the slapd.conf what is the proper place to put the tls certfile information? as it stands now my imapd.conf looks like: configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no sasl_pwcheck_method: ldap sasl_ldap_basedn: dc=temperagen,dc=com sasl_ldap_search_base: dc=temperagen,dc=com sasl_ldap_server_host: localhost sasl_ldap_server_port: 389 sasl_ldap_query_filter: (mailacceptinggeneralid=%s) sasl_ldap_result_attribute: mailacceptinggeneralid tls_ca_path: /usr/share/ssl/certs tls_ca_file: /usr/share/ssl/certs/eragen.crt tls_key_file: /usr/share/ssl/certs/eragen.key tls_cert_file: /usr/share/ssl/certs/eragen.crt the slapd.conf looks like: include /etc/openldap/schema/core.schema include /etc/openldap/schema/myPostfix.schema include /etc/openldap/schema/misc.schema pidfile /var/run/slapd.pid argsfile/var/run/slapd.args databaseldbm suffix dc=temperagen,dc=com rootdn cn=Manager,dc=temperagen,dc=com rootpw directory /var/lib/ldap index objectClass eq # #TLSCertificateFile /etc/openldap/eragen.crt #TLSCertificateKeyFile /etc/openldap/eragen.key #TLSCACertificateFile/etc/openldap/eragen.crt #TLSCipherSuite DES-CBC3-SHA any help is appreciated __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
re: messages on mailing list
I don't seem to be getting all the messages on the info-cyrus mailing list is there some type of problem that's known as to why this might happen? dave __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
re: ldap and cyrus
I'm having some trouble getting cyrus-imap with sasl to work with ldap, i have the cyrus-imapd ldap patch and recompiled, but im just getting a connectoin, what shoudl the pwcheck_method be if i still want to use sasl as the password store and just use ldap for user information? daveC __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
re: Need assistance with db3/cyrus/sasl error
Hello, We are trying to get postfix w/cyrus working on a SuSE 7.3 Sparc64. I have tried both doing it via source and doing it via rpms. I seem to run into the same problem both times. I have Berkley db-devel-3.1.17-87 and db-3.1.17-87, postfix version 20010228pl04-21, cyrus imapd version 2.0.16-21, and cyrus sasl version 1.5.24-69. The problem seems to be with either ctl_mboxlist or just cyrus in general when we try and execute /usr/cyrus/bin/master the tail of /var/log/messages gives me the following: Feb 20 08:35:37 swiss -- MARK -- Feb 20 08:47:56 swiss master[3100]: about to exec /usr/cyrus/bin/ctl_mboxlist Feb 20 08:47:56 swiss ctl_mboxlist[3100]: checkpointing mboxlist Feb 20 08:47:56 swiss ctl_mboxlist[3100]: DBERROR db3: region error detected; run recovery. Feb 20 08:47:56 swiss ctl_mboxlist[3100]: DBERROR: dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery I have looked high and low and found no resolution, I was hoping someone here could shed some light on this problem to us. saslpasswd sets up passwords, and sasldblistusers shows the users setup, we want to use sasldb as the pwcheck method, our imapd.conf looks like: configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 sasl_pwcheck_method: sasldb the permissions in /var/imap look like: drwxr-xr-x2 cyrusmail 4096 Feb 19 17:15 db drwxr-xr-x3 cyrusmail 4096 Feb 19 14:38 deliverdb drwxr-x---2 cyrusmail 4096 Nov 9 09:05 log -rw-r--r--1 cyrusmail0 Nov 9 09:05 mailboxes -rw-r--r--1 cyrusmail0 Feb 19 17:05 mailboxes.db drwxr-x---2 cyrusmail 4096 Nov 9 09:05 msg drwxr-x---2 cyrusmail 4096 Nov 9 09:05 proc drwxr-x--- 28 cyrusmail 4096 Feb 19 14:36 quota drwxr-x---2 cyrusmail 4096 Feb 19 17:17 socket drwxr-x--- 28 cyrusmail 4096 Feb 19 14:36 user If i try and do a reconstruct of the mailboxes with -r or even just straight reconstruct I get the following output: cyrus@swiss:~ reconstruct -r reconstruct: can't initialize mboxlist environment cyrus@swiss:~ reconstruct reconstruct: can't initialize mboxlist environment cyrus@swiss:~ And a tail of the logs shows me: Feb 20 08:55:05 swiss PAM-unix2[3124]: session started for user cyrus, service su Feb 20 08:55:08 swiss reconstruct[3138]: DBERROR db3: region error detected; run recovery. Feb 20 08:55:08 swiss reconstruct[3138]: DBERROR: dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery Feb 20 08:55:11 swiss reconstruct[3139]: DBERROR db3: region error detected; run recovery. Feb 20 08:55:11 swiss reconstruct[3139]: DBERROR: dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery so basically the same issue it seems, the same error causing the cyrus not to initialize properly. Well I hope I gave enough information, ANY help would be GREATLY appreciated. If this is the wrong mailing list to send this to if someone could help us and direct us to the proper location that would be great. Thank you. DaveC __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
RE: error with cyrus/sasl/db3
Hello, We have a sparc E420 with SuSE 7.3 installed When I try and run /etc/rc.d/cyrus start or restart i get the following in /var/log/messages; Feb 19 16:25:06 swiss master[1122]: process started Feb 19 16:25:06 swiss master[1123]: about to exec /usr/cyrus/bin/ctl_mboxlist Feb 19 16:25:06 swiss ctl_mboxlist[1123]: running mboxlist recovery Feb 19 16:25:07 swiss ctl_mboxlist[1123]: DBERROR db3: Unable to allocate memory for the lock table Feb 19 16:25:07 swiss ctl_mboxlist[1123]: DBERROR: dbenv-open '/var/imap/db' failed: Cannot allocate memory Feb 19 16:25:07 swiss master[1122]: process 1123 exited, status 75 Feb 19 16:25:07 swiss master[1124]: about to exec /usr/cyrus/bin/ctl_deliver Feb 19 16:25:07 swiss master[1122]: no service 'sieve' in /etc/services, disabling sieve Feb 19 16:25:07 swiss master[1122]: ready for work Feb 19 16:25:07 swiss master[1125]: about to exec /usr/cyrus/bin/ctl_mboxlist Feb 19 16:25:07 swiss master[1126]: about to exec /usr/cyrus/bin/ctl_deliver Feb 19 16:25:07 swiss ctl_mboxlist[1125]: checkpointing mboxlist I've tried building via source and rpm's and had basically the same error, if this isnt enough information please let me know what else I can tell you, the versions are db-3.1, cyrus-2.x, and sasl-1.5.x i believe, thank you daveC __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com