[no subject]

2009-08-28 Thread steffo76
Hi there,

I got an unusual problem with sync_client. I am running two machines with 
cyrus-imapd 2.3.14, let's call them primary and secondary. I ususally have 
syncserver_allowplaintext: 0 set on the secondary so sync_client on the primary 
will connect using TLS. This worked fine until a few weeks ago. I am monitoring 
the sync_client on primary via a daemon to see if it's running and suddenly got 
noticed that sync_client died. Checking the problem I found out that all of a 
sudden the sync_client wouldn't connect using TLS anymore. I didn't change 
anything on either of the machines, the only thing that happend that morning 
was a problem with our DNS server. 

The funny thing is that synctest is working using TLS but when I try to run 
sync_client with TLS I get a Segmentation fault. Using strace I can see that 
sync_client connects to secondary and gets the greeting from secondary. After 
that it gets an SIGSEGV.

This is not related to the certificates, these have not changed and are still 
valid.

Any ideas ?
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

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


sync_client segfault

2009-08-31 Thread steffo76
Hi there,

I haven't got the original message here, I posted a problem with sync_client on 
Fri Aug 28 11:29:15. I tried to get a backtrace but have some trouble with gdb. 
This is what I got:

Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0x080967ef in xstrdup (str=0x0) at xmalloc.c:92
92  char *p = xmalloc(strlen(str)+1);
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

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


Compiling fails imap.xs:77

2009-09-25 Thread steffo76
Hi list,

I got trouble compiling cyrus-imapd-2.3.15. I get the following error:

IMAP.xs: In function ‘fatal’:
IMAP.xs:77: error: format not a string literal and no format arguments
make[2]: *** [IMAP.o] Error 1


I remember vaguely that there was a thread on this list which said that a 
compiler flag is to be set so this doesn't happen but I just can't find the 
thread. Could someone please tell me how to get past this error ?

Thanks,
Stephan
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

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: Synchronisation two cyrus-imapd servers

2009-10-08 Thread steffo76
Hi,

you are probably missing 'defaultpartition' in imapd.conf:
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3170

Regards,
Stephan

 Original-Nachricht 
> Datum: Thu, 08 Oct 2009 14:04:57 +0100
> Von: Gavin Gray 
> An: info-cyrus@lists.andrew.cmu.edu
> Betreff: Re: Synchronisation two cyrus-imapd servers

> Hi there,
>  I also have this problem.  I can't get the sync_server to run  
> under 2.3.15. Here is a snippet fom our logs:
> 
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 143423 local6.error]  
> DBERROR: reading /var/imap/db/skipstamp, assuming the worst: No such  
> file or directory
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 518349 local6.debug]
> executed
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 301543 local6.info]  
> skiplist: checkpointed /var/imap/mailboxes.db (0 records, 144 bytes)  
> in 0 seconds
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 301543 local6.info]  
> skiplist: checkpointed /var/imap/annotations.db (0 records, 144 bytes)  
> in 0 seconds
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 921384 local6.debug]  
> accepted connection
> Oct  8 12:42:36 mailbe9r syncserver[25647]: [ID 177842 local6.debug]  
> cmdloop(): startup
> Oct  8 12:42:36 mailbe9r last message repeated 1 time
> Oct  8 12:42:38 mailbe9r master[25640]: [ID 970914 local6.error]  
> process 25647 exited, signaled to death by 11
> Oct  8 12:42:38 mailbe9r master[25640]: [ID 621917 local6.debug]  
> service syncserver pid 25647 in BUSY state: terminated abnormally
> 
> I've had a go at trying to debug the problem, but had  no success.
> 
> Does anyone have any ideas?
> 
> regards,
> 
> Gavin Gray
> 
> 
> Quoting Alexander Demin :
> 
> > Hello.
> >
> > I have problem with synchronisation two cyrus-imapd servers.
> >
> > *** Start "Replica" host configuration ***
> > OS: FreeBSD 7.2-STABLE i386
> > cyrus-imapd-2.3.15 WITH_BDB=true WITH_REPLICATION=true
> > cyrus-sasl-2.1.23 WITH_AUTHDAEMOND=true WITH_LOGIN=true WITH_PLAIN=true
> > WITH_CRAM=true WITH_DIGEST=true
> > cyrus-sasl-saslauthd-2.1.23
> > All soft installed from ports.
> >
> > Cyrus configuration:
> > /usr/local/etc/cyrus.conf
> > START {
> > recover cmd="ctl_cyrusdb -r"
> > }
> >
> > SERVICES {
> > imapcmd="imapd" listen="imap" prefork=0
> > imaps   cmd="imapd -s" listen="imaps" prefork=0
> > pop3cmd="pop3d" listen="pop3" prefork=0
> > pop3s   cmd="pop3d -s" listen="pop3s" prefork=0
> > sieve   cmd="timsieved" listen="sieve" prefork=0
> > lmtpunixcmd="lmtpd" listen="/data/imap/socket/lmtp" prefork=0
> > smmap   cmd="smmapd" listen="/data/imap/socket/smmap" prefork=1
> > syncserver  cmd="sync_server" listen="csync" prefork=1
> > }
> >
> > EVENTS {
> > checkpoint  cmd="ctl_cyrusdb -c" period=30
> > delprunecmd="cyr_expire -E 3" at=0400
> > tlsprunecmd="tls_prune" at=0400
> > }
> >
> > /usr/local/etc/imapd.conf
> > configdirectory: /backup/imap
> > partition-default: /backup/spool/imap
> > unixhierarchysep: no
> > altnamespace: yes
> > allowanonymouslogin: no
> > allowplaintext: yes
> > imapidresponse: yes
> > admins: cyrus
> > munge8bit: 0
> > rfc2046_strict: 0
> > sievedir: /backup/imap/sieve
> > sendmail: /usr/sbin/sendmail
> > postmaster: postmaster
> > annotation_db: skiplist
> > duplicate_db: berkeley-nosync
> > mboxlist_db: skiplist
> > ptscache_db: berkeley
> > seenstate_db: skiplist
> > subscription_db: flat
> > sasl_pwcheck_method: auxprop
> > sasl_auxprop_plugin: sasldb
> > sasl_log_level: 7
> > sasl_mech_list: plain cram-md5 digest-md5 login
> > lmtpsocket: /backup/imap/socket/lmtp
> > virtdomains: userid
> > lmtp_downcase_rcpt: 1
> >
> > #
> > # EOF
> >
> > /etc/services
> > csync   2005/tcp
> >
> > /etc/rc.conf (show only cyrus/sasl params)
> > cyrus_imapd_enable="YES"
> > saslauthd_enable="YES"
> > saslauthd_flags="-a sasldb"
> > *** End "Replica" host configuration ***
> >
> > *** Start "Master" host configuration ***
> > OS: FreeBSD 7.2-STABLE amd64
> > cyrus-imapd-2.3.15 WITH_BDB=true WITH_REPLICATION=true
> > cyrus-sasl-2.1.23 WITH_AUTHDAEMOND=true WITH_LOGIN=true WITH_PLAIN=true
> > WITH_CRAM=true WITH_DIGEST=true
> > cyrus-sasl-saslauthd-2.1.23
> > All soft installed from ports.
> >
> > Cyrus configuration:
> > /usr/local/etc/cyrus.conf
> > START {
> > recover cmd="ctl_cyrusdb -r"
> > }
> >
> > SERVICES {
> > imapcmd="imapd" listen="imap" prefork=0
> > imaps   cmd="imapd -s" listen="imaps" prefork=0
> > pop3cmd="pop3d" listen="pop3" prefork=0
> > pop3s   cmd="pop3d -s" listen="pop3s" prefork=0
> > sieve   cmd="timsieved" listen="sieve" prefork=0
> > lmtpunixcmd="lmtpd" listen="/data/imap/socket/lmtp" prefork=0
> > smmap   cmd="smmapd" listen="/data/imap/socket/smmap" prefork=1
> > syncclient  cmd="sy

Re: Exec'ing a script from Cyrus when imapd has a client

2009-10-20 Thread steffo76
Hi there,

maybe logsurfer (or something similar) would be of help, you could monitor your 
cyrus logs with it and run fetchmail accordingly:

http://www.crypt.gen.nz/logsurfer/
http://sourceforge.net/projects/logsurfer/

Regards,
Stephan

Am Dienstag 20 Oktober 2009 19:36:24 schrieb Xavier Bestel:
> Hi,
> 
> I have a small install with cyrus-imapd 2.3.14, which reads some of its
> mails with fetchmail. To limit the delay in mail delivery, fetchmail
> awakes each minute to get mails.
> What I would like is let fetchmail do that only when there's a client
> actually reading its mails, i.e. an MUA actually connected to imapd.
> 
> So, my question: how to hook a script each time a client
> connects/disconnects from imapd ?
> 
> Thanks,
>   Xav
> 
> 
> 
> 
> 
> 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
> 

-- 
If a train station is a place where a train stops, what's a workstation?


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: Any interest to implement RFC4978 (IMAP COMPRESS)?

2010-02-19 Thread steffo76
>From the 2.3.15 Changelog:

* Added support for MUPDATE COMPRESS and IMAP COMPRESS commands which
  help speed up bulk data commands over slow links.

It actually already _is_ implemented.

 Original-Nachricht 
> Datum: Fri, 19 Feb 2010 10:53:27 +
> Von: Ian Eiloart 
> An: Torsten Schlabach , Pascal Gienger 
> 
> CC: info-cyrus@lists.andrew.cmu.edu, Mike Dawson 
> Betreff: Re: Any interest to implement RFC4978 (IMAP COMPRESS)?

> 
> 
> --On 19 February 2010 11:14:53 +0100 Torsten Schlabach
>  
> wrote:
> 
> > Hi!
> >
> >> Is there any interest to implement this extension
> >> in the cyrus imap server?
> >
> > Yes, possibly.
> >
> > There are parts of the world where bandwidth is still an issue.
> 
> All of the world, actually: with increasing use of mobile devices, and 
> patchy 3g coverage. I still read mail over GSM with data rates from
> 9.6kb/s.
> 
> 
> > Think
> > Afghanistan, for example. If you care for details, talk to my colleague
> > Mike Dawson (on cc:).
> >
> > Regards,
> > Torsten
> >
> > Pascal Gienger schrieb:
> >> RFC 4978 [1] defines an IMAP COMPRESS command to compress IMAP data
> >> communication.
> >>
> >> Is there any interest to implement this extension in the cyrus imap
> >> server?
> >>
> >> For low bandwith connections this could be useful but I don't know if
> >> that's a typical case nowadays. Together with the IMAP IDLE command it
> >> should be fine for mobile devices...
> >>
> >> [1] http://tools.ietf.org/html/rfc4978
> >> 
> >> 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
> 
> 
> 
> -- 
> Ian Eiloart
> IT Services, University of Sussex
> 01273-873148 x3148
> For new support requests, see http://www.sussex.ac.uk/its/help/
> 
> 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

-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser

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


Weird sync problems in 2.4.0

2010-10-13 Thread steffo76
Hello everybody,

I have a problem regarding the synchronisation in 2.4.0. I installed 2.4.0 on 
two test servers where 2.3.16 was installed. The imapd on the replica hasn't 
been running for a while. After the two where online I tried to replicate from 
the master to the replica and ran into some problems. 

If I try to sync the mailbox user.tester to the replica using sync_client -v -m 
user.tester I get

MAILBOXES user.tester
Error from do_mailboxes(): bailing out!

On the replica I can see the following error in syslog:
IOERROR: failed to parse 
/path/to/sync./18755/991ebe63638ae2e25b9f081aa5b3d78f9380309b
Failed to append file user.tester 29

I ran reconstruct on the mailbox for a dozen times using -G -r and -f but that 
didn't help. 

Browsing a bit through the source code (I am not a programmer) I found the 
message probably gets generated in message_parse in imap/message.c. I inserted 
a syslog message telling me which file it was trying to open and a sleep, 
recompiled and installed and tried to find the file the next time- it wasn't 
there, the directory where it should have been was empty. Using strace I can 
see that the sync_client is sending (amongst other stuff) "APPLY MESSAGE" whith 
a message and shortly after that a "APPLY MAILBOX" in which a GUID appears 
which is identical to the name of the file which is missing on the replica. 

How do I resolve that and is there a document describing the sync protocol in 
detail ?



-- 
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Weird sync problems in 2.4.0

2010-10-15 Thread steffo76
Hi Bron,

the permissions are correct. If I run reconstruct -G I get a "uid xxx guid 
mismatch" message for a certain mail each time (although this message is not in 
the mailbox sync_client is choking on). Shouldn't reconstruct -G take care of 
this ? 

Regards
Stephan

Am Wednesday 13 October 2010 23:13:20 schrieben Sie:
> On Wed, Oct 13, 2010 at 09:13:24PM +0200, steff...@gmx.de wrote:
> > Yes, I ran reconstruct -G a couple of times. 
> 
> Can you check the permissions on ths spool directories and the
> sync. directory?  That's the next thing I can think of...
> 
> Bron ( they all have to be writable by the Cyrus user )
> 

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: badlogins pop3 thunderbird 3.1.6

2010-11-22 Thread steffo76
Now that you mention it... we had something similar a couple of weeks ago. The 
number of bad logins cumulated to a couple of thousands within a few hours. The 
users didn't get an error from thunderbird. The protocol also was pop3s. I am 
not quite sure which thunderbird version it was.

Regards,
Stephan

 Original-Nachricht 
> Datum: Mon, 22 Nov 2010 14:39:53 +0100
> Von: Eugen Bier 
> An: info-cyrus@lists.andrew.cmu.edu
> Betreff: badlogins pop3 thunderbird 3.1.6

> hello all,
> 
> we have strange behavior of our cyrus 2.3.16 on pop3 and pop3s protocol 
> with thunderbird 3.1.6. User does connect to a mailbox correctly, the 
> first login is successful. After 5 min, when the user reconnects to a 
> mailbox it comes to a 'badlogin' and then the client attempts to login 
> every 1-3 seconds producing 'badlogins'.
> 
> Has anybody else the same behaviour? I think its a bug of thunderbird, 
> but who knows.
> 
> regards,
> 
> Eugen Bier
> 
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Detecting last login IMAP and expire old messages

2011-01-10 Thread steffo76

 Original-Nachricht 
> Datum: Mon, 10 Jan 2011 08:37:14 -0500
> Von: Adam Tauno Williams 
> An: info-cyrus@lists.andrew.cmu.edu
> Betreff: Re: Detecting last login IMAP and expire old messages

> On Mon, 2011-01-10 at 09:13 -0400, Patrick Boutilier wrote: 
> > On 01/10/2011 08:03 AM, Adam Tauno Williams wrote:
> > > On Sat, 2011-01-08 at 23:35 -0200, Lucas Zinato Carraro wrote:
> > >> Is there a way to get messages from a user account automatic expire
> if
> > >> account is not in used for 6 months ?
> > > Yes, set the "expire" annotation on the folder.  For example, we set
> > > this to 365 on the user's sent-mail folder and to 14 for the users
> SPAM
> > > folder.
> > But he only wants to expire messages if the user has not logged in in 
> > the last 6 months.
> 
> Ah, my bad.
> 
> I suppose then it is really an authentication question and not a mailbox
> question.  Hrm it would be nice to have a reliable and standard way
> to determine when the last time user xyz was authenticated; but I'm not
> aware of any such thing.

If pam is being used (I don't have the original mail here) you could use 
pam_lastlog with the 'silent' option so it just updates /var/log/lastlog each 
time the user logs in via imap or pop. Naturally if you allow other forms of 
login like ssh etc. lastlog might get updated each time someone logs in 
(depending on the other pam configurations). If you then say lastlog -b 180 it 
will show you all the usernames which haven't logged in for at least 180 days.


-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Compiling and libdb

2011-12-21 Thread steffo76
Hi,

I have a problem that someone might have a solution for. I have two servers 
running cyrus imap 2.3.14 which is built against libdb-4.2. I would like to 
upgrade them to 2.4.12. 

As the indexes need to be upgraded I would like to test this beforehand so I 
restored the mail to a test machine and ran cyrus-imap 2.4.12. Unfortunately I 
got "IOERROR: opening index user.xxx: System I/O error" for each and every 
mailbox. I was hoping that this might be to the fact that on this machine the 
imapd was built against libdb-4.7 which is the version installed on the system 
but the index files where created by an imapd using libdb-4.2. Permissions on 
the files and directories are correct.

So I downloaded libdb-4.2 installed it and tried to build cyrus-imap 2.4.12 
against it to no avail- no matter what I tried it built against libdb-4.2 but 
linked against libdb-4.7 ("incorrect version of Berkeley db: compiled against 
4.2.52, linked against 4.7.25"). I used --with-bdb --with-bdb-libdir 
--with-bdb-incdir LDFLAGS und CPPFLAGS. Nothing. 

So I thought what the heck, let's reconstruct the mailboxes but I can't seem to 
get them to. Reconstruct runs without an error but the mailboxes are being 
shown as empty. What am I missing ?

Regards
Stephan
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: Compiling and libdb

2011-12-21 Thread steffo76
Thanks for the replies, I finally realised that it's no wonder there aren't any 
mails showing up- on the live server 'hashimapspool' was on but it was off on 
the testserver so it couldn't see the mail. Dumb mistake on my part. 

One question though- is it correct that reconstruct will also upgrade the index 
files as indicated here ?

http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg41339.html

Regards
Stephan


 Original-Nachricht 
> Datum: Wed, 21 Dec 2011 10:07:08 +0100
> Von: steff...@gmx.de
> An: info-cyrus@lists.andrew.cmu.edu
> Betreff: Compiling and libdb

> Hi,
> 
> I have a problem that someone might have a solution for. I have two
> servers running cyrus imap 2.3.14 which is built against libdb-4.2. I would 
> like
> to upgrade them to 2.4.12. 
> 
> As the indexes need to be upgraded I would like to test this beforehand so
> I restored the mail to a test machine and ran cyrus-imap 2.4.12.
> Unfortunately I got "IOERROR: opening index user.xxx: System I/O error" for 
> each and
> every mailbox. I was hoping that this might be to the fact that on this
> machine the imapd was built against libdb-4.7 which is the version installed
> on the system but the index files where created by an imapd using
> libdb-4.2. Permissions on the files and directories are correct.
> 
> So I downloaded libdb-4.2 installed it and tried to build cyrus-imap
> 2.4.12 against it to no avail- no matter what I tried it built against 
> libdb-4.2
> but linked against libdb-4.7 ("incorrect version of Berkeley db: compiled
> against 4.2.52, linked against 4.7.25"). I used --with-bdb
> --with-bdb-libdir --with-bdb-incdir LDFLAGS und CPPFLAGS. Nothing. 
> 
> So I thought what the heck, let's reconstruct the mailboxes but I can't
> seem to get them to. Reconstruct runs without an error but the mailboxes are
> being shown as empty. What am I missing ?
> 
> Regards
> Stephan
> -- 
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! 
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> 
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Error decompressing data

2012-07-02 Thread steffo76
Hi list,

I am having trouble with Apple Mail on iPhone and cyrus imapd. In telemetry 
logging I see the following:

3 OK Completed^M
<1341234999<4 COMPRESS DEFLATE^M
>1341234999>4 OK DEFLATE active^M
>1341235140>* BYE Error decompressing data^M

In my maillog I can see the following

Jul  2 15:24:06 server imap[32304]: zlib inflate error: -3 invalid distance too 
far back

This is cyrus imapd 2.4.12. Any hints how to resolve this ?

Thanks,
Stephan

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


info-cyrus@lists.andrew.cmu.edu

2012-11-20 Thread steffo76
Hi there,

I have a problem which turned up under cyrus-imapd 2.4.16: a certain user can't 
save messages in his drafts folder. I turned on telemetry logging for this user 
and the dialogue ends with 

BYE Fatal error: Internal error: assertion failed: mailbox.c: 2180: 
!message_guid_isnull(&record->guid)

The message ends up in filesystem though and can be made accessible by running 
reconstruct. Any hints ?

This is the whole log:

-- asdf Tue Nov 20 15:56:00 2012

<1353423360<2<1353423360< ENABLE QRESYNC^M
>1353423360>* ENABLED CONDSTORE QRESYNC^M
2 OK Completed^M
<1353423360<3<1353423361< APPEND "INBOX.Drafts" (\draft \seen) ~{328+}^M
Date: Tue, 20 Nov 2012 15:55:53 +0100^M
Message-ID: <2012112013.Horde.HWL-kH1hhPPaJ8yTeasO5Q2@192.168.0.1>^M
From: Fdsa Asdf ^M
X-IMP-Draft: Yes^M
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes^M
MIME-Version: 1.0^M
Content-Disposition: inline^M
^M
^M
asdf^M
asdf^M
asdfasdf^M
^M
^M
>1353423361>* BYE Fatal error: Internal error: assertion failed: mailbox.c: 
>2180: !message_guid_isnull(&record->guid)^M

Regards
Stephan

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


Mailboxes vanished

2015-10-20 Thread steffo76
Hello list,

 

I am trying to understand something here... I have two new servers which are not in productive use yet. For testing purposes I restored the mail from backup and had cyrus 2.4 running. I then decided to go for 2.5.6, ran "reconstruct -V max" on both the master and the replica This seemed to have run well but now I discovered that on the replica all mailboxes are gone and there are a whole lot of "cyr_expire[16166]: Removing stale tombstone for user.blablabla" in the log. Digging further there is a whole lot of "syncserver[28619]: Deleted mailbox user.blablabla" on the replica.

 

I guess on both the master and the replica cyrus was running and synchronisation was active during reconstruct. On the master I see a lot of "Repacking mailbox" and "reconstructing user.", during which sync_client kicks in and there is a lot of "sync_client[6539]: MAILBOX user.blablaba" going on. After that a whole lot of "sync_client[6539]: skiplist: invalid magic header: /var/lib/imap/mailboxes.db" has been written to the log on the master while the replica starts deleting mailboxes "syncserver[28619]: Deleted mailbox user.blablabla".

 

Did I delete the mailboxes on the replica involuntarly by rebuilding the mailboxes while sync_client was still running ? Should I have stopped the replication ? Is it safer to run reconstruct with cyrus stopped ? I will have downtime when the new machines go online anyway, so that wouldn't be an issue.

 

Thanks,

Stephan

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