is it possible to add a delevered-to header
I want to use a cyrus-mailbox as a multidrop box for our one client. The local delivery is done by fetchmail which requires a delivered-to header for multidrop boxes Can I configure lmtp to add an X-delivered-to header I know this may break the single instance storage functionality , But supose I want to opt out is this possible. Thanks Ram 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[2]: Cyrus managment from php..
On Tue, 26 Jun 2007, Kristaps Armanis wrote: JV> Anyone could share or point to some simple Cyrus managment JV> function list/class writenn in PHP based on sockets? JV> I guess pecl.php.net/cyrus is pretty out of date? Is there any way to query cyrus from admin user over imap connection to get back users partition? The "info" command in cyradm reports the partition. Here is some perl code we use to determine which murder backend a mailbox is stored on. You could modify this easily to look at the partition instead. -- sub locatemailbox { my ($server, $authuser, $authpw, $mailbox) = @_; my $location = ""; use Mail::IMAPClient; my $imap = Mail::IMAPClient->new( Server => $server, User => $authuser, Password => $authpw ); if (! $imap) { die("Cannot connect to mail server '$server' to locate mailbox - $!"); } my @results = $imap->tag_and_run(qq/GETANNOTATION $mailbox "*" "value.shared"/); $imap->logout; foreach my $r (@results) { $r =~ s/\r//g; $r =~ s/\n//g; if ($r =~ /\/vendor\/cmu\/cyrus-imapd\/server" \("value.shared" "(.*)"\)$/) { $location = $1; } } if ($location eq '') { die("Cannot locate mailbox '$mailbox'.\n"); } return $location; } -- 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
ctl_mboxlist -m takes hours
Hi. I've got a line like the following in my cyrus.conf files: mupdatepush cmd="/usr/lib/cyrus-imapd/ctl_mboxlist -C /etc/imapd.conf.i01.master -m" It is meant to synchronize the backend mailbox list with the mupdate master upon startup. Sometimes, it takes horribly long to complete: one to three hours with 60 records in the mailboxes list. (Sometimes it takes a lot less time, something like 9 seconds). There are 24 nodes in my murder. Could this create locking problems on the mupdate master? --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
Mailbox list corruption
Hi! Sometimes I get the following while trying to restart a murder member: Jun 26 16:12:42 pcn4.mappi.helsinki.fi i10/master[21932]: exiting on SIGTERM/SIGINT Jun 26 16:24:28 pcn4.mappi.helsinki.fi i10/master[19054]: process started Jun 26 16:24:28 pcn4.mappi.helsinki.fi i10/ctl_cyrusdb[19056]: recovering cyrus databases Jun 26 16:24:39 pcn4.mappi.helsinki.fi i10/ctl_cyrusdb[19056]: DBERROR: skiplist recovery /var/lib/imap/i 10/mailboxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:24:39 pcn4.mappi.helsinki.fi i10/ctl_cyrusdb[19056]: DBERROR: opening /var/lib/imap/i10/mailbox es.db: cyrusdb error Jun 26 16:24:39 pcn4.mappi.helsinki.fi i10/master[19054]: process 19056 exited, status 75 Jun 26 16:24:46 pcn4.mappi.helsinki.fi i10/idled[19922]: DBERROR: skiplist recovery /var/lib/imap/i10/mai lboxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:24:46 pcn4.mappi.helsinki.fi i10/idled[19922]: DBERROR: opening /var/lib/imap/i10/mailboxes.db: cyrusdb error Jun 26 16:24:46 pcn4.mappi.helsinki.fi i10/idled[19922]: can't read mailboxes file Jun 26 16:24:46 pcn4.mappi.helsinki.fi i10/idled[19922]: exiting Jun 26 16:24:46 pcn4.mappi.helsinki.fi i10/master[19054]: process 19922 exited, status 75 Jun 26 16:24:52 pcn4.mappi.helsinki.fi i10/ctl_mboxlist[22067]: DBERROR: skiplist recovery /var/lib/imap/ i10/mailboxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:24:52 pcn4.mappi.helsinki.fi i10/ctl_mboxlist[22067]: DBERROR: opening /var/lib/imap/i10/mailbo xes.db: cyrusdb error Jun 26 16:24:52 pcn4.mappi.helsinki.fi i10/master[19054]: process 22067 exited, status 75 Jun 26 16:24:52 pcn4.mappi.helsinki.fi i10/tls_prune[24771]: skiplist: recovered /var/lib/imap/i10/tls_se ssions.db (8 records, 423060 bytes) in 0 seconds Jun 26 16:24:52 pcn4.mappi.helsinki.fi i10/tls_prune[24771]: tls_prune: purged 0 out of 8 entries Jun 26 16:24:59 pcn4.mappi.helsinki.fi i10/sync_client[24772]: DBERROR: skiplist recovery /var/lib/imap/i 10/mailboxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:24:59 pcn4.mappi.helsinki.fi i10/sync_client[24772]: DBERROR: opening /var/lib/imap/i10/mailbox es.db: cyrusdb error Jun 26 16:24:59 pcn4.mappi.helsinki.fi i10/master[19054]: process 24772 exited, status 75 Jun 26 16:24:59 pcn4.mappi.helsinki.fi i10/master[19054]: ready for work Jun 26 16:24:59 pcn4.mappi.helsinki.fi i10/ctl_cyrusdb[24902]: checkpointing cyrus databases Jun 26 16:25:00 pcn4.mappi.helsinki.fi i10/ctl_cyrusdb[24902]: done checkpointing cyrus databases Jun 26 16:25:02 pcn4.mappi.helsinki.fi i10/lmtp[24908]: skiplist: recovered /var/lib/imap/i10/deliver.db (0 records, 144 bytes) in 3 seconds Jun 26 16:25:05 pcn4.mappi.helsinki.fi i10/pop3[24905]: DBERROR: skiplist recovery /var/lib/imap/i10/mail boxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:25:06 pcn4.mappi.helsinki.fi i10/pop3[24905]: DBERROR: opening /var/lib/imap/i10/mailboxes.db: cyrusdb error Jun 26 16:25:06 pcn4.mappi.helsinki.fi i10/pop3[24905]: Fatal error: can't read mailboxes file Jun 26 16:25:06 pcn4.mappi.helsinki.fi i10/master[19054]: service pop3 pid 24905 in READY state: terminat ed abnormally Jun 26 16:25:17 pcn4.mappi.helsinki.fi i10/lmtp[25043]: DBERROR: skiplist recovery /var/lib/imap/i10/mail boxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:25:17 pcn4.mappi.helsinki.fi i10/lmtp[25043]: DBERROR: opening /var/lib/imap/i10/mailboxes.db: cyrusdb error Jun 26 16:25:17 pcn4.mappi.helsinki.fi i10/lmtp[25043]: FATAL: can't read mailboxes file Jun 26 16:25:17 pcn4.mappi.helsinki.fi i10/master[19054]: service lmtp pid 25043 in READY state: terminat ed abnormally Jun 26 16:25:29 pcn4.mappi.helsinki.fi i10/imap[24924]: DBERROR: skiplist recovery /var/lib/imap/i10/mail boxes.db: 5BE0D50 should be ADD or DELETE Jun 26 16:25:29 pcn4.mappi.helsinki.fi i10/imap[24924]: DBERROR: opening /var/lib/imap/i10/mailboxes.db: cyrusdb error Jun 26 16:25:29 pcn4.mappi.helsinki.fi i10/imap[24924]: Fatal error: can't read mailboxes file Jun 26 16:25:29 pcn4.mappi.helsinki.fi i10/master[19054]: service imap pid 24924 in READY state: terminat ed abnormally etc. ad nauseam. I'm using the unified murder config. Any insight would be appreciated. --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: cyradm is not running with imaps
Ethariel wrote: > Hello, > > > > after disabling the imap port cyradm is no more running with imaps. > Is there any technique so that imap runs only for cyradm in > localhost ? > thanks > > > You can use the address specification in cyrus.conf : > > imap cmd="imapd" listen=" > 127.0.0.1:imap" prefork=0 Thanks a lot fabien :-) I hv already solved it using the same manner. > > man cyrus.conf > > > Ethariel > > > 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 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[2]: Cyrus managment from php..
JV> Anyone could share or point to some simple Cyrus managment JV> function list/class writenn in PHP based on sockets? JV> I guess pecl.php.net/cyrus is pretty out of date? Is there any way to query cyrus from admin user over imap connection to get back users partition? -- kristaps 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: cyradm is not running with imaps
JOYDEEP wrote: > Dear list, > > after disabling the imap port cyradm is no more running with imaps. > Is there any technique so that imap runs only for cyradm in localhost ? > thanks cyradm doesn't support ssl connections. It supports tls though. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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: cyradm is not running with imaps
Hello, after disabling the imap port cyradm is no more running with imaps. Is there any technique so that imap runs only for cyradm in localhost ? thanks You can use the address specification in cyrus.conf : imap cmd="imapd" listen="127.0.0.1:imap" prefork=0 man cyrus.conf Ethariel 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
cyradm is not running with imaps
Dear list, after disabling the imap port cyradm is no more running with imaps. Is there any technique so that imap runs only for cyradm in localhost ? thanks 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