![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BL4's SMTP Server 0.1.10 (Default branch) | iBot | Software Releases - RSS News | 0 | 03-24-2008 06:20 AM |
| SMTP server-denied | uwagon | SUN Solaris | 1 | 02-23-2008 08:41 AM |
| SCO 5.0.7 Sendmail. Need help on how to configure SMTP | miles556 | SCO | 3 | 02-22-2008 07:28 PM |
| How to configure Suse Enterprise Linux 9.0 for sending mails to smtp server...??? | jumadhiya | Linux | 5 | 08-01-2007 03:05 AM |
| setting SMTP server privileges | jasongr | Shell Programming and Scripting | 0 | 12-19-2005 12:33 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Configure SMTP Server for Unix
Hi,
We had an upgrade today morning and since then mailx command is not working. I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address. Can someone please help me out to know where can I change this on a Unix Server. Thanks Aman |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Firstly tell us what kind of UNIX box it is.
Type "uname -a" and post the results. |
|
#3
|
|||
|
|||
|
Make sure person has passed right message
To me it seems like a communication gap between you and person who told you to use DNS server name insteed of IP Address.
Usually DNS server IP is written in "/etc/resolv.conf" You can aslo use "/etc/hosts" for local name resolutions |
|
#4
|
||||
|
||||
|
nsswitch.conf
Hi,
if you choose DNS don't forget to change the /etc/nsswitch.conf file! regards jeorg |
|
#5
|
||||
|
||||
|
I think I should summarise on information required here.
1) Which OS are you using - uname -a 2) Which MTA are you using - i.e. sendmail/postfix 3) What does your nsswitch.conf look like - grep '^hosts' /etc/nsswitch.conf 4) What does your resolv.conf look like - cat /etc/resolv.conf (please obscure the IPs and domain name, etc.) We cannot assist without accurate and thorough information on what your current setup is. Cheers, ZB |
|
#6
|
|||
|
|||
|
Thanks
Thanks everyone for your help.
The problem is resolved as we went to etc/inet/hosts file and changed the ip address to the new ip address after the upgrade. This has solved our problem temporarily but I am sure it will pop up again whenever someone changes the ip address of the smtp server. Thanks Aman |
|||
| Google The UNIX and Linux Forums |