Debug one user possible?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debug one user possible?

Dovecot mailing list


Is it possible to mail debug just one user? Maybe via the userdb?


Reply | Threaded
Open this post in threaded view
|

Re: Debug one user possible?

Dovecot mailing list

> On 27/09/2019 16:08 Marc Roos via dovecot <[hidden email]> wrote:
>
>  
> Is it possible to mail debug just one user? Maybe via the userdb?

You could try returning mail_debug=yes from userdb.

Aki
Reply | Threaded
Open this post in threaded view
|

Re: Debug one user possible?

Dovecot mailing list
On Fri, 27 Sep 2019, Aki Tuomi wrote:

>> On 27/09/2019 16:08 Marc Roos via dovecot <[hidden email]> wrote:
>>
>> Is it possible to mail debug just one user? Maybe via the userdb?
>
> You could try returning mail_debug=yes from userdb.

For raw IMAP logging, you can configure

  protocol imap {
  ...
  rawlog_dir = /log/dir/%u
  }

then when you need to need to dump IMAP diagnostics for a user e.g. "marc",

  # Temp folder avoids permission/write race condition
  cd /log/dir
  mkdir temp
  chown marc temp
  mv temp marc

When you're done

  rm -rf /log/dir/marc

Joseph Tam <[hidden email]>