Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
My config is RedHat 6.1 Sendmail 8.9.3. The problem is that when RedHat starts with the text base login, Sendmail doesnt receive emails but if you were to start RedHat with the graphical login screen, Sendmail works as it should.
I disable the graphical login in the inittab file, by changing the line
id:5:initdefault: change 5 to 3
Sendmail doesnt receive emails when changed to 3. Anyone have any idea on what is going on.
I'm using putty from another box to access server and su root for these commands
output for ps
[root@www /]# ps
PID TTY TIME CMD
9212 pts/0 00:00:00 login
9226 pts/0 00:00:00 su
9227 pts/0 00:00:00 bash
9244 pts/0 00:00:00 ps
output for netstat -tanpl|grep 25
[root@www /]# netstat -tanpl|grep 25
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
output for telnet mail.domain.ext 25
Trying ???.???.???.???...
telnet: Unable to connect to remote host: Connection refused
Last edited by countryuser; 08-31-2009 at 04:35 AM.
You should run the commands as root.
Also you should use the link to the smtp commands via telnet as a reference to your case. You should replace mail.domain.ext with the name of your mail server.
I was logged in as root ([root@www /]) and run those commands, I even logged in a the actual server as root and the same was returned. As for the telnet command I used my mail server name and that is what was returned. The question marks ? are my ip number.
How is slackware run as a server, never looked at it. I'm thinking Debian (Lenny) to upgrade to when time permits.
Last edited by countryuser; 09-01-2009 at 02:24 AM.
netstat -tanpl|grep 25
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
If you were root, then how does this happens?
Are you sure that sendmail is working on runlevel 5 and not on runlevel 3? Did you try to restart it once on rc3?
What are the logs (/var/log/messages, /var/log/maillog etc) saying?
Thanks for your help Bathory. I have been incapacitated for a while but I took your advice and upgraded from RedHat 6.1 to Debian Lenny. A much newer server software. Very easy to install, thanks to Falco Timmes documentation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.