[Dovecot] a strange doveadm behavior

fakessh @ fakessh at fakessh.eu
Thu Apr 7 00:55:13 EEST 2011


I add this to my config file

  unix_listener auth-userdb {
    mode = 0666
  }



and the error is  :
fakessh at r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore 30d
doveadm(dkimproxy): Fatal: seteuid(0) failed: Operation not permitted


work in root


Le mercredi 06 avril 2011 à 19:37 +0200, fakessh @ a écrit :
> hi timo
> very very good job you realize for the community
> 
> here I have a very strange problem with doveadm
> I actually use a configuration file parameters in which the parameters
> are placed carefully
> 
> My problem appears when I run this command
> doveadm expunge -A mailbox Trash savedbefore 30d
> i post command and result to the terminal
> [fakessh at r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore 30d
> doveadm(fakessh): Error: userdb lookup:
> connect(/var/run/dovecot//auth-userdb) failed: Permission denied
> (euid=514(fakessh) egid=100(users) missing +r
> perm: /var/run/dovecot//auth-userdb, euid is not dir owner)
> doveadm: Error: Failed to iterate through some users
> [root at r13151 ~]$ chmod +r  /var/run/dovecot/auth-userdb 
> [fakessh at r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore 30d
> doveadm(fakessh): Error: userdb lookup:
> connect(/var/run/dovecot//auth-userdb) failed: Permission denied
> (euid=514(fakessh) egid=100(users) missing +w
> perm: /var/run/dovecot//auth-userdb, euid is not dir owner)
> doveadm: Error: Failed to iterate through some users
> [root at r13151 ~]# chmod og+w  /var/run/dovecot/auth-userdb
> [fakessh at r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore 30d
> doveadm(dkimproxy): Fatal: seteuid(0) failed: Operation not permitted
> [fakessh at r13151 ~]$ 
> 
> any kind of discussion would be welcome
> 
-- 
gpg --keyserver pgp.mit.edu --recv-key 092164A7
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://dovecot.org/pipermail/dovecot/attachments/20110406/233f28cf/attachment.bin 


More information about the dovecot mailing list