Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to use "mail" command to send email. It does not work(I've not received any email.
I checked if the sendmail is working, I typed ps -aux | grep sendmail
I tried to use "mail" command to send email. It does not work(I've not received any email.
I checked if the sendmail is working, I typed ps -aux | grep sendmail
Also, I can't restart sendmail, it's freezing...(see below)
[root@pe-web init.d]# sendmail restart
restart... User unknown
Also, I tried this
[root@pe-web /root]# telnet localhost 25
Trying 127.0.0.1...
Connected to pe-we....
Please help.....
debug like this.
first
Code:
tail -f /var/log/maillog | grep user@host &
then
Code:
mail -v user@host
this should throw up something in the maillog. paste here.
it doesnt look like you have any need to restart sendmail right now. it is running fine...but in case you do want to, the command is
this should throw up something in the maillog. paste here.
it doesnt look like you have any need to restart sendmail right now. it is running fine...but in case you do want to, the command is
Code:
service sendmail restart
Thank you...I can restart sendmail by using service restart sendmail
It looks like yahoo are not accepting mail from your server. CAn you try a test to another email address? Hotmail or Google? It might be a good idea to configure your mail server so that the from email address is routeable. A lot of mail servers would reject email if this is not the case. Somebody@localhost is not a valid email address.
NOt sure what Brian or barshani are trying to say, but your sendmail is up and running fine. Your mail server must answer with a proper dns name for a start. You can add this in /etc/hosts. Must be resolvable in dns
I found anohter post which is similar as my case. Finally, he made a port redirection from 25 to 26 and worked. Therefore, I did the same thing yesterday.
[root@pe-web /root]# service sendmail status
sendmail (pid 699) is running...
Thank you
i would reverse the firewall change you made. why did you make that?>>
Your mailserver appears to be working correctly.
All i can see is that some mail servers will not allow you to send mail to them because of RFC 821/822 (mailserver configuration).
thats all.
IF you are still having problems, you may have to pm me as this seems to be going a bit off track..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.