[Dovecot] Mailboxes separated from IMAP server
Reymer Antonio Vargas Solano
reymervargas at gmail.com
Mon Oct 21 23:39:33 EEST 2013
Hello Regan,
I am using LDAP to store users and passwords.
I will try your setup, I think it could work!
On Mon, Oct 21, 2013 at 2:29 PM, Regan Yelcich <reganyelcich at gmail.com>wrote:
> I've got a working setup very similar to this.
>
> You want to setup server C as a proxy to B. Server B also needs to have
> Dovecot IMAP running on it so it has something to proxy to = IMAP <PROXY>
> IMAP
>
> I'm using MySQL as the backend for Dovecot, so depending on how you're
> setup this should give you the basic idea anyway.
>
> In your dovecot.conf file on Server C you just need to specify a Proxy as
> part of the password_query...
>
> password_query = \
> SELECT \
> password \
> ,username AS user \
> ,'y' as proxy \
> ,'<IP ADDRESS OF B>' as host \
> FROM \
> mailbox \
> WHERE \
> username = '%u' \
> AND active='1'
>
>
>
> On 22/10/2013, at 8:48 AM, Charles Marcus wrote:
>
> > On 2013-10-21 3:23 PM, Reymer Antonio Vargas Solano <
> reymervargas at gmail.com> wrote:
> >> At my university we are trying to implement a distributed email backend,
> >> but I have some troubles,
> >>
> >> The topology:
> >>
> >> Server A: Postfix+LMTP # MTA
> >> Server B: Dovecot+LMTP # Just mailboxes
> >> Server C: Dovecot # POP3/IMAP
> >>
> >> Right now the Server A can leave a received email to the Server B, but I
> >> don't know how to communicate Server C to the Server B to retrieve the
> >> emails.
> >>
> >> I think that we should use IMAP protocol, but I am confused about how to
> >> connect them, I don't know if we have to use a proxy IMAP server, or
> >> another thing.
>
>
More information about the dovecot
mailing list