Showing posts with label postfix mta. Show all posts
Showing posts with label postfix mta. Show all posts

Monday, January 29, 2007

Postfix NIS lookup error



If you install postfix in debian (3.1) by using apt-get install postfix, then most likely there will be an NIS lookup error such as :

Jan 30 09:48:01 localhost postfix/smtpd[11719]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled

To eliminate the error, go to main.cf and erase or comment out any references to nis: such as aliases = nis:alias.name

Postfix postdrop error



I installed Postfix mail server on Debian 3.1. Pretty straight forward installation and run with no problem.

Then I add 10+ user using webmin and "user and group" application from the GUI itself (gnome). Suddenly, somehow, postfix failed.

The error msg was :

Jan 29 17:02:03 localhost postfix/smtpd[2238]: fatal: file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

Searched the google, but couldn't find a solution for the problem.

I sent a question to the local postfix mailing list, but somehow, the email didn't went thru (the mail server kept rejecting my mail).

Anyway, I dpkg reconfigure the postfix

dpkg-reconfigure postfix

And it fixed the problem!! The error dissapeared and postfix started perfectly.