[Dovecot] mail-filter always results in corrupted indexes

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Jan 16 11:05:10 EET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 15 Jan 2014, cmreddy wrote:

>
> I am looking for help in processing the email at Dovecot Proxy (i.e
> replacing the links and attachments with custom links and attachments at
> IMAP proxy server). My understanding is that, mail_filter plugin should be
> hooked at Dovecot IMAP server. Can I integrate mail filter plugin (with some
> code changes) at Dovecot Proxy ?
>
> If so, please suggest the changes required Dovecot core or mail filter
> plugin ?

I seem to remember an identical question a few weeks ago. Someone tried to 
write a plugin that alters the message. Timo answered that question with: 
NO, it is not possible with the current plugin code.

But try to find thread to get the correct info.

====

However, I find the idea "wrong". I mean, you want to alter the message 
each time when it is retrieved by the user. It seems to be a time slot, 
when any delay might cause lots of support calls. I would favour Robert's 
approach and alter the message when it comes in either through the MTA or 
before you pass it to the LDA with a wrapper script.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUtegynD1/YhP6VMHAQLRlAf+LzIXlgV4/Z5yNcbVcpSdIeFrlVhE1FUY
t9PoteJY3/TtXUY5QVnqTi6csW72YnvsUq39Eu+D5YG5ofqCpeCPe18tC+ibzm7f
WpIlP5HDYibTB2FgAwdTNbBq9DBnFDeEaPYOlundWvVJvCip4vN+3jaw0B85oeS2
fGJlol88WF7/kcIgS/PQvMFHRW93hvePOlsxPi2EwGNunyZ90ziasqOwCrBmujCj
g09E2oiOONyoUuyb5UOIoS6u7ICKwvtSkmnj1Pck2sym1Xgvy+PNnWXM67mW1l7f
Xs+Bppq+Xor7bfMrrYynXDXU3CtOWmQMmMFN8+fhS6qTHMS4ZfqQYw==
=E7u9
-----END PGP SIGNATURE-----


More information about the dovecot mailing list