[Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d iterate_query LDAP
Tomislav Mihalicek
tomislav.mihalicek at gmail.com
Tue Aug 31 11:09:39 EEST 2010
hi everyone
after doing this in shell
#/usr/local/dovecot-2.0.1/bin/doveadm expunge -u tmihal mailbox INBOX
savedbefore 1d
everything is working as it should but ...
#/usr/local/dovecot-2.0.1/bin/doveadm expunge -A mailbox INBOX savedbefore
1d
doveadm(root): Error: userdb list: Disconnected unexpectedly
doveadm: Error: Failed to iterate through some users
#cat /etc/dovecot2/dovecot-ldap.conf
tls = no
hosts = blah
ldap_version = 3
auth_bind = no
dn = blah.blah
dnpass = blah
scope = onelevel
deref = never
pass_attrs = userPassword=password
default_pass_scheme = CRYPT
user_attrs =
mail=%u,homeDirectory=home,mailQuotaSize=quota_rule=*:bytes=%$,mailQuotaCount=quota_rule2=*:messages=%$
base = ou=accounts,dc=xnet,dc=hr
user_filter =
(&(objectClass=qmailUser)(accountStatus=enabled)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(mailAlternateAddress=%u)))
pass_filter =
(&(objectClass=qmailUser)(accountStatus=enabled)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(mailAlternateAddress=%u)))
# Attributes and filter to get a list of all users
iterate_attrs = mail=%u
iterate_filter = (objectClass=qmailUser)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: master in: LIST 1
Aug 31 10:03:35 cartman2 dovecot: auth: Fatal: net_connect_unix(auth-worker)
failed: Permission denied
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: Loading modules from
directory: /usr/local/dovecot-2.0.1/lib/dovecot/auth
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: passwd-file
/etc/dovecot/passwd.masterusers: Read 1 users
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17731)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17729)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17734)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17735)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17737)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17739)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17742)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17741)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17740)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17730)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17738)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17733)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17743)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17728)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17736)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: auth client connected
(pid=17732)
any clues?
--
View this message in context: http://old.nabble.com/doveadm-expunge--A-mailbox-Trash-savedbefore-30d-iterate_query-LDAP-tp29580393p29580393.html
Sent from the Dovecot mailing list archive at Nabble.com.
More information about the dovecot
mailing list