OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: virtual mailboxes

From: Magnus Bäck (magnusdsek.lth.se)
Date: Mon May 01 2006 - 12:35:09 CDT


On Monday, May 01, 2006 at 18:15 CEST,
     Pedro Vieira <pedro.vieirafilbox.com> wrote:

> I'm using postfix 2.1.5 + dovecot 0.99.14 to handle my company's email
> and so far so good...
>
> But things started to grow up quickly and now I have not only the
> previous mymaindomain.tld but also mysecondmain.tld and
> mythirddomain.tld to manage.
>
> So.. I'm thinking of moving from a more simple "unix-user" aproach to a
> virtual mailbox aproach.
>
> So... I followed the postfix virtual hosting "how to" and setted up a
> test system:
>
> -Followed the postfix virtual hosting 2how-to"
> -Static user DB+ mysql password DB for dovecot
> -Told dovecot to fech mail in: /var/mail/vhosts/%d/%u
>
> So far so good. I managed to tell postfix to deliver the emails of
> myseconddomain.tld and mythirddomain.tld to /var/mail/vhosts/%d/%u
> The problem is with mymaindomain.tld, dovecot is feching mail from "
> /var/mail/vhosts/%d/%u ", but postfix is still delivering
> mymaindomain.tld to /var/mail/.
>
> How can I make postfix deliver also mymaindomain.tld to
> /var/mail/vhosts/%d/%u " ?

By making mymaindomain.tld a virtual mailbox domain as well,
just like myseconddomain.tld and mythirddomain.tld.

--
Magnus Bäck
magnusdsek.lth.se