From: "Jonathan Tripathy" on
Hi there,

Does postfix support multiple users using aliases?

Example:

sales(a)domain.com <mailto:sales(a)domain.com> would send the mail to user1(a)domain.com, user2(a)domain.com, user3(a)domain.com
support(a)domain.com would send the mail to user2(a)domain.com and user3(a)domain.com

My aliases table and user database is stored in a MYSQL database.

May this task is more suitable for a mailing list program

Thanks
From: Ansgar Wiechers on
On 2010-06-30 Jonathan Tripathy wrote:
> Does postfix support multiple users using aliases?

Yes.

Regards
Ansgar Wiechers
--
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

From: Michael Orlitzky on
On 06/30/2010 09:15 AM, Jonathan Tripathy wrote:
> Hi there,
> Does postfix support multiple users using aliases?
> Example:
> sales(a)domain.com <mailto:sales(a)domain.com> would send the mail to
> user1(a)domain.com <mailto:user1(a)domain.com>, user2(a)domain.com
> <mailto:user2(a)domain.com>, user3(a)domain.com <mailto:user3(a)domain.com>
> support(a)domain.com <mailto:support(a)domain.com> would send the mail to
> user2(a)domain.com <mailto:user2(a)domain.com> and user3(a)domain.com
> <mailto:user3(a)domain.com>
> My aliases table and user database is stored in a MYSQL database.
> May this task is more suitable for a mailing list program
> Thanks

From http://www.postfix.org/virtual.5.html,

The optional virtual(5) alias table rewrites recipient
addresses for all local, all virtual, and all remote mail
destinations. This is unlike the aliases(5) table which
is used only for local(8) delivery. Virtual aliasing is
recursive, and is implemented by the Postfix cleanup(8)
daemon before mail is queued.

The main applications of virtual aliasing are:

o To redirect mail for one address to one or more
addresses.

...

You should be able to place your virtual alias maps in MySQL. If your
lists grow larger or you intend to modify them frequently, a mailing
list manager is probably a better long-term solution.