Re: Cyrus replication problems
Thanks! I remove the line syncserver cmd=/usr/cyrus/bin/sync_server listen=csync from my cyrus.conf then i try to sync manually, it doesn't sync anything. If i make as cyrus a sync_client -u -v i will see on the replica : Imapreplica syncserver[1185]: login: [10.1.45.3] cyrus DIGEST-MD5 User logged in So it seems to talk between my two servers. But nothing is synchronize ... But on my master, i get nothing on the var/log/messages ... Sometimes and i do not know how, i get on the master : Feb 27 17:58:02 imaptest sync_client[1109]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:02 imaptest sync_client[1109]: Error in do_mailboxes(): bailing out! Feb 27 17:58:16 imaptest sync_client[]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:16 imaptest sync_client[]: Error in do_mailboxes(): bailing out! Feb 27 17:58:22 imaptest sync_client[1112]: CREATE received BAD response: Missing required argument to Create Feb 27 17:58:22 imaptest sync_client[1112]: Error in do_mailboxes(): bailing out! I can't reproduce it everytimes... What i would like to do is to synchronize the master on the replica to use the replica as a backup server not High availability. So do i need to make rolling (as i understood, i think no! ?) Do i must put parameters at sync_client -u -v or can it sync every users and mailboxes (with -m) automatically? Can someone helps me please? Thanks a lot! -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 26 Feb 2007 19:25:07 +0300 Objet : Re: Cyrus replication problems On Mon, Feb 26, 2007 at 02:35:05PM +0100, [EMAIL PROTECTED] wrote: I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=41779 You must start sync_client over different script AFTER starting cyrus imapd server. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED] Building Successful Supply Chains - One Solution At A Time. www.oilspace.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 Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! 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
Slow login
Hello, I have a slow login for POP3 and IMAP: Feb 28 14:05:10 mail cyrus/master[11481]: about to exec /usr/lib/cyrus/bin/pop3d Feb 28 14:05:10 mail cyrus/pop3[11481]: executed Feb 28 14:05:10 mail cyrus/pop3[11481]: accepted connection Feb 28 14:05:15 mail cyrus/pop3[11481]: login: [1.2.3.4] wim.zuidveld plaintext User logged in I am using Cyrus with saslauthd, pam, passwd. And for me new: unixhierarchysep: yes When I login from localhost everything is fine. Where will be the problem? What can I try? With regards, Paul van der Vlis. -- http://www.vandervlis.nl/ 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 login
Paul van der Vlis wrote: I have a slow login for POP3 and IMAP: Feb 28 14:05:15 mail cyrus/pop3[11481]: login: [1.2.3.4] Configure your dns lookup properly... -- Teresa 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: Spam filtering / Sieve on bulletinboards
On Tue, Feb 27, 2007 at 08:56:43AM -0600, Chris St. Pierre wrote: On Tue, 27 Feb 2007, Janne Peltonen wrote: So apparently you can sieve mail coming to a bulletin board? How? I just assumed the OP had figured _that_ part out. :) Presumably, though, if the BB system checks for mail to it via POP or IMAP, you could set sieve filters for its account. Er. That's not what I meant. I mean a Cyrus bulletin board, that is, a shared IMAP mailbox that doesn't correspond directly to any user account. ;) --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: Spam filtering / Sieve on bulletinboards
On Tue, Feb 27, 2007 at 07:07:22AM -0800, Ben Poliakoff wrote: Since version 2.2.13 bulletins/shared-folders can be made to evaluate sieve scripts. Configuring these scripts is different in two key ways: - sieve scripts for shared folders must be uploaded into the global namespace, one does this by connecting to the sieve server as a user listed in the 'admins' section in imapd.conf - once the script has been uploaded into the global namespace a shared folder can be configured to use the script via the new 'sieve' mailbox annotation (e.g. in cyradm 'mboxcfg mailbox sieve sieve_script_name) We use this feature a lot these days. Thanks. :) But this means, doesn't it, that a normal user can't install sieve scripts for bulletin boards, even if she has full access for the bulletin board? Or is the way to go to create a collection of different global sieve scripts for bb users to select from? Would there happen to be a Web tool for this purpose? Should I RTFM? ;) (Cyrus' documentation is sparse at some subjects.) --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
Still trying to diagnose xfer failure. Looking for comfirmation of bug.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 v. 2.3.8 . Unified Murder. It is clear from the information below that a receiving server initiated xfer command will fail (LOCALCREATE FAILED on a child of the inbox [LOCALCREATE of the inbox apparently succeeds]) and the location of the mailbox will become out of sync. Subsequent commands against the mailbox from the sending server will be proxied to the receiver (even though the transfer is logged as a failure). The receiver then tries (correctly) to proxy the connection to the server (sender) that should still have the mailbox. This endless loop of proxying causes rapid process spawning which leads to eventual failure to allocate system resources. I am looking for a site to confirm this behavior. I am looking through the relevant code sections now, but I am personally unfamiliar with cyrus-imapd source. Any advice or help would be appreciated. Shawn - --Additional info--- *When using cyradm console on the sender machine issuing the command: xfer user/zweng blaster p0 :* Sender transcript: 11726893483 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID MUPDATE=mupdate://aunty.ccit.arizona.edu/ LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE URLAUTH] User logged in 11726893484 RLIST 1172689348* LIST (\Noselect) / 4 OK Completed (0.000 secs 0 calls) 11726893535 XFER user/zweng blaster p0 11726893545 NO The remote Server(s) denied the operation Sender log: Feb 28 12:02:34 master imap[2276]: Could not move mailbox: user.zweng, failed setting initial quota root Receiver transcript: 1172699821Q01 SETQUOTA {11+} +user/zweng (STORAGE 1) 1172699821Q01 NO [REFERRAL imap://;[EMAIL PROTECTED]/user/zweng] Remote mailbox. 1172699821Q01 LOGOUT 1172699821* BYE LOGOUT received Q01 OK Completed Receiver log: No log entry posted *When using the cyradm console on the receiver machine issuing the command: xfer user/zweng blaster p0 :* Receiver transcript: - -- cyradm Wed Feb 28 15:02:07 2007 11727001273 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID MUPDATE=mupdate://aunty.ccit.arizona.edu/ LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE URLAUTH] User logged in 11727001274 RLIST 1172700127* LIST (\Noselect) / 4 OK Completed (0.000 secs 0 calls) 11727001675 XFER user/zweng blaster p0 11727001675 NO The remote Server(s) denied the operation blaster:/cyrus_config/log/cyradm # cat 8889 - -- cyradm Wed Feb 28 15:02:47 2007 1172700167LC1 LOCALCREATE {20+} user/zweng/old mails p0 1172700167LC1 NO Mailbox already exists 1172700167Q01 LOGOUT 1172700167* BYE LOGOUT received Q01 OK Completed Receiver log: Feb 28 15:02:47 blaster imap[8863]: Could not move mailbox: user.zweng.old mails, LOCALCREATE failed Sender transcript: No transcript posted to logging folder Sender log: No log messages After a receiving server initiated xfer attempt, info command on the mailbox fails. info command initiates rapid imapd process spawning by master and rapid spawning of imapd processes on the receiver to handle remote info command. The sender (who also issues the info command) has thousands of logged transcripts that say only one line (no response from other server): 1172690203PROXY0 GETANNOTATION user/zweng (*) (value.shared) The receiver has thousands of logged transcripts that say only: 1172700559PROXY0 GETANNOTATION user/zweng (*) (value.shared) 1172700663* ANNOTATION user/zweng /vendor/cmu/cyrus-imapd/server (value.shared master.ccit.arizona.edu) PROXY0 OK Completed - -- Shawn Nock (OpenPGP: 0xB64200E1) Unix Systems Group; CCIT University of Arizona nock at email.arizona.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFF5aphbbRzLz6id34RAnI5AJ4r9dcRbxRK66pWPLoZX+DAGqSbQACfYXDK Yo+PIuT0oDi+HX3c3UqULCc= =IsBL -END 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
delivery: Message contains invalid header
Hello. I've got a problem with delivery(1). When I try to use it with exim to place messages to mail boxes I get 'Message contains invalid header' error almost for every message. When I use LMTP transport, cyrus works just fine and deliveries any message. I don't understand what's wrong with headers. Here is one of messages that cyrus-imapd rejected, started with a delivery error message (I've masked emails and IPs): [EMAIL PROTECTED] local delivery failed The following text was generated during the delivery attempt: -- [EMAIL PROTECTED] -- sem.INBOX: Message contains invalid header -- This is a copy of the message, including all the headers. -- Return-path: [EMAIL PROTECTED] Received: from [192.168.1.1] (helo=mail.xxx.ru) by mail.xxx.ru with esmtp (Exim 4.x) id 1HMSPR-000Ihn-Ot for [EMAIL PROTECTED]; Wed, 28 Feb 2007 20:16:09 +0300 Received: from [XXX.XXX.16.199] (helo=[192.168.0.4]) by relay.xxx.ru with esmtpa (Exim 4.x) id 1HMSPS-0006cW-PV for [EMAIL PROTECTED]; Wed, 28 Feb 2007 20:16:10 +0300 Message-ID: [EMAIL PROTECTED] Date: Wed, 28 Feb 2007 20:15:36 +0300 From: Sergey Matveychuk [EMAIL PROTECTED] User-Agent: Thunderbird 1.5.0.9 (X11/20070124) MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: test Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit The problem I got with both 2.3.8 and 2.2.13 versions. I can't find any wrong (non-ASCII) character here. Any hint please? -- Sem. 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: Spam filtering / Sieve on bulletinboards
* Janne Peltonen [EMAIL PROTECTED] [20070228 07:16]: On Tue, Feb 27, 2007 at 07:07:22AM -0800, Ben Poliakoff wrote: Since version 2.2.13 bulletins/shared-folders can be made to evaluate sieve scripts. Configuring these scripts is different in two key ways: - sieve scripts for shared folders must be uploaded into the global namespace, one does this by connecting to the sieve server as a user listed in the 'admins' section in imapd.conf - once the script has been uploaded into the global namespace a shared folder can be configured to use the script via the new 'sieve' mailbox annotation (e.g. in cyradm 'mboxcfg mailbox sieve sieve_script_name) We use this feature a lot these days. Thanks. :) But this means, doesn't it, that a normal user can't install sieve scripts for bulletin boards, even if she has full access for the bulletin board? Or is the way to go to create a collection of different global sieve scripts for bb users to select from? Would there happen to be a Web tool for this purpose? Should I RTFM? ;) (Cyrus' documentation is sparse at some subjects.) Yes it's true, end users can't upload scripts to the global namespace. End users can (given the correct ACL) update the annotation on a shared folder to select a pre-existing sieve script in the global namespace. As far as I know there isn't a widely circulated web UI to do this, one would need to roll one's own using the Cyrus perl modules. Ben 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
reconstruct problem
Hi all, i have migrate a mailserver from mbox to cyrus, thats ok i used a tool that get the mbox and extract the messages into de cyrus but i cant make the reconstruct to index the messages.. how can i solve it? Regards, -- Fabio S. Silva 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: delivery: Message contains invalid header
Sergey Matveychuk wrote: Hello. I've got a problem with delivery(1). When I try to use it with exim to Not delyvery(1), but deliver(8). Sorry, I was hurry. And now I've discovered the behaviour was introduced in 2.3.8. 2.3.7 works fine. -- Sem. 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
vacation not working
Hi All, built a cyrus/postfix/squirelmail server behind dmz with name xyz.foo.bar and during testing vacation worked just fine when using squirlemails vacation filter. But after moving it into the dmz and changing the name to mail.foo.bar vacation stopped working. so the changes are diff ip and diff alias. THe FQN is still xvz.foo.bar and the dns aliases mail.foo.bar to xyz.foo.bar. These changes are reflected in an internal DNS but not an external DNS. The external DNS only lists mail.foo.bar. What is strange is that all other sieve functions work, redirect et all only vacation. To further hamper finding out what is going on, nothing appears in the logs, no failures and nothing is in the postfix queue. It seems that the vacations messages are going to /dev/null. So has anyone else had this problem, and what was their fix? Best Eric 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
Slow lmtpd
Hello We have a cyrus server that runs under heavy load, and a few days ago it started to show a behaviour where its lmtpd processes take a long time to deliver messages sent from postfix. Below is an example of a postfix log message. with the email address removed: Feb 28 17:14:11 mta13 postfix/lmtp[9633]: 63CBA700071C: to=[EMAIL PROTECTED], relay=box2.prv.f3.k8.com.br[10.8.5.49]:2003, conn_use=6, delay=1718, delays=0.15/1118/0/600, dsn=4.4.2, status=deferred (conversation with box2.prv.f3.k8.com.br[10.8.5.49] timed out while sending end of data -- message may be sent more than once) The last field in the delays field shows that the time out occurred after 600s trying to send the message to cyrus. Even when a timeout does not occur, the time for the message to be sent is around 100-300s. We have some other more lightly loaded servers in which the data is sent to lmtpd very quickly, and at any given moment there are only a few lmtpd's running. On the heavily loaded servers, there are always a few thousand lmtpd processes. I've run strace on lmtpd processes on both servers, and I couldn't spot any significative difference in their behaviours. They both run cyrus-imapd 2.2.12. So, I'm looking for some help and suggestions in trying to debug this situation, and maybe some tuning options to for lmtpd, or at least find out why they're taking so long to do complete the message delivery. The load on this server has always been pretty high, but this behaviour only started recently. It has much more mailboxes than the other server, as it mounts its volumes from a large AoE storage device. Thanks in advance, Andre 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
I would suggest starting by reviewing your memory usage (esp. swap) with top and disk usage with iostat -x 3 (part of the sysstat package) More than likely you are running into problems in one of these areas. -Blake Andre Nathan wrote: Hello We have a cyrus server that runs under heavy load, and a few days ago it started to show a behaviour where its lmtpd processes take a long time to deliver messages sent from postfix. Below is an example of a postfix log message. with the email address removed: Feb 28 17:14:11 mta13 postfix/lmtp[9633]: 63CBA700071C: to=[EMAIL PROTECTED], relay=box2.prv.f3.k8.com.br[10.8.5.49]:2003, conn_use=6, delay=1718, delays=0.15/1118/0/600, dsn=4.4.2, status=deferred (conversation with box2.prv.f3.k8.com.br[10.8.5.49] timed out while sending end of data -- message may be sent more than once) The last field in the delays field shows that the time out occurred after 600s trying to send the message to cyrus. Even when a timeout does not occur, the time for the message to be sent is around 100-300s. We have some other more lightly loaded servers in which the data is sent to lmtpd very quickly, and at any given moment there are only a few lmtpd's running. On the heavily loaded servers, there are always a few thousand lmtpd processes. I've run strace on lmtpd processes on both servers, and I couldn't spot any significative difference in their behaviours. They both run cyrus-imapd 2.2.12. So, I'm looking for some help and suggestions in trying to debug this situation, and maybe some tuning options to for lmtpd, or at least find out why they're taking so long to do complete the message delivery. The load on this server has always been pretty high, but this behaviour only started recently. It has much more mailboxes than the other server, as it mounts its volumes from a large AoE storage device. Thanks in advance, Andre 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
Re: Postfix version of smmapd
Benjamin Donnachie wrote: I couldn't find anything suitable through Google, so I modified smmapd to work with postfix. Anyone using this? If so, I'll hurry up and tidy it up. It not, it can carry on waiting a little bit longer. Ben 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: can not run mupdate master on a unified server
On Fri, Feb 23, 2007 at 04:49:28PM -0600, Gary Mills wrote: I just ran into this error: can not run mupdate master on a unified server when I tried to test a Cyrus murder configuration with one unified server and one backend server. Can I assume that the mupdate master won't run on the backend either? Is this because of a database conflict? I got around this problem by running the mupdate master under a separate instance of Cyrus master, with its own imapd.conf file. I can now run `ctl_mboxlist -m' successfully on either the unified front/back server or a backend server. Mailboxes from both of these appear in the mupdate master's mailboxes.db file. However when I run either `ctl_mboxlist -d' or `cyradm' on the unified server, they show only the mailboxes on that one server. What's missing? Do I also need a mupdate slave on that server? How is mailboxes.db supposed to get updated on a unified server? -- -Gary Mills--Unix Support--U of M Academic Computing and Networking- 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