OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How to relay mail received by user to a mailing list

From: Wietse Venema (wietseporcupine.org)
Date: Sun Feb 03 2008 - 15:32:08 CST


Michael Martone:
> Hi -
> I have a postfix server running on Ubuntu (I use Webmin also)...
>
> When I receive an email from an outside user (helpdeskexample.com) to
> the specific user on my postfix server (supportmydomain.net)...
>
> I want to forward that message to a couple of non-local users:
> person1mydomain.com
> person2mydomain.com
>
> Is there an easy way to do this?

This requires Postfix virtual_alias_maps (NOT VIRTUAL ALIAS DOMAINS):

Lookup key Lookup result
========== =============
supportmydomain.net supportmydomain.net, person1mydomain.com, person2mydomain.com

Multiple lookup results are not allowed with sender/recipient_bcc_maps,
though the justification for this restriction is probably bogus.
        Wietse