RE: Getting rawlogging working with dovecot 2.2

2020-12-30 Thread Marc Roos
 
Anyone using this with CentOS7 and dovecot-2.2.36-6.el7_8.1.x86_64?




RE: Getting rawlogging working with dovecot 2.2

2020-12-30 Thread Marc Roos
>
>According to this manual[1] I just have to add these lines to my 
config, 
>not?
>
>protocol imap {
>  rawlog_dir = /tmp/rawlog/%u
>}
>
>I should be seeing something in this /tmp/rawlog if I delete an message 

>via imap not? I have already made this folder 777 and /tmp/rawlog/test 
>777, but still nothing is there. The normal syslog of dovecot does not 
>report any errors.
>
>[1]
>https://wiki2.dovecot.org/Debugging/Rawlog
>

If I add these changes for the rawlog binary but still nothing, also 
having the home dir in userdb although the doveadm user -u test return 
correct values.

service imap {
  executable = imap postlogin
}

service postlogin {
  executable = script-login -d rawlog
  unix_listener postlogin {
  }
}