Please note the lag between timestamp 19:38:59 and 19:39:56 where broadcast RCP timed out and it was unable to qualify my own domain name. Any idea how to fix this?
With thanks,
Narnie
---------- Post updated at 08:09 PM ---------- Previous update was at 08:02 PM ----------
Well, I figured it out just now after I posted this.
The last thing I tried was commenting out my hostname listing in /etc/hosts like so:
Code:
#192.168.1.54 toshiba-laptop
This is an auto-generated hosts file from a script I wrote to make sure all computers have the same hosts-file on my home network.
Evidently, it is not good to have your own hostname in the hosts file like this.
If any networking guru might want to comment on why this is so, this may help us mere amateurs learn from my mistake.
Hope this might help someone else that might ever have this problems.
Yours,
Narnie
---------- Post updated at 08:18 PM ---------- Previous update was at 08:09 PM ----------
I take it back. It isn't a fix.
When I commented out the computer in /etc/hosts, then the system gave this:
Code:
$ sudo su
sudo: unable to resolve host toshiba-laptop
and this:
Code:
$ ssh -p 50505 toshibia-laptop
ssh: Could not resolve hostname toshibia-laptop: Name or service not known
Now back to square one. How to resolve the original issue.
Narnie
---------- Post updated at 09:18 PM ---------- Previous update was at 08:18 PM ----------
OK, here's the "partial fix."
sendmail MUST have a fully qualified domain name or it gives this error. So "tweak" the /etc/hosts file like so:
Hi,
I schedule a script on linux server and it is taking more time say "30 minutes" to send the report via mail.
Could you please suggest a way to speed up sending report to mail?
OS version -- Red Hat Enterprise Linux Server release 6.5 (Santiago)
Regards,
Maddy (2 Replies)
I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out.
I issue the command:
mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message.
Specifically, the... (3 Replies)
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Hi ,
Am trying to send mail using the mail command, but the mail command is working but its not sending automatically after pressing .(dot) in the command prompt it sends . How to achieve that. Also it showing the below line after pressing the dot .
/home/abc1/dead.letter... Saved message in... (5 Replies)
Hi All;
I need to send emails from command line in some of my shell scripts.
I tried : mail -s "Subject" member@body.com < testfile
where test file contains body of the mail
This work on my mac computer at work BUT not on my mac laptop.
Does anyone have any ideas why?
Thanks
Walforum (1 Reply)
Hi,
I need to send alert mail from AIX to mail server.
My mail server IP is 192.168.0.10
so I've add /etc/hosts as below
192.168.0.10 mydomain1.com
the I try to send mail to myname@mydomain1.com it's OK
Then I need to send mail to myname@mydomain2.com too.
so I've... (1 Reply)
Dear All,
I have machine SUNW,Sun-Fire-V240 with SunOS built there,everyday while I check messages,I found like below:
Jul 7 19:41:00 pssk sendmail: unable to qualify my own domain name (pub-pssk) -- using short name
Can any body help me to know and stop all messages,thank's for your... (3 Replies)
Suppose i have a txt file that is the list of the addresses,something like:
lala0045 john james
lala0234 george james
and i want to send an email to lala0045@blabla.com and lala0234@blabla.com,the same domain...what is the exact syntax i should use in my script?
there is a command... (10 Replies)
Hi All,
Can you please help me in solving this. I am facing some problem sending mails.
If I use like this, I am able to send mail the mail
echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com'
But if I use like this, then I am unable to send... (1 Reply)
Hi, I am trying to send mail in ubuntu. I have installed postfix. In Redhat I could just type:
mail name@domain.com
I get the error that the command mail is not found. Does anyone know if there is a different command line to send mail? Can I install the command?
Thanks,
Eric (1 Reply)