View Single Post
  #2  
Old 20th April 2013, 19:47
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 54 Times in 37 Posts
Send a message via Skype™ to SamTzu
Default

It's a warning, not an error. You eliminate it by removing
NIS lookups.

First, find out what setting is using NIS:

$ postconf | grep nis:

This outputs something like

alias_maps = hash:/etc/aliases nis:mail.aliases
or
alias_maps = hash:/etc/mail/aliases nis:mail.aliases

Then, disable NIS lookups (as root):

# postconf -e alias_maps=hash:/etc/aliases
or
# postconf -e alias_maps=hash:/etc/mail/aliases

The exact command depends on "postconf | grep nis:" output.


First thing you should do is to check if SMTP is up and running.
On mail server you can check this with this command...

Quote:
netstat -tapn
Can you see SMTP? (Usually on port 25.)
If that is up then you are most likely dealing with a DNS problem (NIS lookups seem to indicate that anyway.)
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent


Last edited by SamTzu; 20th April 2013 at 19:51.
Reply With Quote