Description: In this we explained the ERROR: NIS lookup not set. NIS lookup disabled it appears in maillog.
To solve the error you need to follow these steps:
Open the file main.cf with your favorite editor, we use vim:
Go to Line number 382
You see the alias_maps = hash:/etc/aliases
Uncomment it by removing the #.
This is all.