Operating System - HP-UX
1752598 Members
5304 Online
108788 Solutions
New Discussion юеВ

Re: 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 3
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