Hi Matt,

you can use the postfix recipient_canonical table for this:

main.cf:
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical

/etc/postfix/recipient_canonical;
@foo.net                @foo.com

Don't forget to postmap the file afterwards :-)

regards,
Leander

On 13 Apr 2005, at 16:03, Matt Salerno wrote:

Postfix - 2.1.5
MySQL - 4.0.24
DBMail - 2.0.4

I have everything working almost ok, but now I have the need to add
domain aliases.

ex.
foo.com is a virtual domain configured with lots of users
My company decides that they want to buy foo.net and receive e-mail
for both domains.

So, [EMAIL PROTECTED] would be delivered to [EMAIL PROTECTED]

Is there a way to do this without creating an alias for every single user?

I have been trying to figure out how to do this using the
virtual_alias_maps, but I have had no luck.

I know that someone else out there must be doing this. Could that
someone shed some light on my dilemma.

Thanks,

Matt
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to