last_login plugin with MySQL
Gedalya
gedalya at gedalya.net
Sat Oct 18 14:48:10 UTC 2014
On 10/18/2014 10:37 AM, Luigi Rosa wrote:
> But I get two errors.
>
>
> First is the permission of /var/run/dovecot/dict that is 700 root.root and I
> get a permission error. Nothing changes if I put user = root. I have to
> manually chmod /var/run/dovecot/dict every time I restart Dovecot otherwise I get
>
> Error: net_connect_unix(/var/run/dovecot//dict) failed: Permission denied
> (euid=501(mailvirtuale) egid=501(mailvirtuale) missing +r perm:
> /var/run/dovecot//dict, dir owned by 0:0 mode=0755)
In conf.d/10-master.conf (this is from my config):
service dict {
unix_listener dict {
mode = 0660
user = vmail
#group =
}
}
>
> If I chmod 777 /var/run/dovecot/dict the error disappears but I get this:
>
> dovecot: imap-login: Login: user=<username>, method=PLAIN, rip=127.0.0.1,
> lip=127.0.0.1, mpid=497913, secured, session=<6R0mYbMFFwB/AAAB>
> dovecot: dict: Error: sql dict set: Invalid/unmapped key:
> shared/last-login/username
Ok, what were you thinking when you defined this pattern =
/shared/last-login/$user ?
I personally don't understand this part of the dovecot config at all..
Let's look into this..
>
>
>
> Ciao,
> luigi
More information about the dovecot
mailing list