[Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
Dear Timo thank you for the help your giving me these. I want to set expire plugin only for some domains in the same way I set autocreate plugin. vchkpw-wrapper.sh #!/bin/bash DOMAIN=`echo $VPOPUSER|sed s/^.*@//` echo $USER /tmp/autocreate echo $DOMAIN /tmp/autocreate if [

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
/dovecot-dict-expire.conf Subject: Re: [Dovecot] Expire plugin per domain From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Tue, 20 Oct 2009 16:25:29 -0400 On Tue, 2009-10-20 at 10:00 -0500, Jose Luis Marin Perez wrote: My problem is that I have no idea how

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
Thanks Timo From: t...@iki.fi To: jolumape...@hotmail.com Date: Tue, 20 Oct 2009 16:46:52 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Expire plugin per domain On Tue, 2009-10-20 at 15:43 -0500, Jose Luis Marin Perez wrote: DOMAIN=`echo $VPOPUSER|sed s/^.*@//` .. vchkpw

Re: [Dovecot] Expire plugin in chkpw-wrapper.sh script

2009-10-19 Thread Jose Luis Marin Perez
Subject: Re: [Dovecot] Expire plugin in chkpw-wrapper.sh script From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Thu, 15 Oct 2009 21:21:02 -0400 On Thu, 2009-10-15 at 14:32 -0500, Jose Luis Marin Perez wrote: I'm trying to extend the configuration of vchkpw

Re: [Dovecot] Expire plugin in chkpw-wrapper.sh script

2009-10-16 Thread Jose Luis Marin Perez
plugin in chkpw-wrapper.sh script On Thu, 2009-10-15 at 14:32 -0500, Jose Luis Marin Perez wrote: I'm trying to extend the configuration of vchkpw-wrapper.sh script by adding the expire plugin as follows: .. /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire

[Dovecot] Problems compiling dovecot 1.2 with vpopmail

2009-10-16 Thread Jose Luis Marin Perez
Dear sirs I try to update dovecot from 1.1.16 to 1.2.6. But when compiling dovecot 1.2.6 get the following error: libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecot-auth auth.o

Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail

2009-10-16 Thread Jose Luis Marin Perez
Friends, More information: The problem is with dovecot 1.2.6 and 1.2.5 With Dovecot 1.2.4 no problems. Thanks Jose Luis From: jolumape...@hotmail.com To: dovecot@dovecot.org Date: Fri, 16 Oct 2009 11:56:45 -0500 Subject: [Dovecot] Problems compiling dovecot 1.2 with vpopmail

Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail

2009-10-16 Thread Jose Luis Marin Perez
] Problems compiling dovecot 1.2 with vpopmail From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Fri, 16 Oct 2009 14:56:20 -0400 On Fri, 2009-10-16 at 11:56 -0500, Jose Luis Marin Perez wrote: /usr/local/src/dovecot/dovecot-1.2.6/src/auth/userdb-vpopmail.c:163

Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail‏

2009-10-16 Thread Jose Luis Marin Perez
/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

Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail‏

2009-10-16 Thread Jose Luis Marin Perez
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

Re: [Dovecot] Problems compiling dovecot 1.2 with vpopmail‏

2009-10-16 Thread Jose Luis Marin Perez
...@iki.fi To: jolumape...@hotmail.com CC: dovecot@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

Re: [Dovecot] Autocreate plugin for some domains

2009-10-15 Thread Jose Luis Marin Perez
for some domains On Wed, 2009-10-14 at 16:33 -0500, Jose Luis Marin Perez wrote: working correctly, just wanted to ask if I use the variable VPOPUSER not bring trouble? Anything that works is fine

Re: [Dovecot] Autocreate plugin for some domains

2009-10-15 Thread Jose Luis Marin Perez
To: jolumape...@hotmail.com Date: Wed, 14 Oct 2009 17:37:25 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Wed, 2009-10-14 at 16:33 -0500, Jose Luis Marin Perez wrote: working correctly, just wanted to ask if I use the variable VPOPUSER not bring

[Dovecot] Expire plugin in chkpw-wrapper.sh script

2009-10-15 Thread Jose Luis Marin Perez
Dear Sirs, I'm trying to extend the configuration of vchkpw-wrapper.sh script by adding the expire plugin as follows: #!/bin/bash DOMAIN=`echo $VPOPUSER|sed s/^.*@//` if [ $DOMAIN = operaciones.qnet.com.pe ]; then export USERDB_AUTOCREATE=INBOX.Spam export

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
-0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Oct 13, 2009, at 6:32 PM, Jose Luis Marin Perez wrote: Additionally I have made this modification: #!/bin/bash DOMAIN=`echo $USER|sed s/^.*@//` if [ $DOMAIN = domain2.com ]; then export

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
-0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Tue, 2009-10-13 at 22:53 -0500, Jose Luis Marin Perez wrote: I added the line you mentioned echo yeah i got here /tmp/autocreate and did not create the file /tmp/autocreate Then it needs

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Wed, 2009-10-14 at 11:37 -0500, Jose Luis Marin Perez wrote: These are the results: more /tmp/autocreate jmarin jmarin Oh, right, that's because of vchkpw that drops the @domain out of $USER. What if you simply

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Wed, 2009-10-14 at 11:37 -0500, Jose Luis Marin Perez wrote: These are the results: more /tmp/autocreate jmarin jmarin Oh, right, that's because of vchkpw that drops the @domain out of $USER. What

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Thanks Timo. From: t...@iki.fi To: jolumape...@hotmail.com Date: Wed, 14 Oct 2009 17:37:25 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Wed, 2009-10-14 at 16:33 -0500, Jose Luis Marin Perez wrote: working correctly, just wanted to ask if I

[Dovecot] Userdb prefetch vpopmail and autocreate plugin

2009-10-13 Thread Jose Luis Marin Perez
Dear Sirs Yesterday consulted regarding autocreate plugin. Userdb is configured as prefetch and vpopmail. I need to configure the plugin autocreate for users of some domains that have hosted on the server. How can I configure it? Thanks Jose Luis dovecot -n # 1.1.16:

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
Dear Timo, I am currently using the vchkpw-wrapper.sh script to register users connected to the server. So adding the configuration that tells me and would be as follows: #!/bin/bash DOMAIN=`echo $USER|sed s/^.*@//` if [ $DOMAIN = domain2.com ]; then export USERDB_AUTOCREATE=box1

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
msgid size dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf Subject: Re: [Dovecot] Autocreate plugin for some domains From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Tue, 13 Oct 2009 17:58:43 -0400 On Tue, 2009-10-13 at 15:31 -0500, Jose Luis Marin

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Oct 13, 2009, at 6:32 PM, Jose Luis Marin Perez wrote: Additionally I have made this modification: #!/bin/bash DOMAIN=`echo $USER|sed s/^.*@//` if [ $DOMAIN = domain2.com ]; then export

[Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Jose Luis Marin Perez
Thanks In my mail server are hosted multiple domains, I need to create folders automatically only to users of certain domains, it is feasible to use the plugin Autocreate only for certain domains? Thanks Jose Luis

Re: [Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Jose Luis Marin Perez
quota_rule2: Trash:ignore Thanks Jose Luis From: t...@iki.fi To: jolumape...@hotmail.com Date: Mon, 12 Oct 2009 16:03:18 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Mon, 2009-10-12 at 14:59 -0500, Jose Luis Marin Perez wrote: In my mail

Re: [Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Jose Luis Marin Perez
...@hotmail.com CC: dovecot@dovecot.org Date: Mon, 12 Oct 2009 16:03:18 -0400 On Mon, 2009-10-12 at 14:59 -0500, Jose Luis Marin Perez wrote: In my mail server are hosted multiple domains, I need to create folders automatically only to users of certain domains, it is feasible to use the plugin

[Dovecot] Move SPAM into SPAM folder

2009-09-17 Thread Jose Luis Marin Perez
Dear Sirs, I need to know how can I automatically move all emails that are considered as SPAM to a specific directory called SPAM. The server has installed Dovecot + Qmail + Vpopmail + Simscan + Spamassassin + ClamAV. dovecot -n # 1.1.16: /usr/local/etc/dovecot.conf # OS: Linux

Re: [Dovecot] Problems with Expire Plugin

2009-07-13 Thread Jose Luis Marin Perez
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(jma...@sistemasunidos.com ): userdb lookup not possible

Re: [Dovecot] Problems with Expire Plugin

2009-07-12 Thread Jose Luis Marin Perez
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(jma...@sistemasunidos.com ): userdb lookup not possible with only userdb prefetch Yeah, that's

Re: [Dovecot] Problems with Expire Plugin

2009-07-11 Thread Jose Luis Marin Perez
to work? Unfortunately X-SAVEDATE doesn't work with current 1.2 versions, because of a bug. If you want to look at them, you can apply this patch to v1.2.1: http://hg.dovecot.org/dovecot-1.2/rev/f353c5b71097 On Fri, 2009-07-10 at 10:58 -0500, Jose Luis Marin Perez wrote: Dear Timo

Re: [Dovecot] Problems with Expire Plugin

2009-07-10 Thread Jose Luis Marin Perez
On Thu, 2009-07-09 at 12:12 -0500, Jose Luis Marin Perez wrote: Now my problem is with expire-tool because it is not deleting the emails in the folder that has been marked by Expire Plugin. Did you read how exactly it works? http://wiki.dovecot.org/Plugins/Expire

Re: [Dovecot] Problems with Expire Plugin

2009-07-10 Thread Jose Luis Marin Perez
:58 -0500, Jose Luis Marin Perez wrote: Dear Timo, As I understand with regard to Expire plugin is marking the folder will be deleted in a certain amount of days and that the deletion is performed by expire-tool Expire plugin works correctly, and I can check on the database

Re: [Dovecot] Problems with Expire Plugin

2009-07-09 Thread Jose Luis Marin Perez
: dovecot@dovecot.org Date: Tue, 7 Jul 2009 23:44:43 -0400 On Tue, 2009-07-07 at 14:42 -0500, Jose Luis Marin Perez wrote: I made the change but still tells me that does not register any information in the table expires. I don't really know. Try if you can get it to work with v1.2 + http

Re: [Dovecot] Problems with Expire Plugin

2009-07-09 Thread Jose Luis Marin Perez
Subject: Re: [Dovecot] Problems with Expire Plugin From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Thu, 9 Jul 2009 14:57:19 -0400 On Thu, 2009-07-09 at 12:12 -0500, Jose Luis Marin Perez wrote: Now my problem is with expire-tool because it is not deleting

[Dovecot] Problems with Expire Plugin

2009-07-07 Thread Jose Luis Marin Perez
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:

Re: [Dovecot] Problems with Expire Plugin

2009-07-07 Thread Jose Luis Marin Perez
Hi Timo, But the Quota plugin if it works what is not working on the Expire plugin. I have to add some additional configuration to send to my email earlier? Thanks Jose Luis Subject: Re: [Dovecot] Problems with Expire Plugin From: t...@iki.fi To: dovecot@dovecot.org CC:

Re: [Dovecot] Problems with Expire Plugin

2009-07-07 Thread Jose Luis Marin Perez
? Thanks Jose Luis Subject: Re: [Dovecot] Problems with Expire Plugin From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Tue, 7 Jul 2009 15:04:23 -0400 On Tue, 2009-07-07 at 14:01 -0500, Jose Luis Marin Perez wrote: Hi Timo, But the Quota plugin if it works

Re: [Dovecot] Urgent problem with deleting emails and maildirsize

2009-07-03 Thread Jose Luis Marin Perez
Jose Luis Marin Perez: When calculating the quota through maildirsize did not consider the emails with flag T. What's the point of having a quota if users can circumvent it by simply labeling their messages as deleted? In all truth, if it weren't for the expunge command, the \Deleted

[Dovecot] Problem no update maildirsize

2009-07-02 Thread Jose Luis Marin Perez
Dears Sirs, I've noticed that since the Courier to Dovecot migration have had few problems with the %usage of email accounts as they do not reflect the real use, to fix this I have to manually delete the file maildirsize and run the command vuserinfo u...@domain.com, depending on your

Re: [Dovecot] Problem no update maildirsize

2009-07-02 Thread Jose Luis Marin Perez
Dear Sirs, Doing the analysis I have seen that when a new mail arrives updates maildirsize but when delete any email no update maildirsize. I need to add some configuration dovecot.conf? Thanks From: jolumape...@hotmail.com To: dovecot@dovecot.org Date: Thu, 2 Jul 2009 09:50:07 -0500

[Dovecot] Urgent problem with deleting emails and maildirsize

2009-07-02 Thread Jose Luis Marin Perez
Dears Sirs, I hope they can help me with this problem since it is urgent. I've completed the migration from Courier to Dovecot that has been running correctly, the only problem is that maildirsize file is not updated when you delete the emails, resulting in accounts that reach to 100% faster,

Re: [Dovecot] Urgent problem with deleting emails and maildirsize

2009-07-02 Thread Jose Luis Marin Perez
To: dovecot@dovecot.org Subject: Re: [Dovecot] Urgent problem with deleting emails and maildirsize On Qui, 02 Jul 2009, Jose Luis Marin Perez wrote: Dears Sirs, I hope they can help me with this problem since it is urgent. I've completed the migration from Courier to Dovecot that has

Re: [Dovecot] Urgent problem with deleting emails and maildirsize

2009-07-02 Thread Jose Luis Marin Perez
, 2 Jul 2009 15:11:46 -0300 From: edua...@kalinowski.com.br To: dovecot@dovecot.org Subject: Re: [Dovecot] Urgent problem with deleting emails and maildirsize On Qui, 02 Jul 2009, Jose Luis Marin Perez wrote: Thanks for your response Eduardo. Apologies to the list by the rush and lack

Re: [Dovecot] Urgent problem with deleting emails and maildirsize

2009-07-02 Thread Jose Luis Marin Perez
Jose Luis CC: dovecot@dovecot.org From: t...@iki.fi To: jolumape...@hotmail.com Subject: Re: [Dovecot] Urgent problem with deleting emails and maildirsize Date: Thu, 2 Jul 2009 22:44:36 +0200 On Jul 2, 2009, at 8:57 PM, Jose Luis Marin Perez wrote: I told you that before migrating from

[Dovecot] Problem with maildirsize

2009-07-01 Thread Jose Luis Marin Perez
Dear Timo, I've noticed that since the Courier to Dovecot migration have had few problems with the %usage of email accounts as they do not reflect the real use, to fix this I have to manually delete the file maildirsize and run the command vuserinfo u...@domain.com, depending on your experience

Re: [Dovecot] Asked about Dovecot Logging

2009-06-24 Thread Jose Luis Marin Perez
Dear Timo, What is the difference between these options? Thanks Jose Luis From: t...@iki.fi To: jolumape...@hotmail.com Date: Wed, 24 Jun 2009 01:40:04 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Asked about Dovecot Logging On Jun 24, 2009, at 1:23 AM, Jose Luis

Re: [Dovecot] Asked about Dovecot Logging

2009-06-24 Thread Jose Luis Marin Perez
lookup from it). With static userdb you're using those static values that you manually specified. On Jun 24, 2009, at 2:44 AM, Jose Luis Marin Perez wrote: Dear Timo, What is the difference between these options? Thanks Jose Luis From: t...@iki.fi To: jolumape

[Dovecot] Asked about Dovecot Logging

2009-06-23 Thread Jose Luis Marin Perez
Dear Sirs, I was able to migrate successfully from Courier-Imap to Dovecot, Timo I appreciate your help. I have notices that the file /var/log/dovecot.log shows the following: dovecot: Jun 23 15:04:05 Info: imap-login: Login: user=dtoledo, method=PLAIN, rip=172.16.10.15,

Re: [Dovecot] Asked about Dovecot Logging

2009-06-23 Thread Jose Luis Marin Perez
: dovecot@dovecot.org Subject: Re: [Dovecot] Asked about Dovecot Logging On Tue, 2009-06-23 at 15:04 -0500, Jose Luis Marin Perez wrote: Given that there are several domains hosted on the server, how can I configure Dovecot to the log file shows the full user name. It does that. Which

Re: [Dovecot] Asked about Dovecot Logging

2009-06-23 Thread Jose Luis Marin Perez
From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Tue, 23 Jun 2009 18:39:20 -0400 On Tue, 2009-06-23 at 17:16 -0500, Jose Luis Marin Perez wrote: passdb: driver: checkpassword args: /usr/vpopmail/bin/vchkpw It's vchkpw. You could work around it with something

[Dovecot] Consultation before migration

2009-06-22 Thread Jose Luis Marin Perez
I have a consultation before making my migration process from Courier-IMAP to Dovecot. I have installed Courier-Imap 4.4.1 and I will do the migration to Dovecot 1.1.16, my query is that script I use courier-dovecot-migrate.pl or courier-dovecot-migrate-1.0.pl? considering that only work with

Re: [Dovecot] Consultation before migration

2009-06-22 Thread Jose Luis Marin Perez
On Mon, 2009-06-22 at 17:05 -0500, Jose Luis Marin Perez wrote: I have a consultation before making my migration process from Courier-IMAP to Dovecot. I have installed Courier-Imap 4.4.1 and I will do the migration to Dovecot 1.1.16, my query is that script I use courier-dovecot

Re: [Dovecot] Consultation before migration

2009-06-22 Thread Jose Luis Marin Perez
...@hotmail.com CC: dovecot@dovecot.org Date: Mon, 22 Jun 2009 18:51:09 -0400 On Mon, 2009-06-22 at 17:48 -0500, Jose Luis Marin Perez wrote: Dear Timo, Another query, the script courier-dovecot-migrate.pl works properly when used alone IMAP? It should, but I've recently done some

Re: [Dovecot] Problem migration from Courier-Imap to Dovecot

2009-06-19 Thread Jose Luis Marin Perez
@dovecot.org Date: Thu, 18 Jun 2009 19:14:50 -0400 On Thu, 2009-06-18 at 18:03 -0500, Jose Luis Marin Perez wrote: Thanks for your reply. Please could explain to you mean that the client has not subscribed to the mailbox? Mailbox subscriptions are kind of like bookmarks. It's not necessary

[Dovecot] Problem migration from Courier-Imap to Dovecot

2009-06-18 Thread Jose Luis Marin Perez
Dear friends, My intention is to migrate from Courier-Imap Dovecot 4.4.1 to 1.1.16, the problem is that I've noticed that when creating folders using the Courier does not create the file courierimapsubscribed therefore I doubt if this will bring me problems trying to perform the migration

Re: [Dovecot] Problem migration from Courier-Imap to Dovecot

2009-06-18 Thread Jose Luis Marin Perez
] Problem migration from Courier-Imap to Dovecot From: t...@iki.fi To: jolumape...@hotmail.com CC: dovecot@dovecot.org Date: Thu, 18 Jun 2009 18:42:46 -0400 On Thu, 2009-06-18 at 17:35 -0500, Jose Luis Marin Perez wrote: Dear friends, My intention is to migrate from Courier-Imap