Re: [Dovecot] Autocreate plugin for some domains

2009-10-15 Thread Jose Luis Marin Perez
set That may be happening? Thanks Jose Luis > 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 M

Re: [Dovecot] Autocreate plugin for some domains

2009-10-15 Thread Jose Luis Marin Perez
That may be happening? Thanks Jose Luis > From: jolumape...@hotmail.com > To: dovecot@dovecot.org > Date: Wed, 14 Oct 2009 16:38:50 -0500 > Subject: Re: [Dovecot] Autocreate plugin for some domains > > > Thanks Timo. > > > From: t...@iki.fi > > To: jolumape...@

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: > > workin

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
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. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
unset USER exec $* working correctly, just wanted to ask if I use the variable VPOPUSER not bring trouble? Thanks Jose Luis > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Wed, 14 Oct 2009 12:39:10 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Au

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
set USER exec $* working correctly, just wanted to ask if I use the variable VPOPUSER not bring trouble? Thanks Jose Luis > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Wed, 14 Oct 2009 12:39:10 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Autocreate plu

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
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 comment out: > DOMAIN=`echo $USER|sed s/^.*@//` Maybe it sets $DOMAIN i

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Wed, 14 Oct 2009 12:18:17 -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

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
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 more debugging. Try: > This is the script with the real domain: > > #!/bin/bash > > DO

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
..@iki.fi > To: jolumape...@hotmail.com > Date: Tue, 13 Oct 2009 20:58:47 -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 modifi

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
i > To: jolumape...@hotmail.com > Date: Tue, 13 Oct 2009 20:58:47 -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 modifi

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Timo Sirainen
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 USERDB_AUTOCREATE=INBOX.box1 export USERDB_AUTOCREATE2=INBOX.box2 export EXTRA="USERDB_AUTOCREATE

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
events: mail_log_fields: uid box 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

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 15:31 -0500, Jose Luis Marin Perez wrote: > #!/bin/bash > > DOMAIN=`echo $USER|sed s/^.*@//` > if [ "$DOMAIN" = "domain2.com" ]; then > export USERDB_AUTOCREATE=box1 > export USERDB_AUTOCREATE2=box2 > export EXTRA="USERDB_AUTOCREATE USERDB_AUTOCREATE2" > fi > > unset

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
ERDB_AUTOCREATE=box1 export USERDB_AUTOCREATE2=box2 export EXTRA="USERDB_AUTOCREATE USERDB_AUTOCREATE2" fi unset USER exec $* This properly configured? This would be the same procedure for using any plugins (Example expires) in a certain domain? Thanks Jose Luis > Subject

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 15:58 -0400, Timo Sirainen wrote: > if [ "$DOMAIN" = "domain2.com" ]; then > export AUTOCREATE=box1 > export AUTOCREATE2=box2 > export EXTRA="AUTOCREATE AUTOCREATE2" Oh, actually: export USERDB_AUTOCREATE=box1 export USERDB_AUTOCREATE2=box2 export EXTRA="USERDB_AUTOCRE

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 14:45 -0500, Jose Luis Marin Perez wrote: > Dear Timo, > > Thanks for your reply. > > In the case of having two domains, eg: > > dominio1.com > dominio2.com > > And I just want to use the plugin autocreate for dominio2.com, how could > configure vchkpw-wrapper.sh?

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Jose Luis Marin Perez
domains? Thanks Jose Luis > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Tue, 13 Oct 2009 14:00:11 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Autocreate plugin for some domains > > On Mon, 2009-10-12 at 15:48 -0500, Jose Luis Marin Perez wrote: > &g

Re: [Dovecot] Autocreate plugin for some domains

2009-10-13 Thread Timo Sirainen
On Mon, 2009-10-12 at 15:48 -0500, Jose Luis Marin Perez wrote: > 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 So basically you get the confi

Re: [Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Jose Luis Marin Perez
/vpopmail/domains/%d/%u plugin: quota: maildir quota_rule: ?:storage=0 quota_rule2: Trash:ignore How could create folders to users in certain domains by autocreate plugin? Thanks Jose Luis > Subject: Re: [Dovecot] Autocreate plugin for some domains > From: t...@iki.fi > To:

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 L

Re: [Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Pascal Volk
On 10/12/2009 09:59 PM Jose Luis Marin Perez wrote: > 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 > Please don't hi

Re: [Dovecot] Autocreate plugin for some domains

2009-10-12 Thread Timo Sirainen
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 "Autocreate" only for certain domains? What do you use as userdb? From

[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 fails to subscribe mailbox in public namespace

2009-08-09 Thread Timo Sirainen
On Sun, 2009-08-09 at 15:22 +0200, Stefan Förster wrote: > The autocreate plugin is supposed to subscribe new users to different > mailboxes, one of them being in namespace "Public." - this > subscription to "Public.announcements" fails. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/85e39b7710ee >

[Dovecot] autocreate plugin fails to subscribe mailbox in public namespace

2009-08-09 Thread Stefan Förster
Hi, I'm one step away from replacing a 7 years old qmail/uw-imapd setup with some state of the art soft- and hardware. We got migration scripts and test almost done - just one thing that keeps failing: The autocreate plugin is supposed to subscribe new users to different mailboxes, one of them be

Re: [Dovecot] Autocreate plugin

2009-02-20 Thread Harry Lachanas
Harry Lachanas wrote: I've tried to use the autocreate plugin in order to autosubscribe users to public namespaces. namespace public { prefix = Public2/ separator = / location = maildir:/var/Public2:INDEX=~/Maildir/p-idx:CONTROL=~/Maildir/p-crtl hidden=no s

[Dovecot] Autocreate plugin

2009-02-19 Thread Harry Lachanas
I've tried to use the autocreate plugin in order to autosubscribe users to public namespaces. namespace public { prefix = Public2/ separator = / location = maildir:/var/Public2:INDEX=~/Maildir/p-idx:CONTROL=~/Maildir/p-crtl hidden=no subscriptions=no

Re: [Dovecot] Autocreate plugin

2009-01-19 Thread Timo Sirainen
On Jan 19, 2009, at 7:12 AM, Proskurin Kirill wrote: I found what if you have a something like this: autocreate = Trash autocreate2 = Sent autocreate3 = Spam *Then I delete autocreate2 string* and... autocreate3 will not work. If I add autocreate2 - all work well. Yes it is seems to be right

[Dovecot] Autocreate plugin

2009-01-19 Thread Proskurin Kirill
Hello. I found what if you have a something like this: autocreate = Trash autocreate2 = Sent autocreate3 = Spam *Then I delete autocreate2 string* and... autocreate3 will not work. If I add autocreate2 - all work well. Yes it is seems to be right what they all must go after each otherm but if

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-14 Thread Proskurin Kirill
Hello, Timo. > On Sun, 2008-12-14 at 00:41 +0300, Proskurin Kirill wrote: >> Hm. I update ports and try it again: >> >> mx# cd /usr/ports/mail/dovecot >> mx# make clean >> ===> Cleaning for dovecot-1.1.7_1 >> mx# make extract >> ===> WARNING: Vulnerability database out of date, checking anyway

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
On Sun, 2008-12-14 at 04:41 +0200, Timo Sirainen wrote: > Oh. You haven't run configure at this point, so it's using config.h > that's distributed in the dovecot tarball and reflects my machine's > configuration. That won't work. I'm surprised it worked even this well. > I wonder why the config.h i

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
On Sun, 2008-12-14 at 00:41 +0300, Proskurin Kirill wrote: > Hm. I update ports and try it again: > > mx# cd /usr/ports/mail/dovecot > mx# make clean > ===> Cleaning for dovecot-1.1.7_1 > mx# make extract > ===> WARNING: Vulnerability database out of date, checking anyway > ===> Found saved con

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Proskurin Kirill
Здравствуйте, Yarema. >> The annoying problem with that is that this will happen with ALL >> plugins, not just with autocreate plugin. So it's kind of in the wrong >> wiki page. But people probably won't find it elsewhere.. I'd rather see >> about getting this fixed in FreeBSD port. > I just di

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Yarema
Timo Sirainen wrote: > Yarema, do you have any thoughts on this? > > On Sat, 2008-12-13 at 13:54 +0300, Proskurin Kirill wrote: >>> I'd rather say this is a bug in the FreeBSD ports. If you compiled >>> Dovecot directly from sources you wouldn't have had this problem. >> Well may be. But: > .. >>

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Proskurin Kirill
Hello, Timo. > Yarema, do you have any thoughts on this? > On Sat, 2008-12-13 at 13:54 +0300, Proskurin Kirill wrote: >> > I'd rather say this is a bug in the FreeBSD ports. If you compiled >> > Dovecot directly from sources you wouldn't have had this problem. >> >> Well may be. But: > .. >> wor

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
Yarema, do you have any thoughts on this? On Sat, 2008-12-13 at 13:54 +0300, Proskurin Kirill wrote: > > I'd rather say this is a bug in the FreeBSD ports. If you compiled > > Dovecot directly from sources you wouldn't have had this problem. > > Well may be. But: .. > work/dovecot-1.1.7/config.h:

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Proskurin Kirill
Hello, Timo. > On Sat, 2008-12-13 at 13:08 +0300, Proskurin Kirill wrote: >> Heh - I solve it. >> To make it compile in FreeBSD you need to: >> >> cd /usr/ports/mail/dovecot >> make extract >> mkdir work/dovecot-1.1.*/sys >> locate sysmacros.h >> cp /your/path/to/sysmacros.h work/dovecot-1.1.*/s

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 13:08 +0300, Proskurin Kirill wrote: > Heh - I solve it. > To make it compile in FreeBSD you need to: > > cd /usr/ports/mail/dovecot > make extract > mkdir work/dovecot-1.1.*/sys > locate sysmacros.h > cp /your/path/to/sysmacros.h work/dovecot-1.1.*/sys/ > patch it as sayd a

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Proskurin Kirill
Heh - I solve it. To make it compile in FreeBSD you need to: cd /usr/ports/mail/dovecot make extract mkdir work/dovecot-1.1.*/sys locate sysmacros.h cp /your/path/to/sysmacros.h work/dovecot-1.1.*/sys/ patch it as sayd at wiki. And then all work well. I update wiki now. > Hello all. > I try t

[Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?)

2008-12-12 Thread Proskurin Kirill
Hello all. I try to compile Autocreate plugin for 1.1 in FreeBSD 7.0-p6. gcc version: # gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] But it gives me a: mx# sh -x patch.sh +

Re: [Dovecot] Autocreate plugin for 1.1 - trying to patch under FreeBSD

2008-12-02 Thread Proskurin Kirill
Some one?.. Proskurin Kirill wrote: Здравствуйте, Timo. Вы писали 30 ноября 2008 г., 4:53:48: On Fri, 2008-11-28 at 13:55 +0300, Proskurin Kirill wrote: + export DOVECOT=~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src /src is too much here, as you can see: -I~/usr/ports/mail/dovecot/wor

Re: [Dovecot] Autocreate plugin for 1.1 - trying to patch under FreeBSD

2008-11-30 Thread Proskurin Kirill
Здравствуйте, Timo. Вы писали 30 ноября 2008 г., 4:53:48: > On Fri, 2008-11-28 at 13:55 +0300, Proskurin Kirill wrote: >> + export DOVECOT=~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src > /src is too much here, as you can see: >> -I~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src/src/lib > Th

Re: [Dovecot] Autocreate plugin for 1.1 - trying to patch under FreeBSD

2008-11-29 Thread Timo Sirainen
On Fri, 2008-11-28 at 13:55 +0300, Proskurin Kirill wrote: > + export DOVECOT=~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src /src is too much here, as you can see: > -I~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src/src/lib There's /src/src/ now and that directory doesn't exist. signature.a

[Dovecot] Autocreate plugin for 1.1 - trying to patch under FreeBSD

2008-11-28 Thread Proskurin Kirill
Hello all. I try to add Autocreate plugin patch to my FreeBSD host. I think I make all wrong. Could you tell me how to patch it? What I do: cd /usr/ports/mail/dovecot make extract cd cd work/dovecot-1.1.6/src/ fetch http://www.dovecot.org/patches/1.1/autocreate-plugin.c sh -x /tmp/patch.sh +

Re: [Dovecot] autocreate plugin

2007-10-04 Thread Lars Stavholm
Lars Stavholm wrote: > Did anyone get the autocreate plugin working? > I've compiled, installed and configured, but > no mailboxes/folders are created. Me stupid, works fine, forgot to subscribe. /L

[Dovecot] autocreate plugin

2007-10-01 Thread Lars Stavholm
Did anyone get the autocreate plugin working? I've compiled, installed and configured, but no mailboxes/folders are created. /L