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 - 17:02:38 CST


Michael Martone:
> ?
> OK - After adding this line to main.cf what else do I need to do to get
> this to work?
>
> virtual_alias_maps ?http://www.postfix.org/postconf.5.html#virtual_alias_maps? = hash:/etc/postfix/virtual

No, you mean:

        virtual_alias_maps = hash:/etc/postfix/virtual

:-)

        Wietse
>
>
> Wietse Venema wrote:
> > 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
> >
> >
>
> --
> ============================
> Michael Martone
> MTS-ISS
> 732-751-4710 x111
> michael.martonemts-iss.com
> ============================
>
>
>