Dear Sirs, I try to configure expire plugin to delete emails older than 7 days from the Papelera folder, but I do not see any information recorded in the expires table, although there are emails that were copied before and after configuring the plugin. dovecot -n # 1.1.16: /usr/local/etc/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl-disable=yes, no non-plaintext auth mechanisms. # OS: Linux 2.6.9-67.0.7.EL i686 CentOS release 4.6 (Final) log_path: /var/log/dovecot.log protocols: imap listen: *:10143 ssl_disable: yes login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login first_valid_uid: 89 last_valid_uid: 89 first_valid_gid: 89 last_valid_gid: 89 mail_uid: 89 mail_gid: 89 mail_location: maildir:~/Maildir mail_debug: yes mail_plugins: quota imap_quota autocreate expire namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: passdb: driver: checkpassword args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh userdb: driver: prefetch args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u socket: type: listen master: path: /usr/local/var/run/dovecot/auth-master mode: 384 user: root group: root plugin: quota: maildir quota_rule: ?:storage=0 quota_rule2: Trash:ignore quota_rule3: Papelera:ignore expire: Papelera 7 Papelera/* 7 expire_dict: proxy::expire auth_socket_path: /usr/local/var/run/dovecot/auth-master autocreate: INBOX.Papelera autosubscribe: INBOX.Papelera dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf /usr/local/etc/dovecot-dict-expire.conf connect = host=localhost dbname=expunge user=expireuser password=expirepass # v1.1 only: table = expires select_field = expire_stamp where_field = mailbox username_field = not_used mysql> describe expires; +--------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +--------------+--------------+------+-----+---------+-------+ | mailbox | varchar(255) | | PRI | | | | expire_stamp | int(11) | | | 0 | | +--------------+--------------+------+-----+---------+-------+ mysql> select * from expires; Empty set (0.00 sec) May be missing some configuration to work? Thanks Jose Luis _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
On Tue, 2009-07-07 at 12:05 -0500, Jose Luis Marin Perez wrote:> namespace: > type: private > separator: . > prefix: INBOX. > inbox: yes > list: yes > subscriptions: yes..> quota: maildir > quota_rule: ?:storage=0 > quota_rule2: Trash:ignorequota_rule2 = INBOX.Trash:ignore> quota_rule3: Papelera:ignorequota_rule3 = INBOX.Papelera:ignore> expire: Papelera 7 Papelera/* 7expire = INBOX.Papelera 7 Papelera.* 7> autocreate: INBOX.Papelera > autosubscribe: INBOX.PapeleraJust like here. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20090707/48ccf90c/attachment.bin
Jose Luis Marin Perez
2009-Oct-16 19:27 UTC
[Dovecot] Problems compiling dovecot 1.2 with vpopmail
Dear Timo, This recommendation was made in July 2009 when I ask you about the operation of expiration plugin. I forward email. It is possible to solve this problem with Dovecot 1.2.6 or use dovecot 1.2.4? Thanks Jose Luis> From: tss at iki.fi > To: jolumape_al at hotmail.com > Date: Sun, 12 Jul 2009 15:52:50 -0400 > CC: dovecot at dovecot.org > Subject: Re: [Dovecot] Problems with Expire Plugin > > Then you'll need to figure out some other userdb that lets Doveot get > those directories with a userdb lookup. Have you tried userdb > vpopmail? You can still keep using userdb prefetch for imap/pop3, just > add the userdb vpopmail after the prefetch. > > On Jul 12, 2009, at 3:20 PM, Jose Luis Marin Perez wrote: > > > > > Dear Timo, > > > > Thankas for your reply. > > > > Initially I configure static userdb static and worked for all accounts > > except for those with the directory with the following format > > > > /usr/vpopmail/domain/sistemasunidos/0/jmarin > > /usr/vpopmail/domain/sistemasunidos/1/lcampo > > > > So I had to configure userdb prefetch > > > > How could solve this problem because I have many accounts that have > > the format described above > > > > Thanks > > > > Jose Luis > > > >> CC: dovecot at dovecot.org > >> From: tss at iki.fi > >> To: jolumape_al at hotmail.com > >> Subject: Re: [Dovecot] Problems with Expire Plugin > >> Date: Sun, 12 Jul 2009 14:20:19 -0400 > >> > >> On Jul 11, 2009, at 2:36 AM, Jose Luis Marin Perez wrote: > >> > >>> When running expire-tool --test shows the following message on > >>> dovecot.log: > >>> > >>> dovecot: Jul 11 02:05:12 Error: auth(default): prefetch(jmarin at sistemasunidos.com > >>> ): userdb lookup not possible with only userdb prefetch > >> > >> Yeah, that's probably the reason it's not working. Dovecot needs to > >> figure out user's userdb configuration but you've only configured > >> userdb prefetch. You'd need to configure another userdb after the > >> prefetch that allows Dovecot to do userdb lookups (without first > >> authenticating, it doesn't know the users' passwords). > >> > >>>> passdb: > >>>> driver: checkpassword > >>>> args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh > >>>> userdb: > >>>> driver: prefetch > >>>> args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u > >> > >> Looks like you're trying to use userdb prefetch as if it were userdb > >> static. Those "args" in prefetch are ignored completely. If all your > >> users use those uid/gid/home, perhaps you should be using userdb > >> static instead of prefetch? > >> > > > > _________________________________________________________________ > > Discover the new Windows Vista > > http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE >_________________________________________________________________ Connect to the next generation of MSN Messenger? http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
Jose Luis Marin Perez
2009-Oct-16 22:56 UTC
[Dovecot] Problems compiling dovecot 1.2 with vpopmail
Hi Timo, When you compile dovecot with the option --without-vpopmail I get this error: ../login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x7a2):/usr/local/src/dovecot/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:648: undefined reference to `SSL_COMP_get_name' ../login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x11fe): In function `ssl_proxy_ctx_init': /usr/local/src/dovecot/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:818: undefined reference to `SSL_CTX_set_info_callback' collect2: ld returned 1 exit status make[3]: *** [imap-login] Error 1 make[3]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src/imap-login' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6' make: *** [all] Error 2 There is some patch to fix this? Information: CentOS4.6 openssl-0.9.7a-43.17.el4_7.2 Thanks Jose Luis> Subject: Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail? > From: tss at iki.fi > To: jolumape_al at hotmail.com > CC: dovecot at dovecot.org > Date: Fri, 16 Oct 2009 15:37:38 -0400 > > On Fri, 2009-10-16 at 14:27 -0500, Jose Luis Marin Perez wrote: > > Dear Timo, > > > > This recommendation was made in July 2009 when I ask you about the operation of expiration plugin. > > But since then you talked about wanting per-user expire settings and > that can't work with userdb vpopmail, so I recommended userdb > checkpassword: http://dovecot.org/list/dovecot/2009-October/043745.html > > > It is possible to solve this problem with Dovecot 1.2.6 or use dovecot 1.2.4? > > I don't think userdb vpopmail is going to help you, but you could get > 1.2.6 compiled by just deleting the vauth_open() line from code. I'll > need to figure out something more permanent for it later. >_________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
Jose Luis Marin Perez
2009-Oct-16 23:26 UTC
[Dovecot] Problems compiling dovecot 1.2 with vpopmail
Hi Timo, Now get this error: /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap-login client.o client-authenticate.o imap-proxy.o ../login-common/liblogin-common.a ../lib-imap/libimap.a ../lib-auth/libauth.a ../lib/liblib.a -lssl -lcrypto -ldl -lrt libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap-login client.o client-authenticate.o imap-proxy.o ../login-common/liblogin-common.a ../lib-imap/libimap.a ../lib-auth/libauth.a ../lib/liblib.a -lssl -lcrypto -ldl -lrt ../login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x11ca): In function `ssl_proxy_ctx_init': /usr/local/src/dovecot/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:824: undefined reference to `SSL_CTX_set_info_callback' collect2: ld returned 1 exit status make[3]: *** [imap-login] Error 1 make[3]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src/imap-login' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6' make: *** [all] Error 2 Thanks Jose Luis> From: jolumape_al at hotmail.com > To: tss at iki.fi > Date: Fri, 16 Oct 2009 17:56:22 -0500 > CC: dovecot at dovecot.org > Subject: Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail? > > > Hi Timo, > > When you compile dovecot with the option --without-vpopmail I get this error: > > ../login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x7a2):/usr/local/src/dovecot/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:648: undefined reference to `SSL_COMP_get_name' > ../login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x11fe): In function `ssl_proxy_ctx_init': > /usr/local/src/dovecot/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:818: undefined reference to `SSL_CTX_set_info_callback' > collect2: ld returned 1 exit status > make[3]: *** [imap-login] Error 1 > make[3]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src/imap-login' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/dovecot/dovecot-1.2.6' > make: *** [all] Error 2 > > There is some patch to fix this? > > Information: > CentOS4.6 > openssl-0.9.7a-43.17.el4_7.2 > > Thanks > > Jose Luis > > > Subject: Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail? > > From: tss at iki.fi > > To: jolumape_al at hotmail.com > > CC: dovecot at dovecot.org > > Date: Fri, 16 Oct 2009 15:37:38 -0400 > > > > On Fri, 2009-10-16 at 14:27 -0500, Jose Luis Marin Perez wrote: > > > Dear Timo, > > > > > > This recommendation was made in July 2009 when I ask you about the operation of expiration plugin. > > > > But since then you talked about wanting per-user expire settings and > > that can't work with userdb vpopmail, so I recommended userdb > > checkpassword: http://dovecot.org/list/dovecot/2009-October/043745.html > > > > > It is possible to solve this problem with Dovecot 1.2.6 or use dovecot 1.2.4? > > > > I don't think userdb vpopmail is going to help you, but you could get > > 1.2.6 compiled by just deleting the vauth_open() line from code. I'll > > need to figure out something more permanent for it later. > > > > _________________________________________________________________ > Explore the seven wonders of the world > http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE_________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE