Re: [Dovecot] One Dovecot serving 2 domains - possible?
This:
Feb 16 10:05:56 server dovecot: Panic: IMAP(user): file istream-tee.c: line 144 (i_stream_tee_read): assertion failed: (ret > 0)
auth-worker died. That happened with Dovecot 1.1.4, 1.1.7 and 1.1.11, 1.1.7 was not with me, was with another user I found, on some mailing list. The problem occurred when copying or deleting messages, sometimes even viewing (Webmail). Since it's a production server, I compiled the latest 1.0.x and I'm using it. This particular server was running Ubuntu 8.04 (the default package is 1.0.x) and I upgraded to 8.10 (the default package is 1.1.x).
One dovecot server which receives mail to two domains and does not forward the mail anywhere, it's the final destination for the two of them.
I already have usernames that are unique, by using Dovecot variables I have username~domain.org as the actual username/mailbox name.
I want to have two mailbox roots, this way, even knowing that mailbox names are unique (john~domain.org != john~anotherdomain.org) and when authenticating (from what you wrote down here about passdb) john@domain.org will not be confused with john@anotherdomain.org, even so, I want all mailboxes from one domain to sit on a different mailbox root.
Ok, so, I have 3 aspects to consider:
a) When mail arrives b) When user logs in to check mail c) Where mailboxes are located
a) Since I can make mailbox names unique with Dovecot variables (mailbox name is "susan~domain.org" which is different from susan~anotherdomain.org), when mail arrives, the mail message will be saved to the correct mailbox (even if I have, under the same mailbox root, two users with "susan" as the login, but from different domains).
b) Since you said, on Dovecot 1.0.x, I can have two passdb ldap{}'s, when the user logs in, he/she will be redirect to the right mailbox, not the "other susan".
c) Ok, the two above give me the possibility to have all mailboxes, from the two domains, under the same mailbox root, users will be unique no matter the scenario (mail arriving, user checking mail), BUT, I would like to keep them separated anyways, is that possible to force that?
thanks!
= Miata Convertible Tops Buy manufacturer direct from gahh, leader in high-quality convertible tops using original materials and attachments. Custom orders and fast shipping. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=bd9e06c830a2118cf5fc1145...
-- Powered by Outblaze
On Wed, 2009-02-25 at 13:54 -0300, k bah wrote:
The above assert isn't from v1.1.11 and I had added some extra checks there since 1.1.7. Do you have the exact assert message from v1.1.11?
Why do you use ~ instead of @? Dovecot makes things easier if you use @. But you can convert ~ to @ automatically:
auth_username_translation = ~@
Where in filesystem do you want them? For example you could do:
mail_location = /var/mail/%d/%n
to have two domain directories and the username under them.
Hello,
i am using dovecot 1.1.7-r1
when i try to create a new folder in incoming with dot in name ist not working fully. when i try to create the folder domain.de, dovecot create domain (gray and not accessable) | ------> de (the de is also created as folder and is accessable)
any ideas why this happen ?
thanks for any hints
marko
!DSPAM:173,49a6f90f68526583516863!
Hi Timo
i visited the link, did like first example on page. remember, i use version 1.1.7 r1 , is this version supported ?
i get this on restarting dovecot
FPlugin listescape not found from directory /usr/lib64/dovecot/imap Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
marko
Timo Sirainen schrieb:
http://wiki.dovecot.org/Plugins/Listescape
!DSPAM:173,49a6ff7e68528199216981!
You have to download and compile it: http://dovecot.org/patches/1.1/listescape-plugin.c
Note that it requires that you have Dovecot sources downloaded and compiled. They also should be for the same version you're actually using.
On Thu, 2009-02-26 at 21:47 +0100, Marko Weber | Salondigital.de wrote:
No idea.
But actually there's also another possibility that doesn't involve using plugins. You could just not use Maildir++ layout by setting e.g.:
mail_location = maildir:~/Maildir:LAYOUT=fs
On Thu, 2009-02-26 at 22:26 +0100, Marko Weber | Salondigital.de wrote:
Timo Sirainen wrote:
You can emerge Dovecot with "noclean" set so that Portage won't remove all of the good stuff when it's done:
FEATURES="noclean" emerge -v dovecot
Then you should be able to find the sources in e.g.,
/var/tmp/portage/net-mail/dovecot-1.1.7-r1/work/dovecot-1.1.7
Slightly unrelated: is the list of options to mail_location documented anywhere? There are a few mentions of LAYOUT=fs and CONTROL=wherever in the wiki, but I just checked mailbox-list.c and most of them were new to me.
participants (4)
-
k bah
-
Marko Weber | Salondigital.de
-
Michael Orlitzky
-
Timo Sirainen