The problem is with the forward using the aliases, therefore, should be postfix
If I change the domainname I will have problem with the nis the nisdomain is using capital letter, and mydomain is using lower letter therefore, the to is changed during the forward with capital letter On Thu, Sep 24, 2015 at 10:02 AM, Wietse Venema <wie...@porcupine.org> wrote: > 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 >