Results 1 to 3 of 3
Hi,
in our Linux server,DNS is not configured.
Hence mailx is not working...
When I tried to send the mails, it is not sending the mails to the recipient address..
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-22-2012 #1Linux Newbie
- Join Date
- May 2012
- Posts
- 108
mailx not working on Linux,Help needed...Please..?
Hi,
in our Linux server,DNS is not configured.
Hence mailx is not working...
When I tried to send the mails, it is not sending the mails to the recipient address..
what can be done ?
Any solution please...
$ sendmail -q -v
WARNING: local host name (japan) is not qualified; see cf/README: WHO AM I?
Running /var/spool/mqueue/p61FPoll003674 (sequence 1 of 1)
japan: Name server timeout
<root@japan>... Transient parse error -- message queued for future delivery
japan: Name server timeout
japan: Name server timeout
<root@japan>... Transient parse error -- message queued for future delivery
1.) How to delete the mail queue ?
2.) What is FQDN ?
Regards,
Aparna.
- 10-22-2012 #2Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Generally, in RHEL you have to specificy the DNS manually if you're not using DHCP. If your gateway is a router or configured for it, that is an acceptable IP to use for DNS. Or, you can use whatever DNS your environment is using. If you don't have DNS in your environment, you can always point to a free dns such as 8.8.8.8, which is Google's public DNS.
You can use the system-config-network utility to make these changes. I'm not sure if the changes will survive a reboot or not if you're using DHCP.
Also, make sure your /etc/hosts.conf file is set to allow DNS lookups. Mine says:
multi on
order hosts,bind
An FQDN is a full-qualified-domain-name. Such as server1.mydomain.com
- 11-20-2012 #3Just Joined!
- Join Date
- Sep 2012
- Location
- India
- Posts
- 26
Hi,
mailx works for local users even if dns is not configured, for that you should have sendmail configured properlyin our Linux server,DNS is not configured.Hence mailx is not working...
mail username@localhost or username@ipaddress
If DNS is configured then you can send mail for users on remote machine using domain name ,, also you can use ipaddress for it
if sending mail on local hostAny solution please...
mailx will work
if remote host
configure DNS
Go to location /var/spool/mqueue and delete or you can tools1.) How to delete the mail queue ?
fully qaulified domain name2.) What is FQDN ?
Best Wishes
Nikhil Shinde


Reply With Quote
