i'm running dovecot 1.2.9 and, among other things, i have the zlib
plugin enabled. A shell script runs once a day to compresses all not still compressed files on the users maildirs.
so far so good, it works fine, there's no problem on that.
what i think is not happening 100% correctly is the following:
1) user receives a message
2) BEFORE the compress routine runs, filename is:
new/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207
3) AFTER the compress routine, filename is now:
new/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207.gz
4) user check his mail .... and now the filename is
cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207.gz:2,S
5) user replies that mail .... and now the filename is
cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207.gz:2,RS
i'm aware that dovecot doesnt need the '.gz' extension on the file
to recognize that as a gzipped file. Even without the .gz extension, dovecot is correctly reading the file. the '.gz' is not even necessary on the filename and still dovecot can handle it fine.
anyway, i would like to suggest dovecot to handle the filename to
keep the .gz extension, if that exists. This could help sysadmins to easily identify gzipped files on the maildirs and make anything with them, if that's desired.
i would like to see dovecot changing filenames properly and keeping
the .gz extension always, for example
cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207:2,S.gz instead of cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207.gz:2,S
cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207:2,RS.gz instead of cur/1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207.gz:2,RS
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it