On Sat, Sep 17, 2011 at 8:48 PM, tmac <tma...@gmail.com> wrote:
> 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
>

Hi,

I think you need to setup DNS accordingly.
Put the MX record for the corresponding domain in the forward zone.






-- 
Best Regards,
Suresh Kumar Prajapati
Linux Security Admin
E-mail: er.sureshprajap...@gmail.com
----------------------------------------------------------------------------------------
Theory is when you know all and nothing works. Practice is when all
works and nobody knows why. In this case we have put together theory
and practice: nothing works... and nobody knows why!

Reply via email to