Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with port 25 in HP-UX 10.20

Oscar Castillo Murillo
Occasional Advisor

Problem with port 25 in HP-UX 10.20

telnet hostname port 25

421 Internal configuration error

smtp 25/tcp is avaible
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Problem with port 25 in HP-UX 10.20

Are you running sendmail on the server?

If so, you might generate this error by attempting to telnet in. However you should actually see your mail system prompt you for information.

If sendmail is not running as a daemon then you should get "unable to connect"

See if the /etc/services file has correct information in it, perhaps compare it to another server that is working properly.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Oscar Castillo Murillo
Occasional Advisor

Re: Problem with port 25 in HP-UX 10.20

root 11942 1 0 11:31:13 ? 0:00 /usr/sbin/sendmail -q30m

smtp 25/tcp # Simple Mail Transfer Protocol
Bill Hassell
Honored Contributor

Re: Problem with port 25 in HP-UX 10.20

It sounds like your sendmail.cf file is corrupted or badlt misconfigured. You can rename the current /etc/mail/sendmail.cf to something.old and copy a clean version from newconfig:

cd /etc/mail
mv sendmail.cf sendmail.cf.old
cp /usr/newconfig/etc/mail/sendmail.cf sendmail.cf

Now telnet to port 25 should work OK. Note that you still need to make changes to your sendmail.cf file to get email working.


Bill Hassell, sysadmin