OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix catching emails for two domains (not virtually)

From: Albert Zosa (azosaprodatanet.com.ph)
Date: Mon Mar 29 2004 - 16:19:33 CST


Hi Michal

Try virtual_mailbox_maps. and map those aliases to a single mailbox.

Kroywen :)

----- Original Message -----
From: "Michał Mazur" <michal.mazurenimo.com.pl>
To: <postfix-userspostfix.org>
Sent: Sunday, March 28, 2004 10:12 PM
Subject: RE: Postfix catching emails for two domains (not virtually)

> Micha³ Mazur <michal.mazurenimo.com.pl> wrote:
>
> > I am currently using qmail. I want to move my mail site to Postfix.
> > I've set up qmail to catch emails for two domains (not
> virtual - it's
> > like Postfix's $mydestination = firstdomain.tld, seconddomain.tld).
> >
> > One thing I need to do is to put users accounts
> informations to MySQL
> > to avoid creating system accounts.
> > Second is to set up Postfix to catch emails for two domains same way
> > as qmail is doing it now (I know - $mydestination makes it for me)
> > but I'd like to set up Postfix to catch other domains (virtually
> > I assume) too.
>
> Setup virtual mailbox domains. Read VIRTUAL_README.
>
> http://www.porcupine.org/postfix-mirror/newdoc/VIRTUAL_README.html
>

Thanks Magnus.

I've seen the document, and I still do not know how to make Postfix work the
way I want it.
What I want is to set up Postfix to deliver emails sent to
some.userfirst.domain.tld and
some.usersecond.domain.tld to user's directory (or virtual one) where
some.user is alias
for user. I want to have all informations about domains and user in MySQL
database.

The document doesn't say if it is possible (or I doubt if I can read and
understand
dosuments in english, what is possible in fact - I'm polish).

I appreciate Your help.

Thanks.

Michal