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: Pedro Vieira (pedro.vieirafilbox.com)
Date: Mon May 01 2006 - 12:50:47 CDT


Hi Magnus,

But in the documentation says that I should not list mymaindomain.tld
both as virtual domain and $mydestination...
In that case, what should I put in $mydestination?

Thanks,

Pedro

Magnus Bäck wrote:
> 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.
>
>

--
----------------------------------------------------------------------------
Pedro Vieira
System Administrator
Filbox- Produções, Lda
R. de Fez, 731
4150- 331 Porto
pedro.vieirafilbox.com
Telemóvel- 93 903 02 10
Telefones- 22 615 09 70 (Geral)
           22 615 09 77 (Directo)
www.filbox.com
----------------------------------------------------------------------------

"Very funny, Scotty. Now beam down my clothes."

"Change is inevitable, except from a vending machine."