I Have RHEL6 and am trying to use postfix for the first time.

My host is server1.lab.my.org

The mail server is mailserver.my.org

I also have an alias file being passed around via NIS. This is used
with sendmail to re-write usernames from u...@lab.my.org or
just user to u...@my.org

I would like to have this single host (server1) running postfix
send/forward all mailto the mailserver (mailserver.my.org).
I would also like it to re-write the user names with the NIS
aliases file. If the user does not exist in NIS, append my.org to
the email address.

I have a setup working now, as long as I specify u...@my.org.
Anything else does not work (i.e. user or u...@lab.my.org)

Thanks!
--tmac

Reply via email to