1752708 Members
6047 Online
108789 Solutions
New Discussion юеВ

Re: forward mail.

 
Rob Galloway_1
Frequent Advisor

Re: forward mail.

I would personally be checking to ensure /etc/resolv.conf isn't configured with a domain where a nameserver host should be.

I probably should look something like

domain co.fairbanks.ak.us
nameserver
nameserver

This i just a guess I hope it helps
Experience is a hard teacher. It tests first and teaches afterward.
Rob Galloway_1
Frequent Advisor

Re: forward mail.

Correction sorry,

If your domain is fairbanks.ak.us it should read

domain fairbanks.ak.us

R.
Experience is a hard teacher. It tests first and teaches afterward.
Jeffrey F. Goldsmith
Super Advisor

Re: forward mail.

I did not have a /etc/resolv.conf file so I created one with this information:

domain co.fairbanks.ak.us
nameserver 172.16.0.41
nameserver 209.165.150.166

Is this going to work for me?
Rob Galloway_1
Frequent Advisor

Re: forward mail.

Is your domain 'fairbanks.ak.us' or 'co.fairbanks.ak.us'?

If is 'co.fairbanks.ak.us' and the IP addresses are those of your dns and
/etc/nsswitch.conf is configured to resolve using dns then you should be right to go.



Experience is a hard teacher. It tests first and teaches afterward.
Jeffrey F. Goldsmith
Super Advisor

Re: forward mail.

Here is my /etc/nsswitch.conf

root: /etc ==> more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
hosts: files
services: files
protocols: files
networks: files
rpc: files
netgroup: files
automount: files

aliases: files
passwd: files
group: files
publickey: files
Rob Galloway_1
Frequent Advisor

Re: forward mail.

Jeff,

This server seems not to have ever been set up for DNS .

To set this server up to look for hosts in its local /etc/hosts file and then your DNS change the line

hosts: files

to read

something like

hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns

Make sure you are keeping copies of your old files.
R.
Experience is a hard teacher. It tests first and teaches afterward.
Rob Galloway_1
Frequent Advisor

Re: forward mail.

Jeff,

Just as a matter of interest what is your local hostname?

R.
Experience is a hard teacher. It tests first and teaches afterward.
Joseph C. Denman
Honored Contributor

Re: forward mail.

Jeff,

Sorry....I had to leave out of the office. The problems is as stated above, DNS. You have a resolution issue. Modify your /etc/resolv.conf and /etc/nsswitch.conf as stated above. You should be good to go.

To test use nslookup.


Let us know!!!

...jcd...
If I had only read the instructions first??
Jeffrey F. Goldsmith
Super Advisor

Re: forward mail.

Rob,

My host name is diomede.

I ran nslookup and it gave me the reply;
Using /etc/hosts on: diomede

so it looks like that is working.
Joseph C. Denman
Honored Contributor

Re: forward mail.

You have a resolution problem. The error indicates it can not find co.fairbanks.ak.us . Can you resolve that with nslookup? I bet not. When you can resolve that host, your mail should work.

...jcd...
If I had only read the instructions first??