Hello there,
I'm trying to use the doveadm expunge function, but it doesn't seems to
work..
I have installed a mail test server using iredmail, Dovecot and postfix
using mysql for authentications.
I sent a email to this server, and change the timestamp using touch.
the mail boxes are as follow :
/home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49/Maildir
I want to delete mails that are, let's say, 1day old from the
"Junk" folder.
(I put the mail I changed the date in it).
I run this command :
doveadm -Dv expunge -u nicolas at mydomain.fr mailbox "Junk"
savedbefore 1d
The mail is still in the "Junk" folder, and I have this output :
root at mail:/home/mail/vmail1# doveadm -Dv expunge -u nicolas at mydomain.fr
mailbox "Junk" savedbefore 1d
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/lib10_quota_plugin.so
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules/doveadm
doveadm(root): Debug: Skipping module doveadm_acl_plugin, because dlopen()
failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so:
undefined symbol: acl_user_module (this is usually intentional, so just
ignore this message)
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so: undefined
symbol: expire_set_deinit (this is usually intentional, so just ignore this
message)
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because dlopen()
failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so:
undefined symbol: i_stream_create_deflate (this is usually intentional, so
just ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because dlopen()
failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so:
undefined symbol: fts_backend_rescan (this is usually intentional, so just
ignore this message)
doveadm(nicolas at mydomain.fr): Debug: Added userdb setting:
plugin/master_user=nicolas at mydomain.fr
doveadm(nicolas at mydomain.fr): Debug: Added userdb setting:
plugin/quota_rule=*:bytes=1073741824
doveadm(nicolas at mydomain.fr): Debug: Effective uid=2000, gid=2000,
home=/home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49/
doveadm(nicolas at mydomain.fr): Debug: Quota root: name=user backend=dict
args=:proxy::quotadict
doveadm(nicolas at mydomain.fr): Debug: Quota rule: root=user mailbox=*
bytes=1073741824 messages=0
doveadm(nicolas at mydomain.fr): Debug: Quota warning: bytes=912680550 (85%)
messages=0 reverse=no command=quota-warning 85 nicolas at mydomain.fr
doveadm(nicolas at mydomain.fr): Debug: Quota warning: bytes=966367641 (90%)
messages=0 reverse=no command=quota-warning 90 nicolas at mydomain.fr
doveadm(nicolas at mydomain.fr): Debug: Quota warning: bytes=1020054732 (95%)
messages=0 reverse=no command=quota-warning 95 nicolas at mydomain.fr
doveadm(nicolas at mydomain.fr): Debug: dict quota: user=nicolas at mydomain.fr,
uri=proxy::quotadict, noenforcing=0
doveadm(nicolas at mydomain.fr): Debug: Namespace : type=private, prefix=,
sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=maildir://home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49//Maildir/:INDEX=//home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49//Maildir/
doveadm(nicolas at mydomain.fr): Debug: maildir++:
root=//home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49//Maildir,
index=, control=,
inbox=//home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49//Maildir,
altdoveadm(nicolas at mydomain.fr): Debug: Namespace : type=shared,
prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children,
subscriptions=yes
location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
doveadm(nicolas at mydomain.fr): Debug: shared: root=/var/run/dovecot, index=,
control=, inbox=, alt
I don't understand, the output seems to be OK, except loading modules at the
begining, but I think there's no effect to expunge command...
Anyone to help me, please ?
Thnaks in advance
Nicolas
--
View this message in context:
http://dovecot.2317879.n4.nabble.com/doveadm-expunge-problems-tp44200.html
Sent from the Dovecot mailing list archive at Nabble.com.