Re: Problems with 2.2.10 on HPUX 11i
I should have said that changing to skiplist did not help--we had to revert back to 2.0.16 after one (very bad) day at 2.2.10, and that was a day that the University was not in session. c* - Original Message - From: "info-cyrus -- Amos Gouaux" <[EMAIL PROTECTED]> To: "Connie Starr Fensky" <[EMAIL PROTECTED]> Cc: Sent: Monday, January 03, 2005 6:17 PM Subject: Re: Problems with 2.2.10 on HPUX 11i Connie Starr Fensky wrote: *I've just upgraded to imap 2.2.10 (with sasl 2.1.10) on my 11i mail server. I did this on a test box, but could not simulate our load (several thousand connections, ~8 messages delivered a day), and had no troubles. But, of course, putting on the mail server and starting up, performance is abhorrent. I'm running 100% cpu utilization AND memory utilization all of the time, which make the whole system sluggish and the users grumpy. All my fault, and I need to fix it yesterday. * * I have a pretty basic system--same as can be to my old 2.0.16 one that ran like a dream. Does anyone have any ideas for me--here is configure script: # csf 12/13/04 This is the command I used for configure CC=/opt/ansic/bin/cc CFLAGS='-g +DAportable +z' LDFLAGS='-L/usr/local5/db-3.3.11/lib -L/usr/local5/lib -L/usr/local/lib' LIBS=-lpthread ./configure -with-auth=unix --with-cyrus-prefix=/usr/local5 --prefix=/usr/local5 --with-sasl=/usr/local5/cyrus-sasl-2.1.20/ --with-dbdir=/usr/local5/db-3.3.11 --with-bdb-libdir=/usr/local5/db-3.3.11/lib --with-bdb-incdir=/usr/local5/db-3.3.11/include --with-lock=fcntl --with-mboxlist-db=flat Holy Moly. A flat mboxlist? Yeah, that'll be slow. Any chance you can upgrade that to skiplist? I don't know if that'll resolve all issues, but I should think that would help considerably Amos --- 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: Problems with 2.2.10 on HPUX 11i
This was not an I/O bottleneck according to all of my tools--nothing is maxed out while ctl_cyrusdb is running, it just takes forever. c* - Original Message - From: "Jure Pe_ar" <[EMAIL PROTECTED]> To: "Connie Starr Fensky" <[EMAIL PROTECTED]> Sent: Monday, January 03, 2005 5:46 PM Subject: Re: Problems with 2.2.10 on HPUX 11i On Mon, 3 Jan 2005 14:56:38 -0600 "Connie Starr Fensky" <[EMAIL PROTECTED]> wrote: By the way, it takes almost two hours to finish ctl_cyrusdb -r, and it seems like it is hanging, because if I kill that process, master starts for a split second. This alone sounds like you have a serious i/o bottleneck. What kind of storage do you have on this box? Can you analyze the situation with iostat and similiar tools? -- Jure Pečar http://jure.pecar.org/ --- 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: Problems with 2.2.10 on HPUX 11i
I accept any and all suggestions, although I've just been told to GO BACK, YOUNG WOMAN! So, I'll be reverting to 2.0.16 tonight. But the top processes are imapd and lmtpd (there are LOTS of lmtps, like 50 or more, and 1500+ imaps) c* - Original Message - From: John Wade To: Connie Starr Fensky Cc: info-cyrus@lists.andrew.cmu.edu Sent: Monday, January 03, 2005 5:01 PM Subject: Re: Problems with 2.2.10 on HPUX 11i Hi Connie, I know this falls in the obvious category and you probably already checked this, but what log level are you using? (/etc/syslog.conf) At debug, we have found that at our moderate load (300 simultaneous users) on linux, the CPU usage of syslogd is very high. What does top or (glance if you have it) show as the processes using the CPU? Hope this helps, John Connie Starr Fensky wrote: I've just upgraded to imap 2.2.10 (with sasl 2.1.10) on my 11i mail server. I did this on a test box, but could not simulate our load (several thousand connections, ~8 messages delivered a day), and had no troubles. But, of course, putting on the mail server and starting up, performance is abhorrent. I'm running 100% cpu utilization AND memory utilization all of the time, which make the whole system sluggish and the users grumpy. All my fault, and I need to fix it yesterday. I have a pretty basic system--same as can be to my old 2.0.16 one that ran like a dream.Does anyone have any ideas for me--here is configure script:# csf 12/13/04 This is the command I used for configure CC=/opt/ansic/bin/cc CFLAGS='-g +DAportable +z' LDFLAGS='-L/usr/local5/db-3.3.11/lib-L/usr/local5/lib -L/usr/local/lib' LIBS=-lpthread ./configure -with-auth=unix--with-cyrus-prefix=/usr/local5 --prefix=/usr/local5 --with-sasl=/usr/local5/cyrus-sasl-2.1.20/--with-dbdir=/usr/local5/db-3.3.11 --with-bdb-libdir=/usr/local5/db-3.3.11/lib--with-bdb-incdir=/usr/local5/db-3.3.11/include --with-lock=fcntl --with-mboxlist-db=flat--with-openssl=/usr/local5 --disable-sieve --disable-gssapiand imapd.confallowusermoves: 1 configdirectory: /var/imap mboxlist_db: skiplist partition-default: /var/cyrus1 partition-cyrus2: /var/cyrus2 partition-cyrus3: /var/cyrus3 partition-cyrus4: /var/cyrus4 partition-cyrus5: /var/cyrus5 partition-cyrusf: /var/cyrusf partition-cyrus6: /var/cyrus6 admins: cyrus sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN seenstate_db: flat duplicatesuppression: 0 foolstupidclients: 1 lmtp_admins: root sendmail: /usr/sbin/sendmail #sieveusehomedir: 1 tls_require_cert: 0 tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pemand cyrus.conf--had to lmtp -a just to get any messages to deliver, and just made changes to maxchild, prefork to try to improve perf.By the way, it takes almost two hours to finish ctl_cyrusdb -r, and it seems like it is hanging, because if I kill that process, master starts for a split second. # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE # idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=9 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 # sieve cmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntps cmd="nntpd -s" listen="nntps" prefork=0 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd -a" listen="/var/imap/socket/lmtp" prefork=5 maxchild =9 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate deliver
Problems with 2.2.10 on HPUX 11i
I've just upgraded to imap 2.2.10 (with sasl 2.1.10) on my 11i mail server. I did this on a test box, but could not simulate our load (several thousand connections, ~8 messages delivered a day), and had no troubles. But, of course, putting on the mail server and starting up, performance is abhorrent. I'm running 100% cpu utilization AND memory utilization all of the time, which make the whole system sluggish and the users grumpy. All my fault, and I need to fix it yesterday. I have a pretty basic system--same as can be to my old 2.0.16 one that ran like a dream. Does anyone have any ideas for me--here is configure script: # csf 12/13/04 This is the command I used for configureCC=/opt/ansic/bin/cc CFLAGS='-g +DAportable +z' LDFLAGS='-L/usr/local5/db-3.3.11/lib -L/usr/local5/lib -L/usr/local/lib' LIBS=-lpthread ./configure -with-auth=unix --with-cyrus-prefix=/usr/local5 --prefix=/usr/local5 --with-sasl=/usr/local5/cyrus-sasl-2.1.20/ --with-dbdir=/usr/local5/db-3.3.11 --with-bdb-libdir=/usr/local5/db-3.3.11/lib --with-bdb-incdir=/usr/local5/db-3.3.11/include --with-lock=fcntl --with-mboxlist-db=flat --with-openssl=/usr/local5 --disable-sieve --disable-gssapi and imapd.conf allowusermoves: 1configdirectory: /var/imapmboxlist_db: skiplistpartition-default: /var/cyrus1partition-cyrus2: /var/cyrus2partition-cyrus3: /var/cyrus3partition-cyrus4: /var/cyrus4partition-cyrus5: /var/cyrus5partition-cyrusf: /var/cyrusfpartition-cyrus6: /var/cyrus6admins: cyrussasl_pwcheck_method: saslauthdsasl_mech_list: PLAIN LOGINseenstate_db: flatduplicatesuppression: 0foolstupidclients: 1lmtp_admins: rootsendmail: /usr/sbin/sendmail#sieveusehomedir: 1tls_require_cert: 0tls_cert_file: /var/imap/server.pemtls_key_file: /var/imap/server.pem and cyrus.conf--had to lmtp -a just to get any messages to deliver, and just made changes to maxchild, prefork to try to improve perf. By the way, it takes almost two hours to finish ctl_cyrusdb -r, and it seems like it is hanging, because if I kill that process, master starts for a split second. # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE# idled cmd="idled"} # UNIX sockets start with a slash and are put into /var/imap/socketSERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=9 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0# sieve cmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP# nntp cmd="nntpd" listen="nntp" prefork=0# nntps cmd="nntpd -s" listen="nntps" prefork=0 # at least one LMTP is required for delivery# lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd -a" listen="/var/imap/socket/lmtp" prefork=5 maxchild=9 # this is only necessary if using notifications# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1} EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP# delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions# tlsprune cmd="tls_prune" at=0400} Thanks for any help! As usual, I'm under the gun... c* Connie FenskyE-mail/Frank Systems AdministratorInformation Technology Division904-8559
Re: ctl_mboxlist -u ?
If I recall there is a tab at the end of the line, too. Did someone already answer this, and I just missed it!? Sorry it took me so long... Just too busy to read the list everyday (or even every week) Merry Christmas! c* - Original Message - From: "Joe Hrbek" <[EMAIL PROTECTED]> To: "Info-Cyrus" <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 11:49 AM Subject: ctl_mboxlist -u ? > Hi everyone! > > I'm trying to write a bash script (just out of curiosity) that will harvest > usernames from the cyrus spool directory and then write the output to a file > in a similar manner that ctl_mboxlist -d would. Below are my results thus > far. Aside from the formatting, I see no difference in the output, however, > when I try to do a ctl_mboxlist -u on the file I generated it bails on each > line with an error: no partition found. (see below) > > Result from ctl_mboxlist -d > newmail: > user.bkieffer^foo^com default bkieffer.foo.comlrswipcda > cyrus lrswipcda > user.bloberg^foo^comdefault bloberg.foo.com lrswipcda > cyrus lrswipcda > user.bpruett^foo^comdefault bpruett.foo.com lrswipcda > cyrus lrswipcda > user.bspringer^foo^com default bspringer.foo.com lrswipcda > cyrus lrswipcda > > Result from a bash script that harvests directory names: > user.bboggess^foo^com default bboggess.foo.com lrswipcda cyrus lrswipcda > user.bdaniel^foo^com default bdaniel.foo.com lrswipcda cyrus lrswipcda > user.bfleming^foo^com default bfleming.foo.com lrswipcda cyrus lrswipcda > user.bgordon^foo^com default bgordon.foo.com lrswipcda cyrus lrswipcda > And my error after I run ctl_mboxlist -u: > > line 1: no partition found > line 2: no partition found > line 3: no partition found > line 4: no partition found > ..etc > > Certainly the formatting can't be causing this. I see no difference in the > information in these two files either. Am I missing some special character > or some mystery something or other? I'm at a loss. Ideas? Anyone? > > Thanks, > > -joe > > PS, here is my bash script. It's still a work in progress and is based off > a script (by E M Recio) I found on the cyrus list. E Recio had "<\t>" in his > script but I took it out b/c it didn't seem to matter, the ctl_mboxlist -u > fails regardless of its presence. I left them in this version though so you > could see what I am talking about. BTW, I'm not very good with bash scripts, > so be kind. :) > > Here is the script: > > #!/bin/bash > # > # Requires: valid cyrus spool directory > # sudo (to run as cyrus, or similiar appropriate user) > # > # Result: reads the spool directory and creates a text version > # that can be imported to the mailboxes.db file using > # ctl_mboxlist. > # Notes: > # The directory structure on my system is a/user/auser, b/user/buser, > c/user/cuser > # If your directory structure is not like this, EG, it may be > # /var/spool/imap/user and all the usernames are in one spot > # (var/spool/imap/user/auser), then you will have to make some changes. > # > # Credit: original script obtained from E M Recio . > Modified > # by Joe Hrbek . > # > # > # > > # Path to cyrus utilities > # Change as needed > util=/usr/lib/cyrus-imapd > > # Path to cyrus spool > # Change as needed > spool=/var/spool/imap > > # ACL super user (should be cyrus) > # Change as needed > acluser=cyrus > > # Replace next line with however you stop cyrus > # ie: killall master etc etc. > #/etc/rc.d/init.d/cyrus-imapd stop > > # Verify this path, change as needed > # This will save your existing mailboxes.db file (if you have one) > #mv /var/lib/imap/mailboxes.db /var/lib/imap/mailboxes.db.$$ > > # Change to the imap spool directory > cd $spool > > # Clean-up > if [ -f /tmp/newmboxlist.txt ] > then > rm -f /tmp/newmboxlist.txt > fi > > # Tracking variables > messages=0 > users=0 > subfolders=0 > > # Build our new mailbox file > > for i in `ls` > do > if [ -d $i/user ] > then >for j in `ls $i/user` > do > echo > "user.$j<\t>default<\t>${j//^/.}<\t>lrswipcda<\t>$acluser<\t>lrswipcda" > >>/tmp/newmboxlist.txt > : $[users++] > for k in `ls $i/user/$j` >do > if [ -d $spool/$i/user/$j/$k ] > then > echo "message folder found, saving: $k" > echo > "user.$j.$k<\t>default<\t>${j//^/.}<\t>lrswipcda<\t>$acluser<\t>lrswipcda" > >>/tmp/newmboxlist.txt > : $[subfolders++] > else > echo "email message, skipping: $k" > : $[messages++] > fi > done >done > fi > done > > # > # Now we have everyone's base directory in /tmp/newmboxlist.txt, do: > # > > #chown $acluser /tmp/newmboxlist.txt > #sudo -u $acluser $util/ctl_mboxlist -u > # and then: > > #for i in `ls` > # do > # if [ -d $i/user ] > # then > #for j in `ls $i/user` > # do > # sudo -u $acluser $util/reconstruct -rf user.$i > # done > # fi >
Re: Re[4]: Cyrus IMAP question.
Right, but then did you go in with cyradm (or some other method) and create the mailboxes: for instance cyradm>cm user.denis c* - Original Message - From: "Denis V. Suhanov" <[EMAIL PROTECTED]> To: "Connie Starr Fensky" <[EMAIL PROTECTED]> Cc: "cyrus info" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 4:08 PM Subject: Re[4]: Cyrus IMAP question. > Hello Connie, > > CSF> It sounds like it cannot find the mailbox where it wants to--in the > CSF> /var/cyrus/partition/users/ directory. Did you create the > CSF> mailboxes? > CSF> c* > > The path is correct and I have created the mailboxes. I used this > mini-FAQpageas a reference > (http://www.abstrakt.ch/unix/MINI-HOWTO-openbsd-cyrus.html) because I > am using OpenBSD. This is how I created the partition and other > folders: > > mkdir -p /var/cyrus/partition /varcyrus/imap /var/cyrus/sieve > chown -R cyrus.mail /varcyrus/* > chmod 750 /var/cyrus/imap > chmod 750 /var/cyrus/sieve > ln -s /var/cyrus/imap /var/imap > ln -s /var/cyrus/sieve /var/sieve > ln -s /var/cyrus/partition /var/spool/imap > > su cyrus > tools/mkimap > exit > > I also verifyed the access rights and they seem to be fine (cyrus:mail > access only to the /var/cyrus and below). Master daemon is started as > user cyrus, too. > > > -- > Best regards, > Denismailto:[EMAIL PROTECTED] > > >
Re: Re[2]: Cyrus IMAP question.
It sounds like it cannot find the mailbox where it wants to--in the /var/cyrus/partition/users/ directory. Did you create the mailboxes? c* - Original Message - From: "Denis V. Suhanov" <[EMAIL PROTECTED]> To: "Andrew Morgan" <[EMAIL PROTECTED]> Cc: "cyrus info" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 3:45 PM Subject: Re[2]: Cyrus IMAP question. > Hello Andrew, > > AM> What you see as the Cyrus admin is a little different that what an IMAP > AM> user sees. "user.test" is the Inbox folder, but user's access it as > AM> "INBOX". Unless you have set altnamespace: yes in your imapd.conf file, > AM> you should set your Root Folder Path to "INBOX." (note the period after > AM> INBOX). > I tried the "INBOX.", but even with the period after INBOX, I receive > the same message in M$ Outlook Express ("your specified Root Folder of > 'INBOX' could not neither be found nor created..."). With Mozilla > Thunderbird, I just see nothing (no error message, no folders, no > messages). So the presence of the period did not change anything. > > >> I am trying to manually create an inbox folder for users, something > >> like 'cm user.test.INBOX' and try to deliver one's main to this > >> manually created folder. This is to put all the folder (Sent Items, > >> Drafts etc) under the same 'user.test' and make it look good. I tried > >> to find something on the Net but failed. Is there a way for me to > AM> "user.test" is the INBOX, as seen from the admin viewpoint. Mail > AM> delivered to user "test" will go into that mailbox. Subfolders would be > AM> "user.test.subfolder" from the admin viewpoint and "INBOX.subfolder" from > AM> the user viewpoint. > > But in the mail clients, they usually have something like "Inbox", > "Sent Items", "Drafts" etc located under the same root. So by creating > additional folder named 'Inbox' manually under user's INBOX (which is > user.username), I tried to make it work without having user.username > in my mail clients (which is not just sort of ugly, but also prevent > the clients from being able to store appropriate messages on server). > Is is a wrong approach? > > Most likely it is somewhat stupid I've done, but I really can not > realize what that is. Also, as I mentioned in the previos "cry for > help" message, I am unable to get a pop3 connection. The error message > is > > !18.09.2003, 13:35:06: FETCH - Server reports error. The response is: > -ERR [SYS/PERM] Unable to open maildrop > > that makes me suspect that the problem of invalid (from client's view) > INBOXes is somewhat related to the pop3 as well. I am reallyl confused > now and have no slightest clue what to do further. > > here is my imapd.conf: > > configdirectory: /var/cyrus/imap > partition-default: /var/cyrus/partition > admins: cyrus > allowanonymouslogin: no > sasl_pwcheck_method: auxprop > sasl_auxprop_plugin: sasldb > sasl_mech_list: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN > sendmail: /usr/sbin/sendmail > sievedir: /var/cyrus/sieve > tls_ca_file: /var/cyrus/imap/server.pem > tls_cert_file: /var/cyrus/imap/server.pem > tls_key_file: /var/cyrus/imap/server.pem > > and cyrusd.conf: > > # standard standalone server implementation > START { > # do not delete this entry! > recover cmd="ctl_cyrusdb -r" > > # this is only necessary if using idled for IMAP IDLE > idled cmd="idled" > } > > # UNIX sockets start with a slash and are put into /var/cyrus/imap/sockets > SERVICES { > # add or remove based on preferences > imap cmd="imapd" listen="imap" prefork=5 > imaps cmd="imapd -s" listen="imaps" prefork=5 > pop3 cmd="pop3d" listen="pop3" prefork=5 > pop3s cmd="pop3d -s" listen="pop3s" prefork=5 > # sieve cmd="timsieved" listen="sieve" prefork=0 > > # at least one LMTP is required for delivery > # lmtp cmd="lmtpd" listen="lmtp" prefork=0 > lmtpunix cmd="lmtpd" listen="/var/cyrus/imap/socket/lmtp" prefork=1 > > # this is only necessary if using notifications > # notify cmd="notifyd" listen="/var/cyrus/imap/socket/notify" proto="udp" > prefork=1 > } > > EVENTS { > # this is required > checkpointcmd="ctl_cyrusdb -c" period=30 > > # this is only necessary if using duplicate delivery suppression > delprune cmd="ctl_deliver -E 3" at=0400 > > # this is only necessary if caching TLS sessions > tlsprune cmd="tls_prune" at=0400 > } > > > Thanks a lot for your help guys. I am really getting close to give up, > set pop3a back and never use IMAP anymore :) > > -- > Best regards, > Denismailto:[EMAIL PROTECTED] > > >
Re: folder cleanup
Use ipurge. You should have a man page for it. c* - Original Message - From: "Brasseur Valéry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 11:04 AM Subject: folder cleanup > I would like to know if there is a way to delete mail in a folder that are older than x days ? > > thanks > valery > > >
Re: Outlook Express/Message No Longer Available
I agree, that you cannot tell your customers which clients to use! They are usually set in their ways... Can you not put a document on your web site that tells the customers these instructions? I know that customers are usually not able to read ;-), but it is worth a try! We've put it in our knowledge base, here. c* - Original Message - From: David Hearn Cc: Cyrus Sent: Thursday, August 21, 2003 4:49 PM Subject: Re: Outlook Express/Message No Longer Available Thanks - I already knew that, and also you can drag the message to another folder, move it back again and then purge it from both folders and it'll be okay again. Must better than re-downloading a whole inbox again (300MB for me). Also, this only happens when you have Headers Only synchronisation. Anyway - with a company of 40 users, I don't want to have to keep manning the phones when they call up to sort this out... ;) thankfully most use POP3 - but I'd hate to think what might happen when the userbase gets into the 100's or 1,000's. And don't say "Use a non-broken IMAP client" - I can't force clients onto people sadly. Thanks though for your time. D ----- Original Message - From: Connie Starr Fensky To: David Hearn Cc: Cyrus Sent: Thursday, August 21, 2003 6:10 PM Subject: Re: Outlook Express/Message No Longer Available Right click on the server, pick Properties. Click on the Local File tab. Pick Remove Messages button, then the Delete button, then the Compact button. (This might be overkill, but it is what we do). Then click OK and have the messages downloaded again. This seems to work every time. c* - Original Message - From: David Hearn To: Cyrus Sent: Thursday, August 21, 2003 9:23 AM Subject: Outlook Express/Message No Longer Available It seems that I keep experiencing the bug with OE where if I have "headers only" synchronisation, and I click on the new email within about 10 seconds of the email arriving, the message does not display, is shown as read, marked as deleted (but won't purge) and I get a message saying "Message is no longer available on the server". From what I've read, this is a bug in OE - but I have heard of there being 'fixes' in other servers to work around this. Does anyone know if there is a fix/work around for this in Cyrus (preferably a configurable option rather than a source code patch as I use pre-compiled .debs) - or whether there's a planned work-around in the wings? Thanks David Hearn
Re: Outlook Express/Message No Longer Available
Right click on the server, pick Properties. Click on the Local File tab. Pick Remove Messages button, then the Delete button, then the Compact button. (This might be overkill, but it is what we do). Then click OK and have the messages downloaded again. This seems to work every time. c* - Original Message - From: David Hearn To: Cyrus Sent: Thursday, August 21, 2003 9:23 AM Subject: Outlook Express/Message No Longer Available It seems that I keep experiencing the bug with OE where if I have "headers only" synchronisation, and I click on the new email within about 10 seconds of the email arriving, the message does not display, is shown as read, marked as deleted (but won't purge) and I get a message saying "Message is no longer available on the server". From what I've read, this is a bug in OE - but I have heard of there being 'fixes' in other servers to work around this. Does anyone know if there is a fix/work around for this in Cyrus (preferably a configurable option rather than a source code patch as I use pre-compiled .debs) - or whether there's a planned work-around in the wings? Thanks David Hearn
Re: Can't delete a mailbox
Cyrus does not automatically have delete permission, you must add it with a sam command before you may delete a mailbox. c* - Original Message - From: "Gregory Chagnon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 9:39 AM Subject: Can't delete a mailbox > Hi- > I'm having a problem deleting a Cyrus mailbox. Here is what happens: > > [root@Lunar]:/home/gchagnon> su mail.admin > bash-2.05b$ cyradm localhost > IMAP Password: > Lunar> cm testmailbox > Lunar> dm testmailbox > deletemailbox: Permission denied > Lunar> > > > mail.admin exists in my ldap database. Thanks for any help! > -Greg > > _ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > >
Re: Problem with cyrus and deleting a message with a virus.
We run Interscan VirusWall--it only deleted the infected attachment, and leaves the message intact (with a note inside telling the user that the attachment was deleted). This makes for some confusion (the user still wants the attachment, thinking it is real mail, and not just a virus. That seems to be a hard concept), but leaves cyrus unaffected. Are there any viruses that infect the whole message? I cannot think of any, maybe you can modify the uvscan program to just delete the attachment, instead of the whole message? c* - Original Message - From: "Mark London" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 3:07 PM Subject: Problem with cyrus and deleting a message with a virus. > Hi - We are running uvscan, and it will delete a cyrus message file that > contains a virus. Of course, cyrus doesn't know that the message is deleted, > so it still shows that message, albeit it shows up as being from Unknown with > (no subject). The problem is that this message can't be deleted, no matter > what method the user tries. The only solution we have found is to replace the > deleted message with a dummy file, and then it can be deleted. We can't be > the only one having this problem. Do other people run virus scanning > software, like uvscan, on their server? Thanks. - Mark > >
Re: Slow LIST command
I got skiplist to work temporarily on my HP-UX 11.0 development box by commenting out the code that searches through the entire mailboxes.db file for the user you are trying to delete (having permissions on someone else's mailbox, that is). Then, the little testing I did worked great. In our school, very few people use Mulberry, which is the only client I know of that will allow you to give someone else permission to your mailbox, so taking care of the lurking permissions by hand with cyradm is much quicker and more efficient! c* - Original Message - From: "Mika Iisakkila" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 12:54 PM Subject: Re: Slow LIST command > Rob Siemborski wrote: > [skiplist] > > No, it doesn't have a specific in-core cache, it relies on the filesystem > > cache alone (it mmap()s the db file and uses that directly). > > Can you tell offhand if it does any of the mmap() stuff that's a no-no > on HP-UX platform (eg. same process mapping two overlapping areas, or accessing > the files directly while something is mmapped)? > > I had to stay with Berkeley on HP-UX since skiplist became unusably slow > with map_nommap. Curiously, at first it seemed to run just great, but deleting > an entire user took ages. I was just thinking if it was worthwhile to try > making skiplist code use the real mmap() and have the rest of Cyrus still > using map_nommap, since I know that part not to work otherwise. > > --mika > > >
Re: mmap() on HP-UX 11
11i still does not support it correctly. I've just upgraded to 11i on a dedicated rp7400 (our mail has loaded our V2600 so much, it cannot support all of the users anymore), and HP hemmed and hawed, and finally said they MAY look into it in 11.2. (We threatened to stop using HP altogether if they couldn't support our e-mail server loads). I've always had to use flatfile for the mailboxed.db with HP--Berkeley could never keep up with the load, I have about 121000 mailboxes, but when I started administering Cyrus on the V-box ~1/01, we had around 8 and it was on flatfile then, too. We tried upgrading to a cyrus that supported skiplist, but had some other problems, and had to revert to flat files. So, the bottom answer is, no, 11i still does not support cyrus' mmap. c* - Original Message - From: "Mika Iisakkila" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 10:27 AM Subject: mmap() on HP-UX 11 > Does anyone know what the current status on using mmap() on HP-UX is? > Cyrus documentation only mentions HP-UX 9 and 10 as not working (probably > because that chapter is just old) but I think 11.11 is supposed to be > greatly improved in this area. > > Cyrus 2.0.16 has been running just fine with no_mmap, though; the > reason I'm asking is that I tried getting rid of BDB (a general > nuisance) during an 2.1 upgrade, but skiplist is unusably slow > without mmap(). With some 5 mailboxes, initial startup took over > an hour, and deleting a user kept that particular imapd spinning for > over 30 minutes of CPU time! I'm not quite sure where the problem was > since deleting sub-mailboxes (user.account.mailbox) worked quite > snappy; however, after I reverted to DB 4.1 as the mailbox database > backend, all was back to normal. > > If no-one has tried this on 11.11, I probably will, but what > are the problems I should look for, and what kind of usage would > trigger them? > > --mika > > >
Re: User account - permission denied
You have to have c permission to delete the user. So, do a sam first, like this: localhost> sam user.fcuell cyrus all where cyrus is your administrator. This gives user cyrus permission to do anything he/she wants to the mailbox. Then, localhost> dm user.fcuell should work fine. c* - Original Message - From: "Felix Cuello" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 4:19 PM Subject: User account - permission denied > Hello, > >I'm actually migrating my old cyrus users from a cyrus 2.0.16 to a new > cyrus 2.1.9. > >I've created an account without any permissions... just > >$ cyradm --user cyrus localhost >localhost> cm user.fcuell >localhost> quit > >And then copy all contents of: > >/var/spool/imap/user/fcuell to /var/spool/imap/user/fcuell >/var/imap/quota/user.fcuell to /var/imap/quota/f/user.fcuell > >All works fine... except when I tried to delete this mailbox... and > here you hare the stdout :\ > > [root@sinclair /]# cyradm --user cyrus localhost > IMAP Password: > localhost> lm > user.fcuell (\HasNoChildren) > localhost> dm user.fcuell > deletemailbox: Permission denied > localhost> > > > > I tried to delete all folders that contains user.fcuell information, but > when I restart cyrus user.fcuell is still alive... > > What can I do? > > thanks a lot > > Felix > > > > >
Re: Problems with IMAPS and POPS
It should be in /master/conf directory of distribution. I use normal.conf, and just copy it to my /etc directory as cyrus.conf. Does this help? c* - Original Message - From: "Felix Cuello" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 30, 2002 3:09 PM Subject: Re: Problems with IMAPS and POPS > Were Can I find the newest and most generic cyrus.conf or/and > documentation to make cyrus.conf from scratch > > Thanks > > Felix > > --- > Felix Cuello > [EMAIL PROTECTED] > > Qodiga/its > http://www.qodiga.com > Santa Fe 882 - Piso 13 - Of."E" > Buenos Aires, ARGENTINA > > > > > First of all, it looks like you did not update your cyrus.conf from a > > 2.0 version. That is the cause of the ctl_mboxlist vs ctl_cyrusdb error > > message in the log. > > > > Sorry, I cannot help with the secure shell part. > > c* > > > > >
Re: Problems with IMAPS and POPS
First of all, it looks like you did not update your cyrus.conf from a 2.0 version. That is the cause of the ctl_mboxlist vs ctl_cyrusdb error message in the log. Sorry, I cannot help with the secure shell part. c* - Original Message - From: "Felix Cuello" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 30, 2002 2:26 PM Subject: Problems with IMAPS and POPS > > Hello! > > I'm actually using Cyrus 2.1.8 with SASL 2.1.7, and I have some > problems to config my Cyrus to accept SSL connections. > > Here is my 3 first lines of "netstat -at" > > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp0 0 *:imaps *:* LISTEN > tcp0 0 *:pop3s *:* LISTEN > -- > > And my "/usr/local/etc/saslauhtd.conf" > > ldap_servers: ldap://upsoluciones.palermo.edu/ > ldap_bind_dn: uid=cyrus,ou=people,dc=palermo,dc=edu > ldap_bind_pw: > ldap_search_base: ou=people,dc=palermo,dc=edu > ldap_tls_check_peer: yes > ldap_tls_cacert_file: palermoca.pem > ldap_tls_cacert_dir: /usr/share/ssl/certs/ > > > > Changing 2 last lines for this lines... > > ldap_tls_cacert_file: /usr/share/ssl/certs/palermoca.pem > #ldap_tls_cacert_dir: /usr/share/ssl/certs/ > > I have the same problem... IMAP&POP works fine, but IMAPS&POPS not. > > > > "/var/log/errors" shows this: > > Oct 2 13:09:00 upsoluciones su(pam_unix)[12631]: session closed for user > root > Oct 2 13:09:33 upsoluciones su(pam_unix)[12740]: session opened for user > root by felix(uid=500) > Oct 2 13:12:58 upsoluciones su(pam_unix)[12740]: session closed for user > root > Oct 2 13:18:05 upsoluciones su(pam_unix)[12841]: session opened for user > root by felix(uid=500) > Oct 2 13:20:23 upsoluciones ctl_mboxlist: ctl_mboxlist -c is deprecated: > use ctl_cyrusdb -c instead^H > Oct 2 13:20:24 upsoluciones ctl_mboxlist[12882]: checkpointing mboxlist > > - > > What's wrong??, I'm actually using Netscape 4.79 (for Linux) to check POPS > mail, and Netscape run in the machine that I'm running LDAP, CYRUS and > SASL. > > [Yes I know... my computer date is wrong :-)] > > > Can you help me? > > thanks a lot, > > and sorry for my poor english, > > > Felix > > > > >