On Wed, 2008-12-10 at 23:55 +0100, Matthias Rieber wrote: > Hi, > > I compressed a folder with the following script: > > ... > for i in *.*.*; do > file $i | grep bzip2 >/dev/null 2>&1 > if [ $? -ne 0 ]; then > echo "Compress: $i" > cat "$i" | bzip2 -9 > ../tmp/$i > if [ $? -eq 0 ]; then > mv ../tmp/$i $i > fi > else > echo "Alread DONE: $i"; > fi > done
You should also preserve the file's mtime there, otherwise the message's INTERNALDATE changes. > @40000000494044a53ae8e4fc dovecot: Info: auth(default): new auth connection: > pid=24651 > @40000000494044dd09e0bd6c dovecot: Error: IMAP(matthias): read(mail, > uid=8235) failed: Invalid argument > @40000000494044dd0b155d3c dovecot: Error: IMAP(matthias): *** glibc detected > *** imap: free(): invalid next size (normal): 0x099995f8 *** I'm not able to reproduce this. Could you run imap process via valgrind and show me what it logs? Like: protocol imap { mail_executable = /usr/bin/valgrind /usr/local/libexec/dovecot/imap }
signature.asc
Description: This is a digitally signed message part