As Timo seems to be on a committing spree; I'd like to propose that in the mail_log_fields the recipient would be available. Like probably many dovecot users, my MUAs save to Sent; so when grepping the log to learn etc. that would just be useful Kind regards -- peter
On 08/26/2015 12:22 AM, Peter Chiochetti wrote:> As Timo seems to be on a committing spree; I'd like to propose that in > the mail_log_fields the recipient would be available. > > Like probably many dovecot users, my MUAs save to Sent; so when grepping > the log to learn etc. that would just be usefulYou mean content of To: Cc: and Bcc: headers or what? This don't need to match recipients used in SMTP session, so likely not so useful. -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
Am 2015-08-26 um 12:54 schrieb A.L.E.C:> On 08/26/2015 12:22 AM, Peter Chiochetti wrote: >> As Timo seems to be on a committing spree; I'd like to propose that in >> the mail_log_fields the recipient would be available. >> >> Like probably many dovecot users, my MUAs save to Sent; so when grepping >> the log to learn etc. that would just be useful > > You mean content of To: Cc: and Bcc: headers or what? This don't need to > match recipients used in SMTP session, so likely not so useful.Thank you, I only later realized, that there may be more than one recipient of a message; Probably the first "To" header, fully or up to the first comma, if any, would be appropriate. (The log isnt csv.) -- peter