Re: installing/running cyrus.
Jacob bager wrote: hi there.. I've just finished compiling/installing cyrus. but when i testrun /usr/cyrus/bin/master i get this in my imapd.log ctl_cyrusdb[14718]: checkpointing cyrus databases incorrect version of Berkeley db: compiled against 4.1.25, linked against 4.0.14db is this an error, or just a warning ? Jacob Bager It's an error, try to adjust you LD_LIBRARY_PATH before running cyrus to find the correct Berkley DB libraries. mitu
Re: error compiling sasl 2.1.13
Casey, Kevin wrote: i'm having trouble compiling sasl right around where it creates saslauthd. i've troved aruond google and deja, but no luck. i've found other people with the problem, but nobody with an answer. i started with: # ./configure --sysconfdir=/etc \ --with-dblib=berkeley \ --with-bdb-incdir=/usr/local/bdb/include \ --with-bdb-libdir=/usr/local/bdb/lib \ --with-openssl=/usr/local/ssl \ --enable-login \ --enable-anon \ --disable-krb4 \ --with-saslauthd=/var/run/saslauthd \ --with-pwcheck_method=PAM \ --with-pam \ followed by: # make and after several hundred lines of compilation, it comes down to: Making all in saslauthd make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.13/saslauthd' gcc -g -O2 -L/usr/local/ssl/lib -o saslauthd mechanisms.o auth_dce.o auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o auth_shadow.o auth_sia.o auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o ipc_doors.o saslauthd-main.o md5.o -lcrypt -lresolv -lpam -lresolv /usr/lib/libpam.a(pam_handlers.o): In function `_pam_add_handler': pam_handlers.o(.text+0xb3e): undefined reference to `dlopen' pam_handlers.o(.text+0xb65): undefined reference to `dlerror' pam_handlers.o(.text+0xd1c): undefined reference to `dlsym' pam_handlers.o(.text+0xd55): undefined reference to `dlsym' /usr/lib/libpam.a(pam_handlers.o): In function `_pam_free_handlers': pam_handlers.o(.text+0xfb4): undefined reference to `dlclose' collect2: ld returned 1 exit status make[2]: *** [saslauthd] Error 1 make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.13/saslauthd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.13' make: *** [all-recursive-am] Error 2 any suggestions would be appreciatd. thanks in advance, kevin Try adding "-ldl" to LDFLAGS and it should work. mitu --- Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Xnet automatically scans all messages for viruses using RAV AntiVirus. Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi. Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses.
Re: postfix and cyrus
John Lederer wrote: I am running postfix with cyrus 2.1.2. I ocasionally get the following error message in the log: Apr 3 10:16:46 mail lmtpd[1983]: duplicate_mark: closing /var/lib/imap/deliverdb/deliver-b.db: DB_INCOMPLETE: Cache flush was unable to complete Apr 3 10:16:46 mail lmtpd[2226]: duplicate_check: closing /var/lib/imap/deliverdb/deliver-b.db: DB_INCOMPLETE: Cache flush was unable to complete I suspect that postifx is feeding cyrus faster than cyrus can take it. If that seems likely, is there a good way to throttle the flow? John Lederer try setting XXX_destination_concurrency_limit (where XXX could be local/virtual/etc, what you use to deliver to lmtpd) in main.cf. mitu
Re: Info
Sebastian Konstanty Zdrojewski wrote: Hi, I am experiensing a problem. I have in my imapd.log the following entries: Apr 1 18:14:37 nexus lmtpd[17042]: lmtp connection preauth'd as postman The MTA connected to the lmtpd socket to deliver a message Apr 1 18:14:37 nexus master[17106]: about to exec /usr/cyrus/bin/lmtpd lmtpd gets runnning to accept the message Apr 1 18:14:37 nexus lmtpunix[17106]: executed get the message Apr 1 18:14:40 nexus lmtpd[17042]: duplicate_check: <[EMAIL PROTECTED]> user.pluto 0 lmtpd checks to see of the message with the MID appearing on the last line was delivered recently to not store the same message twice ( see: man imapd.conf section for :duplicatesuppression") Apr 1 18:14:40 nexus lmtpd[17042]: mystore: starting txn 2147488968 Apr 1 18:14:40 nexus lmtpd[17042]: mystore: committing txn 2147488968 Apr 1 18:14:40 nexus lmtpd[17042]: duplicate_mark: <[EMAIL PROTECTED]> user.pluto 1049213680 lmtpd stored the MID in his list of recently delivered messages for future use what is their meaning and what kind of problem they involve? There is no problem. I hope this makes sense, perhaps reading the docs from cyrus-imapd would make thing clearer. mitu
Re: lmtp read error
* Morgan Sackett <[EMAIL PROTECTED]> [27-03-03 00:39]: > Henrique de Moraes Holschuh wrote > > > Indeed. That's my setup exactly. However, I just run lmtpd -a, > bound to a > > private network where only the LMTP servers and the SMTP > servers are > > connected to. Thus, no authorization worries, and no SASL > overhead. > > Here is the error that I get using sockets: > > Mar 26 18:21:08 kang postfix/lmtp[12575]: 26CD51FE9DE: > to=<[EMAIL PROTECTED]>, r > elay=none, delay=141474, status=deferred (connect to > /var/imap/socket/lmtp[/var/ > imap/socket/lmtp]: Connection refused) > > I'll give the -a switch a try. > Maybe postfix cannot write to the socket (/var/imap/socket/lmtp), can you make sure the socket is writable by postfix user or the group postfix is running under ? Make sure no firewall rules are in place that can prevent you from connecting telnet-ing to the lmtp port. If you run lmtpd over localhost can you connect to localhost:lmtp ? What's netstat saying about listening ports ? mitu
Re: lmtp read error
* Morgan Sackett <[EMAIL PROTECTED]> [26-03-03 16:37]: > You are correct about the MX records, though mail addressed directly to > the machine gets delivered correctly. As far as I have read, LMTP does > not require or use MX records. The socket method gives me a "connection > refused" error. > > lmtpd is running. Here is the appropriate sections of my cyrus.conf file: > > # at least one LMTP is required for delivery > lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1 > # lmtp cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0 > lmtp cmd="lmtpd" listen="63.105.30.19:lmtp" prefork=1 > Unless localhost=63.105.30.19 then your lmtpd server is not listening to localhost network address. So obviossly postfix won't deliver the messages, nor telnet will connect to localhost:lmtp. mitu
Re: lmtp read error
* Morgan Sackett <[EMAIL PROTECTED]> [25-03-03 21:12]: > I have a freshly configured Cyrus IMAP system set up. I am using > Postfix to deliver mail to the system, and I currently have it set up to > deliver via lmtp over tcp. Whenever postfix tries to deliver a message, > I get an error. Here is an example > > Mar 25 14:42:06 kang postfix/lmtp[10398]: 537991FCA07: > to=<[EMAIL PROTECTED]>, relay=none, delay=10231, status=deferred > (connect to 127.0.0.1[127.0.0.1]: read timeout) > > I get the same error when I use a local socket. > > When I try to telnet to the lmtp port this is what I get: > > kang# telnet localhost lmtp > Trying ::1... > telnet: connect to address ::1: Connection refused > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > > > Then it just hangs. What is going on? > It seems no lmtpd is started on localhost:lmtp, check your cyrus.conf and make sure you start a lmtpd daemon over tcp. mitu
Re: not able to receive mails in cyrus-postfix
On Mon, 2003-02-10 at 14:31, srikarreddy kasarla wrote: > Hello, > Your Postfix runs chroot-ed and cannot access the file /var/imap/socket/lmtp. mitu
Re: Problem with starting Cyradm
* Dennis Pedersen <[EMAIL PROTECTED]> [06-01-03 08:27]: > Hi, > I have been trying to get Cyrus (cyrus-imapd-2.0.17 ) to work on my > FreeBSD box (4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT > 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC > i386). Cyrus has been installed through ports and I just did a cvsup > before installing to make sure (I installed it on a simmular box for > some time ago, pretty much the same fault so I'm missing something.) > > %whoami > cyrus > %imtest -m login -p imap localhost > C: C01 CAPABILITY > S: * OK samba.jr-data.dk Cyrus IMAP4 v2.0.17 server ready > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID > NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT > THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 > S: C01 OK Completed > Password: > C: L01 LOGIN cyrus {6} > + go ahead > C: > L01 OK User logged in > Authenticated. > Security strength factor: 0 > > Okai the login part works fine. > Then I want to start up the cyradm : > > %cyradm localhost > Please enter your password: > cyradm: cannot authenticate to server with as cyrus > > /var/log/messages writes the following: > Jan 6 11:25:20 samba imapd[48715]: badlogin: localhost[::1] DIGEST-MD5 > authentication failure [unable to get user's secret] > > Groups.google.com did'nt show much about what could be the possible > solution to this - anyone? > > > > Imap.conf: > sasl_pwcheck_method: pwcheck > admins: cyrus > > rc.conf: > sasl_pwcheck_enable="YES" > sasl_pwcheck_program="/usr/local/sbin/pwcheck" Use: cyradm --auth LOGIN localhost and should work. man cyradm for more details. hth, mitu