Wietse Venema: > Il Neofita: > > Hi > > I have a server NIS that has a wrong domain name, therefore, everytime that > > I am receiving an email the user is changed as user@NISDOMAIN despite the > > fact that my postfix is configured with a mydomain variable. > > I tried to modify the domain with > > recipient_canonical_maps or smtp_generic_maps or header_checks without any > > luck > > > > Someone can help me out, it is not easy to change the NIS since I have some > > computer that are not easy to access. > > You need to set the NIS domain name for the SYSTEM with one of: > > domainnname > ypdoimainname > nisdomainname > > The Postfix NIS client gets the default domain name from your system, > not from main.cf settings.
I suspect that 1) the domain is added by your mail submission program, not Postfix, and 2) there are mistakes in your Postfix address rewriting configuration. My suggestion above would address 1) only. Wietse