Re: [Dovecot] last hope... public namespace and directory structure

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 09:53 +0200, Daniel Fischer wrote: > The file passwd for those 3 samples looks like this: > > sales@$DOMAIN::5000:5000::/var/mail/vhosts/$DOMAIN/public/.sales > > service@$DOMAIN::5000:5000::/var/mail/vhosts/$DOMAIN/public/.service > > purchase@$DOMAIN::5000:5000::/var/mai

Re: [Dovecot] Mail migration to dovecot with doveadm backup

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 15:10 +0200, Reinhard Vicinus wrote: > Hi, > > if i delete the home directory and all content below an existing account > u...@example.org. Then run: > > /usr/bin/doveadm quota recalc -u u...@example.org Are you sure quota recalc makes a difference here? What if you simply

Re: [Dovecot] permissions on auth-userdb

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 08:34 -0400, Charles Marcus wrote: > On 2012-06-27 8:29 AM, Timo Sirainen wrote: > > On 23.6.2012, at 13.34, Charles Marcus wrote: > >> It would be nice if there were a wiki page specifically describing > >> how permissions should be set for all of the services/directories >

Re: [Dovecot] indexer-worker

2012-06-27 Thread Timo Sirainen
On Thu, 2012-06-28 at 07:54 +0200, Wojciech Puchar wrote: > why this process (which most probably do squat index/update) runs as root, > not - like imap process - as user? > > 29413 root 1 760 22820K 9204K kqread 1 0:17 5.86% > indexer-worker It runs as root while not real

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 19:08 -0700, Joseph Tam wrote: > > I dont known about Angel, but for me is useful because sometimes i need to > > deactivate smtp/imap/pop access from accounts, or change their home after > > storage migration, and removing a specific record i can use a long time > > cache. >

Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 22:18 +0200, Edgar Fuß wrote: > With 1.2, is there a syntax to, for LDAP lookups, use a given fixed > replacement for a non-present LDAP attribute? > E.g. something that would extend > user_attrs = mailFileServer=mail=maildir:/import/mail/%$/%d > to use maildir:/import/

[Dovecot] indexer-worker

2012-06-27 Thread Wojciech Puchar
why this process (which most probably do squat index/update) runs as root, not - like imap process - as user? 29413 root 1 760 22820K 9204K kqread 1 0:17 5.86% indexer-worker

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Joseph Tam
Francisco Wagner C. Freire writes: On Wed, Jun 27, 2012 at 9:24 AM, Timo Sirainen wrote: On 27.6.2012, at 14.10, Angel L. Mateo wrote: We have dovecot configured with auth cache. Is there any way to remove a specific entry (not all) from this cache? Nope. What do you need it for?

Re: [Dovecot] Setting up mixed mbox and maildir

2012-06-27 Thread Jonathan Ryshpan
On Wed, 2012-06-27 at 17:30 +0300, Timo Sirainen wrote: > On 27.6.2012, at 0.19, Jonathan Ryshpan wrote: > > >> If you are working with 2.0 or later dovecot, you should be at > >> http://wiki2.dovecot.org/Namespaces > > > > I am using 2.1.7 . I surmise from this Namespace page that the form: > >

[Dovecot] Default for non-present LDAP attributes?

2012-06-27 Thread Edgar Fuß
With 1.2, is there a syntax to, for LDAP lookups, use a given fixed replacement for a non-present LDAP attribute? E.g. something that would extend user_attrs = mailFileServer=mail=maildir:/import/mail/%$/%d to use maildir:/import/mail/foo/%d in case the mailFileServer attribute is not pre

Re: [Dovecot] started with dovecot sieve

2012-06-27 Thread Daniel Parthey
Rolf wrote: > LMTP would be new to me and I fear just other hard-to-understand > configuration topics. LMTP (Lightweight Message Transfer Protocol) is really simple, similar to SMTP, but immediately returns a status code which tells whether the delivery has been successful or not. I encourage you

Re: [Dovecot] The deleted_to_trash Plugin (workaround Outlook 2007 behaviour)

2012-06-27 Thread J E Lyon
On 27 Jun 2012, at 19:27, Bradley Giesbrecht wrote: > On Jun 27, 2012, at 9:10 AM, J E Lyon wrote: > >> Hi, >> >> I see this plugin exists for v1 & v2, all very interesting... Surprised no >> one seems to have created an RPM and it looks like deleted_to_trash is one >> of the very few plugins

Re: [Dovecot] The deleted_to_trash Plugin (workaround Outlook 2007 behaviour)

2012-06-27 Thread Bradley Giesbrecht
On Jun 27, 2012, at 9:10 AM, J E Lyon wrote: > Hi, > > I see this plugin exists for v1 & v2, all very interesting... Surprised no > one seems to have created an RPM and it looks like deleted_to_trash is one of > the very few plugins to not be shipped as part of the default install with > Cent

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Francisco Wagner C. Freire
I dont known about Angel, but for me is useful because sometimes i need to deactivate smtp/imap/pop access from accounts, or change their home after storage migration, and removing a specific record i can use a long time cache. On Wed, Jun 27, 2012 at 9:24 AM, Timo Sirainen wrote: > On 27.6.2012

[Dovecot] The deleted_to_trash Plugin (workaround Outlook 2007 behaviour)

2012-06-27 Thread J E Lyon
Hi, I see this plugin exists for v1 & v2, all very interesting... Surprised no one seems to have created an RPM and it looks like deleted_to_trash is one of the very few plugins to not be shipped as part of the default install with CentOS 5.5 or CentOS 6 (i.e. Dovecot v1 & v2 respectively.) Am

Re: [Dovecot] Setting up mixed mbox and maildir

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 0.19, Jonathan Ryshpan wrote: >> If you are working with 2.0 or later dovecot, you should be at >> http://wiki2.dovecot.org/Namespaces > > I am using 2.1.7 . I surmise from this Namespace page that the form: > namespace { > where is one of "public", "private", or "shared

Re: [Dovecot] RFE: IMAP LIST Extension for Special-Use Mailboxes

2012-06-27 Thread Timo Sirainen
On 26.6.2012, at 18.54, Charles Marcus wrote: > My question (I guess for Timo) is, would it be crazy/possible to implement > some kind of 'alias' conversion in dovecot that would work regardless of > client cooperation? > > Ie, in a config file, add a list of 'aliases' for these special use fol

Re: [Dovecot] dict Panic after upgrade to 2.1.7

2012-06-27 Thread ckubu
hallo, > after upgrade my mailsystem to dovecot version 2.1.7, dovecot doesn't work > properly. something went wrong in dict service connecting the postgres > backend. that happens not on every connection. the db connection data are > correct, no difference connecting via tcp or linux socket. > >

Re: [Dovecot] Mail migration to dovecot with doveadm backup

2012-06-27 Thread Reinhard Vicinus
Hi, if i delete the home directory and all content below an existing account u...@example.org. Then run: /usr/bin/doveadm quota recalc -u u...@example.org and afterwards: /usr/bin/doveadm -o imapc_user=u...@example.org -o imapc_password=imappw -o imapc_host=local-mailbox -o imapc_features=r

Re: [Dovecot] permissions on auth-userdb

2012-06-27 Thread Charles Marcus
On 2012-06-27 8:29 AM, Timo Sirainen wrote: On 23.6.2012, at 13.34, Charles Marcus wrote: It would be nice if there were a wiki page specifically describing how permissions should be set for all of the services/directories that dovecot uses. Even better would be a dovecot/doveconf command that

Re: [Dovecot] permissions on auth-userdb

2012-06-27 Thread Timo Sirainen
On 23.6.2012, at 13.34, Charles Marcus wrote: > It would be nice if there were a wiki page specifically describing how > permissions should be set for all of the services/directories that dovecot > uses. > > Even better would be a dovecot/doveconf command that would test the > permissions and,

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 14.10, Angel L. Mateo wrote: > We have dovecot configured with auth cache. Is there any way to remove > a specific entry (not all) from this cache? Nope. What do you need it for?

Re: [Dovecot] pop3-throttle

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 14.55, Emmanuel Dreyfus wrote: > On Wed, Jun 27, 2012 at 12:50:20PM +0300, Timo Sirainen wrote: >> What mailbox format do you use? This shouldn't be a problem with for >> example mdbox, probably not with sdbox either and with mbox/maildir >> there are settings that can improve thi

Re: [Dovecot] pop3-throttle

2012-06-27 Thread Emmanuel Dreyfus
On Wed, Jun 27, 2012 at 12:50:20PM +0300, Timo Sirainen wrote: > What mailbox format do you use? This shouldn't be a problem with for > example mdbox, probably not with sdbox either and with mbox/maildir > there are settings that can improve this. This is mbox. > Or are you not talking about open

Re: [Dovecot] Hardware infrastructure for email system

2012-06-27 Thread Ed W
On 23/06/2012 13:20, Wojciech Puchar wrote: it is already enormous overshoot in hardware specs. And i do not really catch why you have "4 in parallel" servers. And finally i cannot understand this dividing of servers just to merging it back using VMWare. because it is a big difference if you

[Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Angel L. Mateo
Hi, We have dovecot configured with auth cache. Is there any way to remove a specific entry (not all) from this cache? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica

Re: [Dovecot] Maildir Seen Flags not heeded when dovecot-shared present

2012-06-27 Thread J E Lyon
On 26 Jun 2012, at 21:49, Timo Sirainen wrote: > So you don't want shared seen flags? You can simply not create dovecot-shared > file nowadays. It's not necessary. The only other purpose for it was as the > template for file permissions, but those are nowadays taken from the maildir > itself: h

Re: [Dovecot] pop3-throttle

2012-06-27 Thread Timo Sirainen
On Sat, 2012-06-23 at 07:04 +0200, Emmanuel Dreyfus wrote: > Hello > > I am having a hard time with users using POP while leaving mailboxes > of several gigabyte cumulated. This causes a lot of disk I/O and kills > performancs for everyone. I try to encourage people migrating to > IMAP, but that

Re: [Dovecot] doveadm proxy kick in director setups

2012-06-27 Thread Timo Sirainen
On Thu, 2012-06-21 at 10:48 -0400, Tom Pawlowski wrote: > Something I noticed on a 2.1.7 director test cluster (two directors, > three backends): 'doveadm proxy kick user' will kick all connections > for that user on that director only. Any additional connections on other > directors will remain ac

Re: [Dovecot] director map and mysql

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-20 at 14:40 +1100, Костырев Александр Алексеевич wrote: > but what mechanisms do I have if I want certain user to be always proxied to > certain host, but if that host is down, to redirect him to another? You'll have to mark the host down in SQL, and change your SQL query to retu

Re: [Dovecot] pop3c_master_user

2012-06-27 Thread Timo Sirainen
On Tue, 2012-06-19 at 00:41 +0200, Martin Schitter wrote: > the configuration keyword "pop3c_master_user" mentioned in the dsync > migration documentation (http://wiki2.dovecot.org/Migration/Dsync) does > not work for dovecot 2.1.7. > > a config line like: "pop3c_master_user = cyrus" will produc

Re: [Dovecot] Problem with 'doveadm mailbox status -t' reporting cumulative vsizes after upgrading from v2.0.16 to v2.1.7

2012-06-27 Thread Timo Sirainen
On Mon, 2012-06-18 at 18:35 +0100, Jase Thew wrote: > The reporting script at its core calls : > > doveadm -f flow mailbox status -A -t 'messages vsize' '*' > > It appears that Dovecot 2.1.7 is not resetting the vsize after collating > the sum total of mailboxes sizes for each user, so that vsize

Re: [Dovecot] [PATCH] GSSAPI authorization and virtual users

2012-06-27 Thread Timo Sirainen
On Tue, 2012-03-06 at 18:12 +, Sam Morris wrote: > On Mon, 2012-03-05 at 20:52 +0200, Timo Sirainen wrote: > > On 5.3.2012, at 20.45, Sam Morris wrote: > > > > > 3. The credentials lookup triggers an info log message saying that > > >credentials for GSSAPI were requested, "but we h

Re: [Dovecot] started with dovecot sieve

2012-06-27 Thread mailinglist
Am 2012-06-26 23:47, schrieb Daniel Parthey: Rolf wrote: Jun 25 20:22:54 rolf14 dovecot: lda(rolf): Error: setegid(privileged) failed: Operation not permitted Manual page "man 2 setegid" states that Yes, thank you Daniel for pointing me to this subjects. Now I got a bit a deeper understand

Re: [Dovecot] started with dovecot sieve

2012-06-27 Thread mailinglist
Am 2012-06-26 22:10, schrieb Daniel Parthey: Rolf wrote: Am 2012-06-25 23:59, schrieb Daniel Parthey: >Hi Rolf, > >Rolf wrote: >>Jun 25 20:22:54 rolf14 dovecot: lda(rolf): Error: setegid(privileged) failed: Operation not permitted Doesn't lda(rolf) mean it is being executed under user "rolf",

[Dovecot] last hope... public namespace and directory structure

2012-06-27 Thread Daniel Fischer
hello, I would like to migrate to dovecot, but I have a problem with a public namespace declaration: # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-2-amd64 x86_64 Debian wheezy/sid And here are the relevant parts from the configuration: namespace { … location = maildir:/var

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-27 Thread Robert Schetterer
Am 27.06.2012 09:32, schrieb Wojciech Puchar: >> >> Hi, i dont wanna flame into this thread, cause its heavy tec stuff >> which i dont really fit in >> >> but for some webmail you can use http://imapproxy.org/ > > the discussion was about if running proxy at all make sense. > > Proxies are to red

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-27 Thread Wojciech Puchar
Hi, i dont wanna flame into this thread, cause its heavy tec stuff which i dont really fit in but for some webmail you can use http://imapproxy.org/ the discussion was about if running proxy at all make sense. Proxies are to reduce traffic or server load by avoiding repetitive requests. Wi