Bug#692754: how to get the username in the plugin?

2017-01-09 Thread Johannes Berg
On Fri, 2017-01-06 at 05:17 +1030, Ron wrote: > On Thu, Jan 05, 2017 at 10:10:13AM +0100, Johannes Berg wrote: > > On Thu, 2017-01-05 at 13:21 +1030, Ron wrote: > > > > > > Or worst case, we could make one, and let people do something > > > > like: > > > > > > > >  antispam_log_prefix = %u > >

Bug#692754: how to get the username in the plugin?

2017-01-05 Thread Ron
On Thu, Jan 05, 2017 at 10:10:13AM +0100, Johannes Berg wrote: > On Thu, 2017-01-05 at 13:21 +1030, Ron wrote: > > > > Or worst case, we could make one, and let people do something like: > > > > > >  antispam_log_prefix = %u > > Interesting, yes, that would probably be easiest. That's probably

Bug#692754: how to get the username in the plugin?

2017-01-05 Thread Johannes Berg
On Thu, 2017-01-05 at 13:21 +1030, Ron wrote: > > Or worst case, we could make one, and let people do something like: > > > >  antispam_log_prefix = %u Interesting, yes, that would probably be easiest. > > Martin, what _actual_ problem did you have to make you want this? > > That might be

Bug#692754: how to get the username in the plugin?

2017-01-05 Thread Johannes Berg
On Thu, 2017-01-05 at 08:34 +1100, martin f krafft wrote: > also sprach Johannes Berg [2017-01-05 > 01:11 +1100]: > > I'm not even sure how to get the username? Is it even generally > > possible, if e.g. the plugin is running out of a process that's not > > invoked

Bug#692754: how to get the username in the plugin?

2017-01-04 Thread Ron
On Thu, Jan 05, 2017 at 12:47:07PM +1030, Ron wrote: > On Thu, Jan 05, 2017 at 08:34:04AM +1100, martin f krafft wrote: > > also sprach Johannes Berg [2017-01-05 01:11 > > +1100]: > > > I'm not even sure how to get the username? Is it even generally > > > possible, if

Bug#692754: how to get the username in the plugin?

2017-01-04 Thread Ron
On Thu, Jan 05, 2017 at 08:34:04AM +1100, martin f krafft wrote: > also sprach Johannes Berg [2017-01-05 01:11 > +1100]: > > I'm not even sure how to get the username? Is it even generally > > possible, if e.g. the plugin is running out of a process that's not > >

Bug#692754: how to get the username in the plugin?

2017-01-04 Thread martin f krafft
also sprach Johannes Berg [2017-01-05 01:11 +1100]: > I'm not even sure how to get the username? Is it even generally > possible, if e.g. the plugin is running out of a process that's not > invoked through the imapd? Well, the plugin certainly does seem to be run as

Bug#692754: how to get the username in the plugin?

2017-01-04 Thread Johannes Berg
I'm not even sure how to get the username? Is it even generally possible, if e.g. the plugin is running out of a process that's not invoked through the imapd? johannes