Missing sieve folder
Hi, we moved from an old cyrus system to a newer one (2.14.19) ~18 months ago. The system runs very smooth. However I noticed a couple of problems: 1) We are creating a user using a script. The script is executing on the mail system some commands to create the mailboxes and the aliases. I found one case where 2 mailboxes where created "user.username" and "user.Username". The folders for "Username" where missing, so it gave some IOERROR. Any idea how this can happen (username is converted to lower case BEFORE the script on the mail system is executed) ? 2)For a large number of people the sieve folders are either empty or not existing! Dec 11 17:18:53 mail lmtpunix[687]: IOERROR: fstating sieve script /var/lib/sieve/m/mxxx/defaultbc: No such file or directory Dec 11 17:18:54 mail lmtpunix[1692]: IOERROR: fstating sieve script /var/lib/sieve/m/m/defaultbc: No such file or directory Dec 11 17:18:54 mail lmtpunix[1680]: IOERROR: fstating sieve script /var/lib/sieve/m/m/defaultbc: No such file or directory ll /var/lib/sieve/m/mxxx/defaultbc ls: cannot access '/var/lib/sieve/m/mxxx/defaultbc': No such file or directory mail:/tmp # ll /var/lib/sieve/m/mxxx/ ls: cannot access '/var/lib/sieve/m/mxxx/': No such file or directory How can this happen ? What is the pest way to fix it ? -- Bye, Peer Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Problem after update (deliver not working anymore)
Hi, I updated our cyrus server (SuSE SLES 12) to the latest release. First tests did not show any problem. But now I noticed the following: Oct 24 11:48:44 mail postfix/local[3438]: 0F6604A6F0: to=<x...@bgc-jena.mpg.de>, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Permission denied 421 4.3.0 deliver: couldn't connect to lmtpd_ We are using for some shared mailfolders /etc/aliases with NAME: ""|/usr/bin/formail -I \"From \" |/usr/lib/cyrus/bin/deliver -e -a cyrus -m NAME" It worked without any problems before. Normal mail (to users) are working perfectly ... I tried to change the permission of /var/lib/imap/socket/lmp without any success. Any idea ? -- Bye, Peer Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Thunderbird and "Login to server failed".
Yes, seems to work. (-n 5 -> -n 50 - no problems any more). Has anybody tried to use -c -t (c = caching, t=timeout for cache). What about users changing the password Bye, Peer On 05.10.2017 16:21, Michael Sofka wrote: This was one of the symptoms of slow authentication that we saw before I increased the saslauthd threads. Mike On 10/04/2017 09:09 AM, Eugene M. Zheganin wrote: Hi, I'm using cyrus-imapd (now 2.4.x) and Thunderbird. The problem is, when I click fast on the e-mails, I often get the "Login to server foo.bar failed" (when I click like one -email per 3 seconds everything is fine). My password is okay, so I just press "Cancel". I live with this problem for a really long time, and I can say the this is specific to the TB: it doesn't happen in Outlook. I've read a lot about this, and, besides the mailbox being improperly configured and failing authrization 100% of the time (which is not my case), there's an urban legend that TB uses by default 5 concurrent connections to the IMAP server (and this part is true), while cyrus permits less. But the thing is, even with 1 connecton configured in TB (in advanced settings), I still get this error when clicking messages fast. No errors are logged on the cyrus side, just the normal log stating that I was allowed to examine my mailbox. Is there any way to get rid of these boring messages ? Cyrus ML may not be the correct place to ask for this, but BT/Mozilla community just gives me futile answers like "are you sure you type your passwords right" and so on. Thanks. Eugene. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Mit freundlichen Grüßen, Peer-Joachim Koch Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Thunderbird and "Login to server failed".
Hi, since we upgraded our installation to 2.4.18-142 (SuSE SLES) we see the same behavior. We are using the same settings as before. Fast deleting (2 msg per second) of messages shows "login failed". I haven't checked this out. Any idea how to analyses this ? Bye, Peer On 04.10.2017 15:26, Simon Matter wrote: Hi, I'm using cyrus-imapd (now 2.4.x) and Thunderbird. The problem is, when I click fast on the e-mails, I often get the "Login to server foo.bar failed" (when I click like one -email per 3 seconds everything is fine). My password is okay, so I just press "Cancel". I live with this problem for a really long time, and I can say the this is specific to the TB: it doesn't happen in Outlook. I've read a lot about this, and, besides the mailbox being improperly configured and failing authrization 100% of the time (which is not my case), there's an urban legend that TB uses by default 5 concurrent connections to the IMAP server (and this part is true), while cyrus permits less. But the thing is, even with 1 connecton configured in TB (in advanced settings), I still get this error when clicking messages fast. No errors are logged on the cyrus side, just the normal log stating that I was allowed to examine my mailbox. Is there any way to get rid of these boring messages ? Cyrus ML may not be the correct place to ask for this, but BT/Mozilla community just gives me futile answers like "are you sure you type your passwords right" and so on. Interesting, I've never seen this problem over the years. Are there firewall rules active on the cyrus-imapd host? Probably limiting connection rate? Regards, Simon Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Mit freundlichen Grüßen, Peer-Joachim Koch ____ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Mailbox administration in cyrus
Hi, I have admin (cyrus) rights on the mailbox. The solution in this case is a dm user.USERNAME.* this seems to remove everything from user USERNAME without the risk deleting some similar named user (...USERNAME* can cause some trouble). Thanks, Peer On 21.06.2017 17:03, Patrick Boutilier wrote: On 06/21/2017 10:42 AM, Dr. Peer-Joachim Koch wrote: Hi Michael, On 21.06.2017 15:28, Michael Menge wrote: Hi, Quoting "Dr. Peer-Joachim Koch" <pk...@bgc-jena.mpg.de>: Hi, is there an esay way to remove ALL mailboxes of an user ? I did not find any info about something like dm -r user.OLDUSER in cyradm dm user.OLDUSER should delete the user (all mailboxes and sievscripts), at least since cyrus 2.3 which version of cyrus are you using? we are using cyrus 2.4.18 (SLES 12 SP2) removing every folder within OLDUSER and OLDUSER as well. No, not at our system. I did dm user.TESTUSER # all users have SPAM,Sent,Drafts as default mailboxes After this command, the mailbox TESTUSER was removed, but user.TESTUSER.{SPAM,Sent,Drafts} exist (in cyrus and on the filesystem). No idea, what happens if I use a wildcard ... Does the user you logged in to cyradm with have rights to delete the mailboxes that are not getting deleted? Might have to do this first: sam user.TESTUSER lrswipdca Thanks and bye, Peer also you can use wildcards in cyradm Grüße aus Tübingen Michael M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Mit freundlichem Grüßen, Peer-Joachim Koch Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Mailbox administration in cyrus
Hi Michael, On 21.06.2017 15:28, Michael Menge wrote: Hi, Quoting "Dr. Peer-Joachim Koch" <pk...@bgc-jena.mpg.de>: Hi, is there an esay way to remove ALL mailboxes of an user ? I did not find any info about something like dm -r user.OLDUSER in cyradm dm user.OLDUSER should delete the user (all mailboxes and sievscripts), at least since cyrus 2.3 which version of cyrus are you using? we are using cyrus 2.4.18 (SLES 12 SP2) removing every folder within OLDUSER and OLDUSER as well. No, not at our system. I did dm user.TESTUSER # all users have SPAM,Sent,Drafts as default mailboxes After this command, the mailbox TESTUSER was removed, but user.TESTUSER.{SPAM,Sent,Drafts} exist (in cyrus and on the filesystem). No idea, what happens if I use a wildcard ... Thanks and bye, Peer also you can use wildcards in cyradm Grüße aus Tübingen Michael M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Mit freundlichem Grüßen, Peer-Joachim Koch Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Mailbox administration in cyrus
Hi, is there an esay way to remove ALL mailboxes of an user ? I did not find any info about something like dm -r user.OLDUSER removing every folder within OLDUSER and OLDUSER as well. How can I remove an old user with all mailboxes ? -- Thanks and bye, Peer Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Problems upgrading cyrus (2.1 -> 2.4) - what about sieve
Hi, I am preparing an update of an old mail server. The mailboxes and mails are no the problem. This seems to be easy. But how can I transfer the sieve scripts ? However I can write a script using sieve shell and import all ~100 scripts for the users, but maybe there is a more simpler solution ? A second sieve question : A script is running at night syncing the mailboxes, seen and subscribe files (between old an new server). Yesterday I imported my own sieve script on the new server. Today (after the update at night) the sieve script was gone. Where are the information about the sieve scripts stored ? -- Bye, Peer Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705 smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus