Session-usage of Outlook Express
Hi, I'm trying the cyrus-server and found that outlook express is logging in and out to check for new mail availlable on the imap-server every few minutes instead of keeping the session open for several hours and checking in the open sesson. I'm not used to M$... so does anyone know if I can configure outlook express to keep the session open? And further and even more important: is this kind of behaviour the expected behaviour of imap-clients? Or is outlook express just an exception? Thanks, Anton
Maildelivery blocks Mailsystem
Hi, My system: Solaris 2.7, sendmail 8.11.2, cyrus 2.0.12, sasl 1.5.24, openssl 0.9.6 berkeley-db 3.1.17, perl 5.6.0 I've experienced following Problem an right now tracking it down. Maybe someone can share some ideas At some point in time email doesn't get delivered any more. Mailqueue gets longer and longer with in transit mails having a '*' These mails seem to stay in the queue forever. Maybe there is also a sendmail problem not timing out. Logfile of sendmail says: timeout waiting for input from local during Draining Input. The mails are destined to be delivered locally to the cyrus-Mailsystem. I see deliver-Processes and lmtpd's obviously for each sendmail-process trying to deliver mail. If I kill the cyrus-master-process and restart it everything seems to work again. After running the mailqueue every mail gets delivered at once. The whole mess seems to start when a user via dial in drops connection. Several old imapd's of this user are hanging around (he don't owns them, but I checked with the logfile for who logged in) So I blame a deadlock between imapd doing something and lmtpd trying to get a ressource-lock or somthing like that before delivering mail. Can someone please give a hint how to get more info whats going on with debugging swiches or something? I didn't find any hints in the manpages about how to turn really verbose debugging on. Thanks for any hints, Anton
Reconstruct Databases.... how??
Hi, Some days ago I posted a question about mailsystem being blocked by something. Right now I know for sure it is a database-lock. I tried to recompile everything with up-to-date sources from cvs and give stack-backtraces from blocked processes, but now I experience 3 other problems the first the more important to me :-((( my system: cyrus cvs-sources, cyrus-sasl-1.5.24, db-3.1.17, solaris 2.7 - gcc !! can someone tell that this system works on his site? Or same config bur other db-version? !! 1. reconstruct -m doesen't work - correct??? bash-2.01$ /home/Projekt/Mailsystem/bin/cyrus/bin/reconstruct -m reconstructing mailboxes.db currently not supported 2. reconstruct -r gives I/O-Error === bash-2.01$ /home/Projekt/Mailsystem/bin/cyrus/bin/reconstruct -r user user: Mailbox does not exist user.ab1215 user.ab1215.bingo user.ab1215.iteam user.ab1215.privat user.admin user.anton user.anton.robo user.ar100 user.jb1350 user.jb1350.Amazon user.jb1350.Private Mails user.jb1350.Private Mails.Abrechnung I-Team user.jb1350.bingo user.jb1350.bingo eV.bitz-Technik.Fortuna: System I/O error No such file or directory user.jb1350.bingo.AK-Schulung user.jb1350.bingo.Admin === And yes there are spaces in folder names! user.jb1350.bingo eV.bitz-Technik.Fortuna doesn't exist in the Filesystem. Probably it did exist in the past but was renamed. * HOW can I fix this if reconstruct -m doesn't work?? * 3. deliver terminates with signal 9 - but this worked before I recompiled everything... I think it might be the db-library it worked with a static one... now its shared so I might get it to work again. bash-2.01$ /usr/lib/sendmail -v -q Running /var/spool/mqueue/f489TO128101 (sequence 1 of 1) [EMAIL PROTECTED]... Connecting to cyrus... mailer cyrus died with signal 9 [EMAIL PROTECTED]... Deferred: cyrus mailer (/home/Projekt/Mailsystem/bin/cyrus/bin/deliver) exited with EX_TEMPFAIL Thanks, Anton
Re: Reconstruct Databases.... how??
Hi, Don't waste time thinking about problems I already have solved :-)) 1. reconstruct -m doesen't work - correct??? bash-2.01$ /home/Projekt/Mailsystem/bin/cyrus/bin/reconstruct -m reconstructing mailboxes.db currently not supported Now I know this is a minor issue. 2. reconstruct -r gives I/O-Error === bash-2.01$ /home/Projekt/Mailsystem/bin/cyrus/bin/reconstruct -r user user: Mailbox does not exist user.ab1215 user.ab1215.bingo user.ab1215.iteam user.ab1215.privat user.admin user.anton user.anton.robo user.ar100 user.jb1350 user.jb1350.Amazon user.jb1350.Private Mails user.jb1350.Private Mails.Abrechnung I-Team user.jb1350.bingo user.jb1350.bingo eV.bitz-Technik.Fortuna: System I/O error No such file or directory user.jb1350.bingo.AK-Schulung user.jb1350.bingo.Admin === And yes there are spaces in folder names! user.jb1350.bingo eV.bitz-Technik.Fortuna doesn't exist in the Filesystem. Probably it did exist in the past but was renamed. I didn't manage to get rid of this error with reconstruct Creating the dir and running reconstruct got everything fine. 3. deliver terminates with signal 9 - but this worked before I recompiled everything... I think it might be the db-library it worked with a static one... now its shared so I might get it to work again. bash-2.01$ /usr/lib/sendmail -v -q Running /var/spool/mqueue/f489TO128101 (sequence 1 of 1) [EMAIL PROTECTED]... Connecting to cyrus... mailer cyrus died with signal 9 [EMAIL PROTECTED]... Deferred: cyrus mailer (/home/Projekt/Mailsystem/bin/cyrus/bin/deliver) exited with EX_TEMPFAIL After configuring sendmail.cf to use lmtp-socket everything is fine. Bye, Anton
Re: migration of mbox-format mailboxes backup
Hi, You can find some useful Tips and Tools at: http://www.oreilly.com/catalog/mimap/ Bye, Anton
imapd's hanging around...
Hi, System: cyrus-imapd 2.0.16 Solaris 2.7 I experience imapd-prcesses not closing down network connections after timeout :-( There is still a valid connection (ESTABLISHED) shown in netstat-output, but the machine on the oher side is not reachable any more (probably dial-ups). The timeout specified in imapd.conf are: poptimeout: 10 timeout: 30 But I have about 30 imapds from 1 to 20 days old with a nonexistant machine on the other side of the network connection. Are there additional config-parameters I am not aware of? What should I do to track the problem down? I could attach a debugger to the process if someone tells me what to look for .-) Thanks, Anton PS: Every imapd-process shows this gdb-output - probably I have to use -g if someone needs more info in this area...: (gdb) bt #0 0xdf558f7c in _read () from /usr/lib/libc.so.1 #1 0x86188 in prot_fill () #2 0x712bc in getword () #3 0x32a6c in cmd_idle () #4 0x2e900 in cmdloop () #5 0x2c664 in service_main () #6 0x2a0f8 in main ()
Re: Problems with BerkeleyDB3 - corrupt Databases?
On Thu, Jan 08, 2004 at 07:37:12PM +0100, Anton Roeckseisen wrote: Hi All, I get following errors in my logs: -- Jan 8 19:03:33 aphrodite master[13180]: [ID 392559 local6.debug] about to exec /opt/Mailsystem/cyrus/bin/ctl_cyrusdb Jan 8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 702911 local6.notice] checkpointing cyrus databases Jan 8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: log_flush: LSN past current end-of-log Jan 8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: txn_checkpoint: failure in memp_sync Invalid argument Jan 8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 865331 local6.error] DBERROR: couldn't checkpoint: Invalid argument Jan 8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 109027 local6.error] DBERROR: sync /var/imap/db: cyrusdb error Jan 8 19:03:36 aphrodite ctl_cyrusdb[13180]: [ID 578205 local6.debug] archiving database file: /var/imap/mailboxes.db [...] Another problem is that I had to disable ctl_deliver and tls_prune because they kept complaining about problems with their DBs until the log-filesystem was full. :-( Above problem might have the same roots db_verify usually found errors in deliver.db and tls_sessions.de, but does not with mailboxes.db. I fixed those problems with turning off async option for deliver and tls cache databases. Now using the same as in mailboxes.db. I had to rebuild cyrus to modify this options. \Anton