[Dovecot] dovecot 1.2.11 + virtual plugin + deliver
Hello List and Timo,
I configured the virtual mailboxes which are really nice.
To create the virtual-folder, I made a postlogin-script as described in the wiki.
However, as my mail is delivered by dovecot's deliver ... I'm getting errors for people not yet logged in...
Namespace 'virtual.': virtual : Root mail directory doesn't exist: /var/vmail/domain.org/username/virtual
I tried removing the virtual-plugin from the protocol lda-section; and putting the namespace only in the protocol imap-section; but then the error becomes
Namespace 'virtual.': Unknown mail storage driver virtual
After an IMAP login (thanks to the postlogin-script) the virtual folder is created. However, I would prefer that mails to existing users and new users works even before they logged-in (and before the postlogin-script creates the virtual folder).
Any help?
Greetings,
-- Stef Simoens
Tirsdag 06 april 2010 20:06:26 skrev Stef Simoens :
Hello List and Timo,
I configured the virtual mailboxes which are really nice.
To create the virtual-folder, I made a postlogin-script as described in the wiki.
However, as my mail is delivered by dovecot's deliver ... I'm getting errors for people not yet logged in...
Namespace 'virtual.': virtual : Root mail directory doesn't exist: /var/vmail/domain.org/username/virtual
I tried removing the virtual-plugin from the protocol lda-section; and putting the namespace only in the protocol imap-section; but then the error becomes
Namespace 'virtual.': Unknown mail storage driver virtual
After an IMAP login (thanks to the postlogin-script) the virtual folder is created. However, I would prefer that mails to existing users and new users works even before they logged-in (and before the postlogin-script creates the virtual folder).
Any help?
Greetings,
I use Postfix admin ( http://sourceforge.net/projects/postfixadmin/ ) to create the mailboxes. Upon creation a welcome message is sent to the user, and delivering this creates the virtual mailbox.
Regards,
Arne
--
Arne K. Haaje | www.drlinux.no T: 69 51 15 52 | M: 92 88 44 66
Hello,
That's my problem ...
an IMAP-connection makes the imap-postlogin-script run which creates the virtual directory
but the imap-postlogin-script is not run if dovecot deliver is run by postfix
so, new users cannot receive mail until they make a first connection and the welcome-mail stays in the postfix-queue
Ideally, I would like to "hide" the virtual namespace for deliver; but even if I put the namespace definition in the protocol imap-section, it is still seen by deliver...
Kind regards,
Op 7/04/2010 9:09, Arne K. Haaje schreef:
Tirsdag 06 april 2010 20:06:26 skrev Stef Simoens :
Hello List and Timo,
I configured the virtual mailboxes which are really nice.
To create the virtual-folder, I made a postlogin-script as described in the wiki.
However, as my mail is delivered by dovecot's deliver ... I'm getting errors for people not yet logged in...
Namespace 'virtual.': virtual : Root mail directory doesn't exist: /var/vmail/domain.org/username/virtual
I tried removing the virtual-plugin from the protocol lda-section; and putting the namespace only in the protocol imap-section; but then the error becomes
Namespace 'virtual.': Unknown mail storage driver virtual
After an IMAP login (thanks to the postlogin-script) the virtual folder is created. However, I would prefer that mails to existing users and new users works even before they logged-in (and before the postlogin-script creates the virtual folder).
Any help?
Greetings,
I use Postfix admin ( http://sourceforge.net/projects/postfixadmin/ ) to create the mailboxes. Upon creation a welcome message is sent to the user, and delivering this creates the virtual mailbox.
Regards,
Arne
-- Stef Simoens stef.simoens@numericable.be +32 486 577 963 http://users.numericable.be/stef
On Wed, 2010-04-07 at 17:56 +0200, Stef Simoens wrote:
Ideally, I would like to "hide" the virtual namespace for deliver; but even if I put the namespace definition in the protocol imap-section, it is still seen by deliver...
This is possible in v2.0.
Namespace 'virtual.': virtual : Root mail directory doesn't exist: /var/vmail/domain.org/username/virtual
This doesn't happen in v2.0, virtual storage is created automatically.
For v1.2.. you could create a separate dovecot-deliver.conf that doesn't have the virtual namespace and use deliver -c /etc/dovecot-deliver.conf.
participants (3)
-
Arne K. Haaje
-
Stef Simoens
-
Timo Sirainen