Re: [Dovecot] Multiple Maildirs per Virtual User

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 19.33, Ruslan Nabioullin wrote: > I changed /etc/dovecot/passwd to: > my-username_account1:{PLAIN}password:my-username:my-groupuserdb_mail=maildir:/home/my-username/mail/account1:LAYOUT=fs > > Dovecot creates {tmp,new,cur} dirs within account1 (the root), > apparently not reco

Re: [Dovecot] Multiple Maildirs per Virtual User

2012-01-03 Thread Ruslan Nabioullin
On 01/03/2012 06:52 AM, Timo Sirainen wrote: > On Sun, 2012-01-01 at 20:32 -0500, Ruslan Nabioullin wrote: >> How would it be possible to configure dovecot (2.0.16) in such a way >> that it would serve several maildirs (e.g., INBOX, INBOX.Drafts, >> INBOX.Sent, forum_email, [Gmail].Trash, etc.) per

Re: [Dovecot] Multiple Maildirs per Virtual User

2012-01-03 Thread Timo Sirainen
On Sun, 2012-01-01 at 20:32 -0500, Ruslan Nabioullin wrote: > How would it be possible to configure dovecot (2.0.16) in such a way > that it would serve several maildirs (e.g., INBOX, INBOX.Drafts, > INBOX.Sent, forum_email, [Gmail].Trash, etc.) per virtual user? > > I am only able to specify a si

[Dovecot] Multiple Maildirs per Virtual User

2012-01-01 Thread Ruslan Nabioullin
How would it be possible to configure dovecot (2.0.16) in such a way that it would serve several maildirs (e.g., INBOX, INBOX.Drafts, INBOX.Sent, forum_email, [Gmail].Trash, etc.) per virtual user? I am only able to specify a single maildir, but I want all maildirs in /home/my-username/mail/accoun

Re: [Dovecot] Multiple maildirs

2008-10-17 Thread Vassilis Vatikiotis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Marcus wrote: > On 10/16/2008 10:12 AM, Vassilis Vatikiotis wrote: >> Unfortunately no, and this is a Postfix limitation. Postfix has a >> hardcoded upper limit for mbox sizes, which is 2GB on 32bit machines, > > I really don't think that is

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Timo Sirainen
On Oct 16, 2008, at 6:12 PM, Charles Marcus wrote: Probably compiled with 32bit off_t, which prevents opening files >2GB. Compiling with 64bit off_t should be pretty easy with Linux, but I don't know if Postfix can be configured to do that without modifying Makefile manually (-D_FILE_OFFSE

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Charles Marcus
On 10/16/2008 11:01 AM, Timo Sirainen wrote: > On Thu, 2008-10-16 at 10:29 -0400, Charles Marcus wrote: >> On 10/16/2008 10:12 AM, Vassilis Vatikiotis wrote: >>> Unfortunately no, and this is a Postfix limitation. Postfix has a >>> hardcoded upper limit for mbox sizes, which is 2GB on 32bit machine

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Timo Sirainen
On Thu, 2008-10-16 at 10:29 -0400, Charles Marcus wrote: > On 10/16/2008 10:12 AM, Vassilis Vatikiotis wrote: > > Unfortunately no, and this is a Postfix limitation. Postfix has a > > hardcoded upper limit for mbox sizes, which is 2GB on 32bit machines, > > I really don't think that is correct - i

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Charles Marcus
On 10/16/2008 10:12 AM, Vassilis Vatikiotis wrote: > Unfortunately no, and this is a Postfix limitation. Postfix has a > hardcoded upper limit for mbox sizes, which is 2GB on 32bit machines, I really don't think that is correct - it is more a filesystem limitation. I don't think Postfix cares how

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Vassilis Vatikiotis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote: > On Oct 16, 2008, at 5:12 PM, Vassilis Vatikiotis wrote: > >>> Can they be different mailboxes then? So /var/spool/mail/%u is INBOX and >>> the other mailboxes are in ~/Maildir? That'd be easy: >>> >>> mail_location = maildir:~

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Timo Sirainen
On Oct 16, 2008, at 5:12 PM, Vassilis Vatikiotis wrote: Can they be different mailboxes then? So /var/spool/mail/%u is INBOX and the other mailboxes are in ~/Maildir? That'd be easy: mail_location = maildir:~/Maildir:INBOX=/var/spool/mail/%u Unfortunately no, and this is a Postfix limitatio

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Vassilis Vatikiotis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote: > On Thu, 2008-10-16 at 15:18 +0300, Vassilis Vatikiotis wrote: What I want to achieve is receive mail in /var/spool/mail, which is going to contain 1 Maildir per user, and have /home/%u/Maildir/ to store (move) me

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Timo Sirainen
On Thu, 2008-10-16 at 15:18 +0300, Vassilis Vatikiotis wrote: > >> What I want to achieve is receive mail in /var/spool/mail, which is > >> going to contain 1 Maildir per user, and have /home/%u/Maildir/ to store > >> (move) messages from spool location. > > > > So Dovecot should automatically mov

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Vassilis Vatikiotis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote: > On Oct 14, 2008, at 6:56 PM, Vassilis Vatikiotis wrote: > >> What I want to achieve is receive mail in /var/spool/mail, which is >> going to contain 1 Maildir per user, and have /home/%u/Maildir/ to store >> (move) messages fr

Re: [Dovecot] Multiple maildirs

2008-10-16 Thread Timo Sirainen
On Oct 14, 2008, at 6:56 PM, Vassilis Vatikiotis wrote: What I want to achieve is receive mail in /var/spool/mail, which is going to contain 1 Maildir per user, and have /home/%u/Maildir/ to store (move) messages from spool location. So Dovecot should automatically move messages from one ma

[Dovecot] Multiple maildirs

2008-10-14 Thread Vassilis Vatikiotis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is is possible to specify multiple maildir location in mail_location? (default_mail_env in my case since I'm using version 1.0.rc15/debian etch). What I want to achieve is receive mail in /var/spool/mail, which is going to contain 1 Maildir per user,