Timo, Is this very difficult? How much extra code do you are talking about? Is it possible to make this change on the next release?
2014-08-29 15:10 GMT-03:00 Timo Sirainen <t...@iki.fi>: > On 28 Aug 2014, at 03:48, Bruno Galindro da Costa < > bruno.galin...@gmail.com> wrote: > > > Is it possible to log a message custom header through Mail logger plugin > or > > other method? It seems that there are a fixed number of info that is > > configurable via mail_log_fields ( > http://wiki2.dovecot.org/Plugins/MailLog). > > Not without some extra coding. > > > .. > > > > My custom header is X-VERTICAL-IP-Quarantine-ID and I want a log event > like > > this one: > > > > Aug 27 09:48:13 imap dovecot: imap(user@domain): copy from INBOX: > box=SPAM, > > uid=213, *X-VERTICAL-IP-Quarantine-ID=u7cnUqYDPA9a*, msgid=< > > 0.0.d7.290.1cfc155ce88730...@etm2.com>, size=26481, vsize=26949, > > from==?UTF-8?Q?Dafiti=20-=20Parceiros?= <aaa@domain>, > > subject==?UTF-8?Q?Sapatos=20com=2040%OFF?==?UTF-8?Q?!=20Apro?=? > > =?UTF-8?Q?veite!?= > > > > -- > > Att. > > Bruno Galindro da Costa > > -- Att. Bruno Galindro da Costa