/usr/bin/ld: cannot find -lssl: Error on make
Hello All, I have installed all the dependencies for Cyrus IMAPD but still getting an error while trying to make it. I am using this command for config and then make ./configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.3/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.3/include --with-sasl=/usr/lib/sasl2 make depend make all CFLAGS=-O and I get the following error LD_RUN_PATH="/lib:/usr/local/lib" gcc -shared -L/usr/local/lib IMAP.o -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a -L/usr/local/BerkeleyDB.4.3/lib -ldb-4.1 -lsasl2 -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1 make[2]: Leaving directory `/home/ub3rm4st3r/cyrus-mail/cyrus-imapd-2.2.12/perl/imap' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/ub3rm4st3r/cyrus-mail/cyrus-imapd-2.2.12/perl' make: *** [all] Error 1 Any ideas as to how to sort this out please. Any pointers would be great. Thanks a lot Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Unable to login
Hello All, I have finally managed to install Cyrus IMAP. But I am unable to login to the server to create new accounts. I am using this command /usr/local/bin/imtest -m login -a USER localhost but I get a authentication failure and my imapd.conf has this configuration configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt I have changed the cyrus user password created on the OS to login using that, but it does not work. I am new to this, so dont know which authentication database I am using and how to manage it. Please kindly give me some tips how to manage the IMAP server. Thanks a lot. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
why is pam not supported by saslauthd
when I start Cyrus on my machine after a complete install with all dependencies I get this error [EMAIL PROTECTED] config]# /etc/rc.d/init.d/cyrus start saslauthd[31190] :set_auth_mech : unknown authentication mechanism: pam and on checking saslauthd I see that pam is not available saslauthd 2.1.21 authentication mechanisms: getpwent rimap shadow How do I enable pam for saslauthd so that it works for me. Thanks a lot in advance. Imran --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
How to debug cyrus install
Hello All, I have installed Cyrus and all the required servers like mysql , postfix etc using the documentation by Luc de Louw at http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/t1.html Sorted out all issues and now although on starting the cyrus server I do not get any errors, but still the cyrus server does not start. Can anyone please help me with this, how to debug this issue and sort this out.mysql , saslauthd with pam and postfix are running fine. Thanks a lot. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
exit 75 on cyrus startup
Hello All, My new cyrus install with postfix exits with exit 75 error , what does that mean? and how do I sort that out ? Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Still cannot login :(
Hello All, I have been able to setup cyrus on our Redhat Linux 3 ES server. And all services seem to be running, but I am not able to login to the IMAP server, and hence manage mail boxes. I cannot find any logs indicating any problems either. I have used the documentation by Luc de Louw listed here http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/t1.html to integrate cyrus with postfix using mysql as the backend server. My question is Where can I find cyrus logs to figure out what is going wrong, can anyone suggest a way how I can trouble shoot this issue. I have been trying for more then a week to get this working but even after multiple installs have not been able to get this working even once. Any help will be appreciated, thanks a lot. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
incorrect version of Berkeley db error
Hello All, After installing cyrus imap I get this error in the imapd.log Jun 6 14:26:20 lb01-s06 cyr_expire[25505]: incorrect version of Berkeley db: compiled against 4.3.28, linked against 4.1.25 Jun 6 14:26:20 lb01-s06 master[25506]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 6 14:26:20 lb01-s06 master[25497]: process 25504 exited, signaled to death by 11 Jun 6 14:26:20 lb01-s06 ctl_cyrusdb[25506]: incorrect version of Berkeley db: compiled against 4.3.28, linked against 4.1.25 I compiled the latest version of Berkeley db. But there are development RPM's insalled on the server that are of older version, I am unable to uninstall those, how can I sort out this version issue. Please advise. Thanks a lot. Imran, --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Still cannot login :(
Thanks for the response I did find out the error, its because of this error that things are not working well. Jun 6 14:26:20 lb01-s06 cyr_expire[25505]: incorrect version of Berkeley db: compiled against 4.3.28, linked against 4.1.25 Jun 6 14:26:20 lb01-s06 master[25506]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 6 14:26:20 lb01-s06 master[25497]: process 25504 exited, signaled to death by 11 Jun 6 14:26:20 lb01-s06 ctl_cyrusdb[25506]: incorrect version of Berkeley db: compiled against 4.3.28, linked against 4.1.25 I have now downloaded berkely db 4.1.25 and trying to compile imapd with it, but it does not seem to be working. and I cannot uninstall the development rpms for verion 4.1.25 because they have dependencies, so dont know how to sort this issue out. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
torture continues! Another install error with cyrus imap
Hello All, I have been trying for more then a week to get cyrus running, but somehow get one error or the other. The latest one was due to Berkley DB. so I uninstalled the RPM and installed the latest Berkly DB, but now when I try to compile cyrus imap I get this error checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for vprintf... yes checking for _doprnt... no checking authorization method... unix checking db.h usability... yes checking db.h presence... yes checking for db.h... yes configure: error: Berkeley DB 3.x or later was not found. You may need to supply the --with-bdb-libdir or --with-bdb-incdir configure options. Can anyone please guide me, it was compiling perfectly fine in the morning, but now it just gives me this error on running this configure command ./configure \ --with-sasl=/usr/local/lib \ --with-perl \ --with-auth=unix \ --with-dbdir=/usr/local/bdb \ --with-bdb-libdir=/usr/local/bdb/lib \ --with-bdb-incdir=/usr/local/bdb/include \ --with-openssl=/usr/local/ssl \ --without-ucdsnmp \ Can anyone please save my life, and sort this out. I promise I will never come into Unix territory and stay with easy installs of windows. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
Hello Marco, Thanks a lot for sending a detailed email. The main reason that I am not using an RPM is because I have Red Hat Linux 3 ES which unfortunately does not comes with Cyrus RPMS. That answers the first question of why I am doing this. Second I need to use postfix to integrate with cyrus imap so I have to configure everything with PAM for authentication , reasons being that I am going to use Opengroupware to use Cyrus IMAP. Now the second issue is with the version of Berkely database on my system. I already have the RPM 4.1.25 installed on my system and I cannot uninstall it because it has dependencies on the system. So I tried to use ver 4.3.8 but had all sorts of issues with it. ON compiling with already installed RPM 4.1.25 I get errors related to the post here https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 which is the latest situation. So I cannot use the installed version of RPM on the system because it will not work as redhat themselves state in the above post. And accordingly to my little knowledge of linux if I try to upgrade this RPM I am not sure if the other dependent packages like Apache will crash, so now I don't know what to do. The issue surly is Berkeley DB now, but should I try to install and upgrade on the current RPM or should I install a second version of Berkley DB on an alternate location and try to compile everything with it. Any suggestions please, before I go into the daily drill of compiling all cyrus imapd dependencies. Imran --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
Lars thank you for your response, I did use those RPMS and they install okay, but get the same login issue, and errors in the log, in addition the RPM does not use PAM as the authentication method, so cannot use it since I need to integrate Cyrus IMAP with Postfix. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
Hello Marco I am going to adopt and try your suggestion. Going to built everything again with a separate version of Berkeley DB at a location like /usr/local/db4.2 and compile and link with the libraries in that specific folder. I am useing 4.2 version because postfix docs say that latest version of Berkeley DB is not supported or has problems so going to use an older version. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
No its a brand new server, quite high spec also. did you compile Berkeley DB or used the RPM install that comes with Redhat ? I have just uninstalled the Berkeley DB that I installed and using the RPM that comes with red hat and seems that the earlier errors are gone now get this output in the imapd.log Jun 7 16:36:03 lb01-s06 master[9707]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: recovering cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: done recovering cyrus databases Jun 7 16:36:03 lb01-s06 master[9705]: ready for work Jun 7 16:36:03 lb01-s06 master[9714]: about to exec /usr/cyrus/bin/tls_prune Jun 7 16:36:03 lb01-s06 master[9715]: about to exec /usr/cyrus/bin/ctl_deliver Jun 7 16:36:03 lb01-s06 master[9716]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/annotations.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/mailboxes.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: done checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 tls_prune[9714]: tls_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 master[9705]: process 9716 exited, status 0 Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: pruning back 3 days Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: expunged 0 out of 0 messages from 0 mailboxes Jun 7 16:36:03 lb01-s06 master[9705]: process 9714 exited, status 0 Jun 7 16:36:03 lb01-s06 master[9705]: process 9715 exited, status 0 The master process exists so surly its not a good indication, but the earlier errors are gone now, which suggested an issue with the Berkeley DB. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
yes finally it seems that the logs are clean, and I am able to telnet and see the IMAP, and POP servers, but on trying to login I get an error of -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist seems a missconfiguration in the maildrop folder somewhere, where and how to sort this ? Thank you so very much for helping me out with this. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
thank you very much for the wonderful link, would have been great if I got that few days earlier :) Anyway seems I have for all the servers running okay, but left with one final issue with the maildrop. When I try to login to the server using POP3 on telnet, I get a maildrop for the user not found. With web-cyradm I am unable to login, so might be some more issue with IMAP login. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
The server does not crash now, logs show no errors that can crash the serve, but still having issues to login to the server, and as I have listed in my earlier message, getting maildrop folder error. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
Well it was an issue with multiple installs of sasl on the system . By default there was an installation of SASL through the RPM, and then I installed the latest version on the server. After creating the correct symbolic links which were suggested to me on another list, the issue was sorted out. Here is what sorted out the issue link from /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/ to /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/ and /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/ to /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/ ldconfig again and it worked I would like to thank everyone on this list who have spend days helping me out to sort this issue. Although its not all done, but I am close to a final solution. Few issues with postfix but should be able to sort it out, otherwise I know where to go to sort this out :) Thanks again everyone. Imran --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Creating mailboxes
Hello All, I am new to Cyrus IMAP, I have used cyradm utility to create a mailbox using createmailbox command, on doing lm I see the mailbox that I created. But now when I send an email to the specific account I get this error in the logs NOQUEUE: reject: RCPT from unknown[***.**.***.**]: 450 <[EMAIL PROTECTED]>: Recipient address rejected: User unknown in local recipient table; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo= What else do I need to get this working, the cyrus user at my domain created by default is working fine.Do I have to create the user on the OS also ? Thanks a lot in advance, Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Creating mailboxes
As I said it is working fine, since the cyrus user can send and receive mails perfectly fine. And yes this is Cyrus and Postfix issue. Thanks for your response. I created the user on Os and it is all working fine now. Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Mailbox Administration issues
Hello All, Can I create mailboxes like firstname.lastname that is using a "." character in the mailbox? or Do I create a user name with that name and somehow map to a mailbox folder called firstnamelastname ? Second some of my cyrus users are saying that they are not able to receive email if capital letters are used that is [EMAIL PROTECTED] is not the same as [EMAIL PROTECTED] the mailboxes seem to be case sensitive, should it happen this way ? if not what can I do to sort this out? Imran. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Mailbox Administration issues
Thanks a lot for that Andrew. These go into the /etc/imapd.conf file right? One more issue it seems that I cannot login to the IMAP server unless I create a user on the Linux Server, where as I have configured IMAP to authenticate against SASL which is using a mysql server database table for authentication. I am a bit confused as to how the authentication for the user works. On 6/16/05, Andrew B. Panphiloff <[EMAIL PROTECTED]> wrote: > Imran Aziz wrote: > > >Hello All, > > Can I create mailboxes like firstname.lastname that is using a "." > >character in the mailbox? or Do I create a user name with that name > >and somehow map to a mailbox folder called firstnamelastname ? > > > > > unixhierarchysep: yes > > >Second some of my cyrus users are saying that they are not able to > >receive email if capital letters are used that is [EMAIL PROTECTED] > >is not the same as [EMAIL PROTECTED] the mailboxes seem to be case > >sensitive, should it happen this way ? if not what can I do to sort > >this out? > > > > > lmtp_downcase_rcpt: yes > > >Imran. > > > >--- > >Cyrus Home Page: http://asg.web.cmu.edu/cyrus > >Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > >List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > > > > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Mailbox Administration issues
I was able to sort out the issue with the Case sensitivity, but the username with a dot sign is still not being allowed. I have added two entries to the imapd.conf file and restarted the server. unixhierarchysep: yes lmtp_downcase_rcpt: yes when I try to create the account in cyradm using the command createmailbox user.gary.hogman I get this error createmailbox: Permission denied Can anyone please suggest how to sort out this mailbox creation issue. I want to be able to create mailboxes using a dot sign to separate their first and last name. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Mailbox Administration issues
Any help on this issue please. I added the unixhierarchysep:yes entry , stopped both Cyrus and Postfix, recreated all the Cyrus folders. /var/imap /var/spool/imap /usr/sieve and then logged in to create the folders. cyradm --user cyrus --server localhost --auth plain and now when I use lm I dont see any folders. Trying to create user gives permissions error and when I run the command createmailbox user\imran.aziz the user created is userimran.aziz (\HasNoChildren) what am I doing wrong? please help me with this. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Mailbox Administration issues
Thanks for the response, but I get this message. lb01-s06.domain.com> cm user/imran.aziz createmailbox: Invalid mailbox name --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html