RE: Cyrus + LDAP = death by 13
Chaps, nss_ldap-253 WORKING (As in I never saw the problem you described earlier) Guus > -Original Message- > From: [EMAIL PROTECTED] [mailto:info-cyrus- > [EMAIL PROTECTED] On Behalf Of Konstantin V. Gavrilenko > Sent: 06 March 2007 23:42 > To: info-cyrus@lists.andrew.cmu.edu > Cc: [EMAIL PROTECTED] > Subject: Re: Cyrus + LDAP = death by 13 > > Hi list, > > Been in contact with Roland Felnhofer, who also experiences the same > problem. He narrowed it down to the version of nss_ldap in use. > > Here is the list of different versions of nss_ldap and how it affects > the cyrus operations. > > nss_ldap-248NOT working > nss_ldap-247- not tested - > nss_ldap-246NOT working(SuSE source RPM) > nss_ldap-245!! could not find source !! > nss_ldap-244WORKING > nss_ldap-243- not tested - > nss_ldap-242- not tested - > nss_ldap-241- not tested - > nss_ldap-240WORKING > > Maybe it will be helpful to someone. > > > > Respectfully, > Konstantin V. Gavrilenko > > Managing Director > Arhont Ltd - Information Security > > web:http://www.arhont.com > http://www.wi-foo.com > e-mail: [EMAIL PROTECTED] > > tel: +44 (0) 870 44 31337 > fax: +44 (0) 117 969 0141 > > PGP: Key ID - 0xE81824F4 > PGP: Server - keyserver.pgp.com > > > Konstantin V. Gavrilenko wrote: > > Hi list, > > > > I have a problem with my cyrus server that I managed to track to the > > presence of the LDAP on the system. > > > > The user and group information is obtained form the LDAP server. > > When this functionality is enabled, when I start cyrus I get the > > following error: > > > > > > Feb 12 14:58:12 pingo master[22999]: about to exec > /usr/lib/cyrus/idled > > Feb 12 14:58:12 pingo master[22963]: ready for work > > Feb 12 14:58:12 pingo master[22963]: process 23054 exited, signaled > to > > death by 13 > > Feb 12 14:58:12 pingo master[22963]: process 23055 exited, signaled > to > > death by 13 > > Feb 12 14:58:12 pingo master[22963]: process 23056 exited, signaled > to > > death by 13 > > Feb 12 14:58:14 pingo master[22963]: process 23057 exited, signaled > to > > death by 13 > > Feb 12 14:58:14 pingo master[22963]: service imaps pid 23057 in READY > > > > If I change the nssswitch.conf to obtain the group information from > > files, cyrus starts up fine. > > > > passwd: files ldap > > #group: files ldap > > group: files > > > > > > When I shut down ldap server, leave the nsswitch.conf to obtain the > info > > from "files ldap" and start cyrus, I get the following error for some > > time, and them cyrus starts up normally. > > > > Feb 12 15:13:07 pingo master[32551]: retrying with 1024 (current max) > > Feb 12 15:13:07 pingo master[32551]: process started > > Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP > > server ldaps://localhost/: Can't contact LDAP server > > Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP > > server ldaps://localhost/: Can't contact LDAP server > > Feb 12 15:13:07 pingo master[32554]: nss_ldap: reconnecting to LDAP > > server (sleeping 1 seconds)... > > Feb 12 15:13:08 pingo master[32554]: nss_ldap: failed to bind to LDAP > > server ldaps://localhost/: Can't contact LDAP server > > Feb 12 15:13:08 pingo master[32554]: nss_ldap: reconnecting to LDAP > > server (sleeping 2 seconds)... > > > > In both of last cases, I can turn on ldap after the cyrus has > started, > > and it does not affect its later functionality and works fine. > > > > What can be the problem of initial start up of cyrus and signaled to > > death by 13 (broken pipe) ? Has anyone experienced the same problem ? > > > > > > -- > Respectfully, > Konstantin V. Gavrilenko > > Managing Director > Arhont Ltd - Information Security > > web:http://www.arhont.com > http://www.wi-foo.com > e-mail: [EMAIL PROTECTED] > > tel: +44 (0) 870 44 31337 > fax: +44 (0) 117 969 0141 > > PGP: Key ID - 0xE81824F4 > PGP: Server - keyserver.pgp.com > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.447 / Virus Database: 268.18.7/711 - Release Date: > 05/03/2007 09:41 > -- No virus found in this outgoing message. Checked by AVG. Version: 7.5.447 / Virus Database: 268.18.7/711 - Release Date: 05/03/2007 09:41 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus + LDAP = death by 13
Hi list, Been in contact with Roland Felnhofer, who also experiences the same problem. He narrowed it down to the version of nss_ldap in use. Here is the list of different versions of nss_ldap and how it affects the cyrus operations. nss_ldap-248NOT working nss_ldap-247- not tested - nss_ldap-246NOT working(SuSE source RPM) nss_ldap-245!! could not find source !! nss_ldap-244WORKING nss_ldap-243- not tested - nss_ldap-242- not tested - nss_ldap-241- not tested - nss_ldap-240WORKING Maybe it will be helpful to someone. Respectfully, Konstantin V. Gavrilenko Managing Director Arhont Ltd - Information Security web:http://www.arhont.com http://www.wi-foo.com e-mail: [EMAIL PROTECTED] tel: +44 (0) 870 44 31337 fax: +44 (0) 117 969 0141 PGP: Key ID - 0xE81824F4 PGP: Server - keyserver.pgp.com Konstantin V. Gavrilenko wrote: > Hi list, > > I have a problem with my cyrus server that I managed to track to the > presence of the LDAP on the system. > > The user and group information is obtained form the LDAP server. > When this functionality is enabled, when I start cyrus I get the > following error: > > > Feb 12 14:58:12 pingo master[22999]: about to exec /usr/lib/cyrus/idled > Feb 12 14:58:12 pingo master[22963]: ready for work > Feb 12 14:58:12 pingo master[22963]: process 23054 exited, signaled to > death by 13 > Feb 12 14:58:12 pingo master[22963]: process 23055 exited, signaled to > death by 13 > Feb 12 14:58:12 pingo master[22963]: process 23056 exited, signaled to > death by 13 > Feb 12 14:58:14 pingo master[22963]: process 23057 exited, signaled to > death by 13 > Feb 12 14:58:14 pingo master[22963]: service imaps pid 23057 in READY > > If I change the nssswitch.conf to obtain the group information from > files, cyrus starts up fine. > > passwd: files ldap > #group: files ldap > group: files > > > When I shut down ldap server, leave the nsswitch.conf to obtain the info > from "files ldap" and start cyrus, I get the following error for some > time, and them cyrus starts up normally. > > Feb 12 15:13:07 pingo master[32551]: retrying with 1024 (current max) > Feb 12 15:13:07 pingo master[32551]: process started > Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP > server ldaps://localhost/: Can't contact LDAP server > Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP > server ldaps://localhost/: Can't contact LDAP server > Feb 12 15:13:07 pingo master[32554]: nss_ldap: reconnecting to LDAP > server (sleeping 1 seconds)... > Feb 12 15:13:08 pingo master[32554]: nss_ldap: failed to bind to LDAP > server ldaps://localhost/: Can't contact LDAP server > Feb 12 15:13:08 pingo master[32554]: nss_ldap: reconnecting to LDAP > server (sleeping 2 seconds)... > > In both of last cases, I can turn on ldap after the cyrus has started, > and it does not affect its later functionality and works fine. > > What can be the problem of initial start up of cyrus and signaled to > death by 13 (broken pipe) ? Has anyone experienced the same problem ? > > -- Respectfully, Konstantin V. Gavrilenko Managing Director Arhont Ltd - Information Security web:http://www.arhont.com http://www.wi-foo.com e-mail: [EMAIL PROTECTED] tel: +44 (0) 870 44 31337 fax: +44 (0) 117 969 0141 PGP: Key ID - 0xE81824F4 PGP: Server - keyserver.pgp.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Username different from mailbox
Hi Patrick, hi all others, This is *not* an MTA issue at all as soon as we discuss the IMAP user logging in rather than the MTA delivering mail! This has been discussed indeed several times already and every time it came up, there were several people answering that they have no problem with that all. Yet unfortunately, they weren't talking about what was asked and what you need. (As long as I didn't get it wrong.) It is crucial in this discussion to distingish between two things: 1. Teach the MTA (Exim, Postfix, doesn't really matter) that mail for [EMAIL PROTECTED] has to go to fillinwhatyoulike / [EMAIL PROTECTED] Yes, this is a no-brainer. So we discuss SMTP here, which isn't really a subject for Cyrus IMAPd at all. And it's not what you're asking if I get it right. 2. In IMAP a user uses a name to identify himself against Cyrus IMAPd. The respective data is flowing right from the MUA (not the MTA) to port 143. Note: No Exim / Postfix / qmail in the game. Cyrus itself is indeed built on the assumtion that whatever name you use to authenticate *is* the name of the mailbox you want to see. It is impossible to use any tricks in the LDAP backend to solve this. You will be able to make LDAP lookup the credentials for userb if he logs into Cyrus as usera (if you do whatever mapping in LDAP) but this will always result in a "no mailbox with that name error" as Cyrus IMAPd will authenticate correctly, but look for the wrong mailbox name. The only way to solve your (and my) problem will be a canon_user SASL plugin, which does not yet exist. Well, sort of ... Howard Chu was so kind to write one which he provided to me as patch. Due to a lack of time and maybe ability I was yet unable to make it work for me. But I definitely trust him that when he says he had this working for him, that the problem is with me and not with his code. So in case you are ready to compile your stuff from source, I will happliy share the patch with you and I would be extremely thankfull if you could help me with some hints on how to properly install that. Regards, Torsten Jorey Bump schrieb: Patrick Kranz wrote: Now I have a customer, who needs the scenario that the usernames for Cyrus differ from the mailbox and mailaddress respectivly. For example [EMAIL PROTECTED] should be able to login with the username someOtherUsername. This need arises from an integration with other software-packages. Is there any possibility to make this work? Yes, this is no different from any other alias or virtual setup that offers multiple addresses to individual users. You would handle this in the MTA. For example, I use virtual_alias_maps with Postfix, and map all addresses to the corresponding cyrus IMAP user: [EMAIL PROTECTED]admin [EMAIL PROTECTED]admin [EMAIL PROTECTED]admin [EMAIL PROTECTED]bob [EMAIL PROTECTED]bob You can also use the aliases file and other approaches. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
conf.pl ignoring input and attachment directory broken by Administrator plugin
Hi there, maybe I stepped upon some bugs or I did something wrong when configuring SquirrelMail. (1.4.9a) 1st I wanted to disallow editing of identities, whereas editing of names shall be allowed. When I change these with conf.pl, next question is "remove username from header [y/n]", but no matter if I enter Y or N, the result is always "true". Using Administrator plugin I can set it to "FALSE". (NB, why is it that conf.pl always writes lowercase and plugin always writes uppercase?) 2nd Without me changing the value for left size, it suddenly shrinked to 100 after I used Administrator plugin to change something else. Still using Admin plugin, I changed it back to 150, and then made a configuration check - result: Attachment directory invalid! I never changed that too. The value was "$data_dir/" instead of "$data_dir" I could not correct that with admin plugin, but with conf.pl Admin plugin still shows 100 as default left size, yet it is 150. When using Admin plugin, that division has to be closed, or 100 will be most likely saved again. Yours, Gregor Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: How to include global sieve script for each user
Sebastian Hagedorn wrote: > -- Ulrich Spoerlein <[EMAIL PROTECTED]> is rumored to have mumbled on 6. März > 2007 > From "man imapd.conf": > > sieve_extensions: fileinto reject vacation imapflags notify envelope > relational regex subaddress copy >Space-separated list of Sieve extensions allowed to be used in >sieve scripts, enforced at submission by timsieved(8). Any previ- >ously installed script will be unaffected by this option and will >continue to execute regardless of the extensions used. This >option has no effect on options that are disabled at compile time >(e.g. "regex"). > >Allowed values: fileinto, reject, vacation, imapflags, notify, >include, envelope, body, relational, regex, subaddress, copy > > I.e. you have to explicitly enable "include". Don't complain about missing > documentation when > you don't even bother to read it ... Sigh, since an unset sasl_mech_list has the meaning of "all available" I was under the impression, that it would be the same with sieve_extension. Thanks for the cluebat! Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: DBERROR: skiplist recovery mailboxes.db 0090 - suddenly all is failing!
On Mon, 5 Mar 2007, Gregor Wenkelewsky wrote: I don't really know about that. Here is from the log during another "controlled shutdown and reboot", of course I had to make sure that my mailboxes.db error would not occur on every reboot. (It did not occur again.) These are the last lines, no sign of a kill -9 signal: Feb 28 15:20:05 Server cyrus/master[3869]: exiting on SIGTERM/SIGINT Feb 28 15:20:13 Server postfix/master[4103]: terminating on signal 15 Feb 28 15:20:15 Server exiting on signal 15 That is what I get when I shutdown Cyrus. When the error happened, a squatter run was completed about half an hour before, and ctl_cyrusdb "checkpointing cyrus databases" exactly 4 mins 27 secs before. And then, the last lines were: Feb 15 08:10:27 Server cyrus/master[3795]: exiting on SIGTERM/SIGINT Feb 15 08:10:35 Server postfix/master[4104]: terminating on signal 15 "Server exiting" is missing!?!??! I guess Cyrus couldn't exit cleanly? I haven't seen that here. How do you recognize a corruption? I think it would be useful to have and automated e-mail been sent as soon as some error occurs, so that I can get to the system and fix it. Our users will tell us that they cannot open their mailbox when their seen file is corrupted. If I remember correctly, we see those skiplist errors in the logs too. Last time Cyrus just started to repeat trying and failing to open the db endlessly, thereby writing tons of messages to the log files until stopped. Hence the malfunction would not be obvious if no one wants to use e-mail during a few days (that is likely here) and no one checks the server (likely too). And hence that, I guess I should set up not just hourly, but daily and weekly dumps of mailboxes.db, because the last unsoiled hourly backup would be overwritten with an faulty backup after just one hour. Am I right? I don't think the dump would be successful if mailboxes.db was corrupted, but honestly I don't know. You are probably correct that adding some robustness to the dump process is a good idea. Andy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Username different from mailbox
Jorey Bump wrote: Patrick Kranz wrote: Now I have a customer, who needs the scenario that the usernames for Cyrus differ from the mailbox and mailaddress respectivly. For example [EMAIL PROTECTED] should be able to login with the username someOtherUsername. This need arises from an integration with other software-packages. Is there any possibility to make this work? Yes, this is no different from any other alias or virtual setup that offers multiple addresses to individual users. You would handle this in the MTA. For example, I use virtual_alias_maps with Postfix, and map all addresses to the corresponding cyrus IMAP user: [EMAIL PROTECTED]admin [EMAIL PROTECTED]admin [EMAIL PROTECTED]admin [EMAIL PROTECTED]bob [EMAIL PROTECTED]bob You can also use the aliases file and other approaches. He wants to know how the user can login with login name 'foo' to mailbox called 'bar', that has login 'bar' associated with it. You can solve this with perdition. You let perdition translate username 'foo' into username 'bar'. I don't know if you can achieve this with saslauthd. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Username different from mailbox
> > Now I have a customer, who needs the scenario that the usernames for > > Cyrus differ from the mailbox and mailaddress respectivly. For example > > [EMAIL PROTECTED] should be able to login with the username > > someOtherUsername. This need arises from an integration with other > > software-packages. Is there any possibility to make this work? > Yes, this is no different from any other alias or virtual setup that > offers multiple addresses to individual users. You would handle this in > the MTA. For example, I use virtual_alias_maps with Postfix, and map all > addresses to the corresponding cyrus IMAP user: > [EMAIL PROTECTED] admin > [EMAIL PROTECTED] admin > [EMAIL PROTECTED] admin > [EMAIL PROTECTED] bob > [EMAIL PROTECTED] bob > You can also use the aliases file and other approaches. Or, if using LDAP, just assign the user multiple "mailLocalAddress" attributes. Again, an MTA issue. signature.asc Description: This is a digitally signed message part Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: How to include global sieve script for each user
-- Ulrich Spoerlein <[EMAIL PROTECTED]> is rumored to have mumbled on 6. März 2007 16:39:31 +0100 regarding How to include global sieve script for each user: I know this is a recurring topic here, but after hours of searching I still can't get this to work. I'm running Cyrus 2.3.7 on FreeBSD 6.2, I have added a global script like this: sieveshell -u cyrus -a cyrus -e "p spam.script spam" localhost Which results in the script showing up in sieve/global/spam.{bc,script} Now I want to upload a user script, consisting of the following lines (as per RFC) require ["include"]; include :global "spam"; Which results in an 'unsupported feature at line 1' error. I found posts claiming that Cyrus does not advertise the include extension, but works anyhow. I also tried only the line "include :global "spam";", but then I get "line 1: include not required". So what is the darn syntax, and why is cyrus documented so sparsely? From "man imapd.conf": sieve_extensions: fileinto reject vacation imapflags notify envelope relational regex subaddress copy Space-separated list of Sieve extensions allowed to be used in sieve scripts, enforced at submission by timsieved(8). Any previ- ously installed script will be unaffected by this option and will continue to execute regardless of the extensions used. This option has no effect on options that are disabled at compile time (e.g. "regex"). Allowed values: fileinto, reject, vacation, imapflags, notify, include, envelope, body, relational, regex, subaddress, copy I.e. you have to explicitly enable "include". Don't complain about missing documentation when you don't even bother to read it ... -- Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10 Zentrum für angewandte Informatik - Universitätsweiter Service RRZK Universität zu Köln / Cologne University - Tel. +49-221-478-5587 pgpueGMGffY7c.pgp Description: PGP signature Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: How to include global sieve script for each user
Hi, you have to tell cyrus which extensions to use with the sieve_extensions: in /etc/imapd.conf Michael Menge Quoting Ulrich Spoerlein <[EMAIL PROTECTED]>: Hi all, I know this is a recurring topic here, but after hours of searching I still can't get this to work. I'm running Cyrus 2.3.7 on FreeBSD 6.2, I have added a global script like this: sieveshell -u cyrus -a cyrus -e "p spam.script spam" localhost Which results in the script showing up in sieve/global/spam.{bc,script} Now I want to upload a user script, consisting of the following lines (as per RFC) require ["include"]; include :global "spam"; Which results in an 'unsupported feature at line 1' error. I found posts claiming that Cyrus does not advertise the include extension, but works anyhow. I also tried only the line "include :global "spam";", but then I get "line 1: include not required". So what is the darn syntax, and why is cyrus documented so sparsely? Thanks in advance! Uli Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen smime.p7s Description: S/MIME krytographische Unterschrift Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Username different from mailbox
Patrick Kranz wrote: Now I have a customer, who needs the scenario that the usernames for Cyrus differ from the mailbox and mailaddress respectivly. For example [EMAIL PROTECTED] should be able to login with the username someOtherUsername. This need arises from an integration with other software-packages. Is there any possibility to make this work? Yes, this is no different from any other alias or virtual setup that offers multiple addresses to individual users. You would handle this in the MTA. For example, I use virtual_alias_maps with Postfix, and map all addresses to the corresponding cyrus IMAP user: [EMAIL PROTECTED] admin [EMAIL PROTECTED] admin [EMAIL PROTECTED] admin [EMAIL PROTECTED] bob [EMAIL PROTECTED] bob You can also use the aliases file and other approaches. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: problem with aliases as distributor/mailinglist
> hi, > i recently asked on the postfix mailing list but there they told > me that it > is a problem with cyrus. > > i´m using postfix on fc4 with virtual users and domains stored in a mysql > db. > on my former mailserver i used aliases as > mailingslists/distributor. a mail > sent to [EMAIL PROTECTED] has been delivered to all the > mail addresses > defined in a seperate file for that alias. > > now i tried the same and defined an alias [EMAIL PROTECTED] in the > appropriate mysql-table. for that alias i defined 2 test mail > accounts. each > account/mail-address on a seperate line. the mail is delivered to the > accounts but the sender gets a "undelivered mail returned to sender" with > following content: > > > This is the Postfix program at host mail.novaware.de. > > I'm sorry to have to inform you that your message could not > be delivered to one or more recipients. It's attached below. > > For further assistance, please send mail to > > If you do so, please include this problem report. You can > delete your own text from the attached returned message. > > The Postfix program > > <[EMAIL PROTECTED]>: data format error. Command output: : Mailbox does not > exist > > <[EMAIL PROTECTED]>: data format error. Command output: : > Mailbox does > not exist > > > here the snippet of my log file: > > [snip] > ... > Mar 6 11:05:59 mail postfix/smtp[29631]: 17D4C5E44B4: > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, > relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, > id=23575-01, > from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2) > Mar 6 10:05:59 mail postfix/smtp[29631]: 17D4C5E44B4: > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, > relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, > id=23575-01, > from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2) > ... > [snip] > ... > Mar 6 11:05:59 mail lmtpunix[29557]: IOERROR: fstating sieve script > /var/lib/imap/sieve/domain/n/novaware.de/l/lulu/defaultbc: No such file or > directory > Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_check: > <[EMAIL PROTECTED]> > novaware.de!user.lulu 0 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484028 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484028 > Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: > <[EMAIL PROTECTED]> novaware.de!user.lulu > 1173175559 10 > Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_check: > <[EMAIL PROTECTED]> > novaware.de!user.p^trolliet 0 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484029 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484029 > Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: > <[EMAIL PROTECTED]> > novaware.de!user.p^trolliet 1173175559 54 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484030 > Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484030 > Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: > <[EMAIL PROTECTED]> > [EMAIL PROTECTED] 1173175559 0 > Mar 6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced (data format > error. Command output: : Mailbox does not exist ) > Mar 6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced (data > format error. Command output: : Mailbox does not exist ) > Mar 6 11:05:59 mail postfix/cleanup[29628]: 66E935E44EB: > message-id=<[EMAIL PROTECTED]> > Mar 6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: from=<>, size=3863, > nrcpt=1 (queue active) > Mar 6 11:05:59 mail postfix/qmgr[23547]: 4D5E05E44E2: removed > Mar 6 11:05:59 mail lmtpunix[29638]: accepted connection > Mar 6 11:05:59 mail lmtpunix[29638]: lmtp connection preauth'd as postman > Mar 6 11:05:59 mail lmtpunix[29638]: IOERROR: fstating sieve script > /var/lib/imap/sieve/domain/n/novathink.de/c/checkov/defaultbc: No > such file > or directory > Mar 6 11:05:59 mail lmtpunix[29638]: duplicate_check: > <[EMAIL PROTECTED]> novathink.de!user.checkov 0 > Mar 6 11:05:59 mail lmtpunix[29638]: mystore: starting txn 2147484031 > Mar 6 11:05:59 mail lmtpunix[29638]: mystore: committing txn 2147484031 > Mar 6 11:05:59 mail lmtpunix[29638]: duplicate_mark: > <[EMAIL PROTECTED]> novathink.de!user.checkov > 1173175559 5 > Mar 6 11:05:59 mail postfix/pipe[29640]: 66E935E44EB: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent > (novathink.de) > Mar 6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: removed > > > > the mail is delivered to the accounts but the sender gets the above mail > (mail is being delivered with postfix and delivery is ok. t
How to include global sieve script for each user
Hi all, I know this is a recurring topic here, but after hours of searching I still can't get this to work. I'm running Cyrus 2.3.7 on FreeBSD 6.2, I have added a global script like this: sieveshell -u cyrus -a cyrus -e "p spam.script spam" localhost Which results in the script showing up in sieve/global/spam.{bc,script} Now I want to upload a user script, consisting of the following lines (as per RFC) require ["include"]; include :global "spam"; Which results in an 'unsupported feature at line 1' error. I found posts claiming that Cyrus does not advertise the include extension, but works anyhow. I also tried only the line "include :global "spam";", but then I get "line 1: include not required". So what is the darn syntax, and why is cyrus documented so sparsely? Thanks in advance! Uli Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Username different from mailbox
Hi list, I hope my question hasn't been answered before but I wasn't able to find a solution. I have successfully installed a Cyrus Server with an OpenLDAP-Backend for authentication via SASL. Mail is delivered to the rest of the world through Postfix. Every user is able to authenticate himself with his email-address as username and a password. For over a half year this has been working really, really great. Now I have a customer, who needs the scenario that the usernames for Cyrus differ from the mailbox and mailaddress respectivly. For example [EMAIL PROTECTED] should be able to login with the username someOtherUsername. This need arises from an integration with other software-packages. Is there any possibility to make this work? I appreciate every help. Greetings, patrick -- Epper & Kranz GbR Oliver Epper, Patrick Kranz EK IT-Solutions Südring 37 54634 Bitburg Tel: +49 (0)6561 951614 Fax: +49 (0)6561 12425 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Unified Murder and xfer
Hi! After applying this patch (to version 2.3.8), https://bugzilla.andrew.cmu.edu/attachment.cgi?id=433&action=view , I was finally able to xfer bulletin boards around - but not users' mailboxes. These succeed: --clip-- m2cn1t.mappi.helsinki.fi> cm bb1b m2cn1t.mappi.helsinki.fi> cm bb1b.test m2cn1t.mappi.helsinki.fi> xfer bb1b m2cn2t m2cn1t.mappi.helsinki.fi> xfer bb1b.test m2cn2t --clip-- Mar 6 16:51:34 m2cn2t imap[22473]: starttls: TLSv1 with cipher RC4-MD5 (128/128 bits new) no authentication Mar 6 16:51:34 m2cn2t imap[22473]: login: m2cn1t.mappi.helsinki.fi [128.214.205.51] murder LOGIN+TLS User logged in Mar 6 16:54:30 m2cn2t imap[27398]: starttls: TLSv1 with cipher RC4-MD5 (128/128 bits new) no authentication Mar 6 16:54:30 m2cn2t imap[27398]: login: m2cn1t.mappi.helsinki.fi [128.214.205.51] murder LOGIN+TLS User logged in --clip-- -- murder Tue Mar 6 16:51:34 2007 <11731926941173192694>LC1 OK Completed <11731926941173192694>+ go ahead <1173192694 cm bb1b m2cn1t.mappi.helsinki.fi> cm bb1b.test m2cn1t.mappi.helsinki.fi> xfer bb1b.test m2cn2t xfermailbox: The remote Server(s) denied the operation --clip-- Mar 6 16:48:40 m2cn2t imap[20395]: login: m2cn1t.mappi.helsinki.fi [128.214.205.51] murder LOGIN+TLS User logged in Mar 6 16:48:40 m2cn2t imap[20395]: MUPDATE: can't unreserve mailbox entry 'bb1b.test' --clip-- -- murder Tue Mar 6 16:51:08 2007 <11731926681173192668>LC1 OK Completed <11731926681173192668>D01 NO Mailbox is currently reserved >1173192668>* BAD Invalid tag <11731926681173192668>LD1 NO Server(s) unavailable to complete operation <11731926681173192668>* BYE LOGOUT received Q01 OK Completed --clip-- --clip-- m2cn1t.mappi.helsinki.fi> cm user.test m2cn1t.mappi.helsinki.fi> xfer user.test m2cn2t xfermailbox: Server(s) unavailable to complete operation --clip-- Mar 6 16:51:08 m2cn2t imap[23014]: starttls: TLSv1 with cipher RC4-MD5 (128/128 bits new) no authenticat ion Mar 6 16:51:08 m2cn2t imap[23014]: login: m2cn1t.mappi.helsinki.fi [128.214.205.51] murder LOGIN+TLS Use r logged in Mar 6 16:51:08 m2cn2t imap[23014]: Doing a peer verify Mar 6 16:51:08 m2cn2t imap[23014]: Doing a peer verify Mar 6 16:51:08 m2cn2t imap[23014]: received server certificate Mar 6 16:51:08 m2cn2t imap[23014]: starttls: TLSv1 with cipher RC4-MD5 (128/128 bits new) no authenticat ion Mar 6 16:51:08 m2cn2t imap[23014]: couldn't authenticate to backend server: no mechanism available --clip-- I have set allowusermoves to be true. (Otherwise I'd get a completely different error.) Any ideas? --Janne -- Janne Peltonen <[EMAIL PROTECTED]> Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: single instance store and replication
I'm using Cyrus replication. After several tests, it seems that the single instance store facility is not replicated. I mean, the same message sent to several recipient is stored once on the master, but stored several times on the slave. Is there a special thing to do to activate single instance store replication or it just doesn't exist yet? Message UUIDs are used to replicate the single instance store (see docs/text/install-replication). This won't have much effect when you first replicate a mailstore as sync_server in 2.3 only tracks the last few thousand messages that have been uploaded. It becomes much more effective when a replica has been seeded and you switch to "rolling" replication. Do i have to put the provide_uuid in imap & lmtp services both in master and replica cyrus.conf or only in the master cyrus.conf ? Does the sync_machineid has to be set in the imapd.conf of the replica ? When you set up a replica for the first time with a master already in service, do u have to first manually synchronize the mailboxes and only after set the rolling replication ? Is there a way to reinitialize "rolling" replication on the master ? Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: reconstruct deletes messages
--On Tuesday, March 6, 2007 9:01 +0100 Michael Menge <[EMAIL PROTECTED]> wrote: Hi, which Version of Cyrus do you run. In 2.3.x is a new feature expunge_mode: delayed which leaves the deleted mails on disk, till they are deleted by cyr_expire. Till 2.3.8 reconstruct did not recognise these feature and removed the files. But this would only delete files if they where deleted in Cyrus before. Thank you. We're 2.3.something but not 2.3.8. This explains what is happening to messages after we restored from backup. Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow lmtpd
> The problem in limiting them to a lower value is that once the MTAs > start running their queues, their connections will start being refused, > since all lmtpd's will be in use, and the messages will go back to the > queue. Are you connecting to lmtpd over TCP or something? I haven't seen this behavior with Postfix and a UNIX socket, at least. But still, I'd rather have Postfix defer the connection than have huge IO wait queues. ...If nothing else, think about what that's doing to your IMAP clients. :) > I had to reduce the default value of > "lmtp_destination_concurrency_limit" in postfix to 10 (the default is > 20), and change the value of "queue_run_delay" on some servers to avoid > having them all run their queues at the same time, because that ends up > causing the lmtpd process limit to be reached. Ah, it sounds here like you're connecting multiple SMTP frontends to a single lmtpd backend? Sorry if I missed that earlier. FWIW, I'd stick postfix on this box to handle the incoming mail and do all that over SMTP, then deliver over LMTP to Cyrus locally and over a unix socket. SMTP ought to prove more reliable than LMTP over a network, IMO. This has the added benefit of only having to tweak one Postfix install for its delivery to lmtpd! > There is only one RAID-10 array using 8 disks. The whole system is > installed on this array, although directories like /var/lib/imap > and /var/spool/imap are mounted on different LVM volumes. How difficult would it be to change this? It's RAID-10, but it boils down to one spindle handling all of your I/O. > The Coraid people suggested me a larger array, using 14 disks to > increase the throughput through the use of more striping elements. I can > try this for the next servers to go into production, but changing the > current one will be harder. I think you'd be better off with smaller disk sets for different I/O patterns. Like a 2-disk RAID-1 for /var/lib/imap and the rest striped for /var/spool/imap, etc. Either way, you want to separate not just on LVM, but on the physical spindles doing the work. John -- John Madden Sr. UNIX Systems Engineer Ivy Tech Community College of Indiana [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow lmtpd
Zitat von Andre Nathan <[EMAIL PROTECTED]>: On Tue, 2007-03-06 at 09:13 +1100, Rob Mueller wrote: I've never seen over 100%, and it doesn't seem to make sense, so I'm guessing it's a bogus value. Yeah, I talked to the Coraid guys and they told me iostat reports incorrect values for AoE. > avg-cpu: %user %nice %system %iowait %idle > 2.530.005.26 89.982.23 However this shows that the system is mainly waiting on IO as we expected. Yep, although I'd say it's a bit more than expected... Really you never want that many lmtpd processes, if they're all in use, it's clear you've got an IO problem. Limiting it to 10 or so is probably a reasonable number to avoid complete IO saturation and IO sevice delays. The problem in limiting them to a lower value is that once the MTAs start running their queues, their connections will start being refused, since all lmtpd's will be in use, and the messages will go back to the queue. You should always limit your MTA(s) (Postfix) LMTP clients to match the max number at your LMTP Server (Cyrus). Be sure to use a separate transport for lmtp and use the lmtp_connection_cache and maybe raise the max_use value. With this even small numbers of LMTP clients (<5) will be able to saturate your Cyrus I/O so no need to get in trouble with many hundreds LMTPs waiting for I/O slots. I would start with 2 LMTP client connections per MTA and see what happens. As said if you don't have long running sieve scripts this should be enough to get near the max transferrate your Cyrus can handle. Regards Andreas Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
problem with aliases as distributor/mailinglist
hi, i recently asked on the postfix mailing list but there they told me that it is a problem with cyrus. i´m using postfix on fc4 with virtual users and domains stored in a mysql db. on my former mailserver i used aliases as mailingslists/distributor. a mail sent to [EMAIL PROTECTED] has been delivered to all the mail addresses defined in a seperate file for that alias. now i tried the same and defined an alias [EMAIL PROTECTED] in the appropriate mysql-table. for that alias i defined 2 test mail accounts. each account/mail-address on a seperate line. the mail is delivered to the accounts but the sender gets a "undelivered mail returned to sender" with following content: This is the Postfix program at host mail.novaware.de. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program <[EMAIL PROTECTED]>: data format error. Command output: : Mailbox does not exist <[EMAIL PROTECTED]>: data format error. Command output: : Mailbox does not exist here the snippet of my log file: [snip] ... Mar 6 11:05:59 mail postfix/smtp[29631]: 17D4C5E44B4: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=23575-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2) Mar 6 10:05:59 mail postfix/smtp[29631]: 17D4C5E44B4: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=23575-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2) ... [snip] ... Mar 6 11:05:59 mail lmtpunix[29557]: IOERROR: fstating sieve script /var/lib/imap/sieve/domain/n/novaware.de/l/lulu/defaultbc: No such file or directory Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_check: <[EMAIL PROTECTED]> novaware.de!user.lulu 0 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484028 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484028 Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: <[EMAIL PROTECTED]> novaware.de!user.lulu 1173175559 10 Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_check: <[EMAIL PROTECTED]> novaware.de!user.p^trolliet 0 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484029 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484029 Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: <[EMAIL PROTECTED]> novaware.de!user.p^trolliet 1173175559 54 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484030 Mar 6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484030 Mar 6 11:05:59 mail lmtpunix[29557]: duplicate_mark: <[EMAIL PROTECTED]> [EMAIL PROTECTED] 1173175559 0 Mar 6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2: to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist ) Mar 6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2: to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist ) Mar 6 11:05:59 mail postfix/cleanup[29628]: 66E935E44EB: message-id=<[EMAIL PROTECTED]> Mar 6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: from=<>, size=3863, nrcpt=1 (queue active) Mar 6 11:05:59 mail postfix/qmgr[23547]: 4D5E05E44E2: removed Mar 6 11:05:59 mail lmtpunix[29638]: accepted connection Mar 6 11:05:59 mail lmtpunix[29638]: lmtp connection preauth'd as postman Mar 6 11:05:59 mail lmtpunix[29638]: IOERROR: fstating sieve script /var/lib/imap/sieve/domain/n/novathink.de/c/checkov/defaultbc: No such file or directory Mar 6 11:05:59 mail lmtpunix[29638]: duplicate_check: <[EMAIL PROTECTED]> novathink.de!user.checkov 0 Mar 6 11:05:59 mail lmtpunix[29638]: mystore: starting txn 2147484031 Mar 6 11:05:59 mail lmtpunix[29638]: mystore: committing txn 2147484031 Mar 6 11:05:59 mail lmtpunix[29638]: duplicate_mark: <[EMAIL PROTECTED]> novathink.de!user.checkov 1173175559 5 Mar 6 11:05:59 mail postfix/pipe[29640]: 66E935E44EB: to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent (novathink.de) Mar 6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: removed the mail is delivered to the accounts but the sender gets the above mail (mail is being delivered with postfix and delivery is ok. then the mail is delivered again but with lmtpunix). what´s the problem here? how can i solve this problem? why is the mail delivered twice? asking this because of the "duplicate mark" and "duplicate check" lines in the log. regards phili
Re: BerkeleyDB problems, converting away
On Mon, 05 Mar 2007 16:28:20 +0200, "Tuomas Toropainen" <[EMAIL PROTECTED]> said: > Hello > > I had a dream, that berkeleydb problems would had been solved a long > time ago in a way or another. It seems that this was only a dream... I > am seeing lots of following log errors and I dont like them. > > The question is: how can I find out what database formats is cyrus > server using and what one is the most probable cause of those errors? Or > should I just go ahead and convert all the databases to skiplist? In > that case, what are all the databases to convert? > > Mar 5 04:02:05 delta cyrus/lmtpunix[31287]: DBERROR db4: 22 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32185]: DBERROR db4: 105 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32168]: DBERROR db4: 105 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32162]: DBERROR db4: 106 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32187]: DBERROR db4: 105 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32168]: DBERROR db4: 105 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32168]: DBERROR db4: 106 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32188]: DBERROR db4: 106 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32185]: DBERROR db4: 107 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32167]: DBERROR db4: 107 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32156]: DBERROR db4: 108 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32187]: DBERROR db4: 108 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32167]: DBERROR db4: 107 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32188]: DBERROR db4: 105 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32168]: DBERROR db4: 106 lockers > Mar 5 09:22:07 delta cyrus/lmtpunix[32187]: DBERROR db4: 106 lockers > These are not real errors, see: http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg11184.html > > name : Cyrus IMAPD > version: v2.2.13-Debian-2.2.13-10 2006/11/13 16:17:53 > vendor : Project Cyrus > support-url: http://asg.web.cmu.edu/cyrus > os : Linux > os-version : 2.6.18-3-686-bigmem > environment: Built w/Cyrus SASL 2.1.22 > Running w/Cyrus SASL 2.1.22 > Built w/Sleepycat Software: Berkeley DB 4.2.52: (December > 3, 2003) Running w/Sleepycat Software: Berkeley DB 4.2.52: > (December 3, 2003) > Built w/OpenSSL 0.9.8c 05 Sep 2006 > Running w/OpenSSL 0.9.8c 05 Sep 2006 > CMU Sieve 2.2 > TCP Wrappers > NET-SNMP > mmap = shared > lock = fcntl > nonblock = fcntl > idle = poll > > > I was able to find out this much: > > annotations.db: Cyrus skiplist DB > deliver.db: Berkeley DB (Btree, version 9, native byte-order) > mailboxes.db:Cyrus skiplist DB > tls_sessions.db: Berkeley DB (Btree, version 9, native byte-order) > exampleuser.seen: Cyrus skiplist DB > > Are these all? > Yes > Thank you. > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- [EMAIL PROTECTED] -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: tls_prune, cyr_expire hangs
Hi Jan, > Aug 24 04:16:31 d90 tls_prune[15289]: mydelete: starting txn 2157892271 > Aug 24 04:16:31 d90 tls_prune[15289]: mydelete: aborting txn 2157892271 As you found out yourself, the solution is to delete the tls db, (/var/lib/cyrus/tls_sessions.db in my case) and restart cyrus. Another question is how and why the db got corrupted. Regards, D. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: reconstruct deletes messages
Hi, which Version of Cyrus do you run. In 2.3.x is a new feature expunge_mode: delayed which leaves the deleted mails on disk, till they are deleted by cyr_expire. Till 2.3.8 reconstruct did not recognise these feature and removed the files. But this would only delete files if they where deleted in Cyrus before. Michael Menge Quoting Joseph Brennan <[EMAIL PROTECTED]>: We're running into cases where running reconstruct removes message files, sometimes all of the messages in a folder, leaving only the directory and the cyrus.cache, cyrus.header, cyrus.index files. This makes no sense to me at all. I thought the only purpose of reconstruct is to rebuild the index. Under what circumstances would it unlink files? Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen smime.p7s Description: S/MIME krytographische Unterschrift Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html