Can't connect to port 25 on a Linux box

Can't connect to port 25 on a Linux box

Post by Ron Be » Fri, 25 Apr 1997 04:00:00



I have been trying to work with Sendmail on a Linux machine.  I have been
unable to convince it to accept mail from remote hosts.  Attempting to telnet
to port 25 gets me an error message:

"Recipient names must be specified"

I have not had the same problems with a Solaris machine I have temporary
access to.  I've been going through the O'Reilly sendmail book, as well some
references on TCP/IP, but all the information seems to count on sendmail
running OK in the first place.

Any suggestions (other than tossing Linux - not really an option yet).

Thanks.

email responses to


 
 
 

Can't connect to port 25 on a Linux box

Post by Betty Le » Fri, 25 Apr 1997 04:00:00



+ I have been trying to work with Sendmail on a Linux machine.  I have been
+ unable to convince it to accept mail from remote hosts.  Attempting to telnet
+ to port 25 gets me an error message:
+
+ "Recipient names must be specified"

It sounds like your sendmail daemon might be running with bad flags.
Try making sure it's not in inetd.conf, kill any running sendmail daemons,
and try starting a new one by hand...
   /usr/lib/sendmail -bd -q15m

--
#!/usr/local/bin/perl -- - ### Betty Lee ### All standard disclaimers apply. ;
s>^>9d11<5d.28-.o8d16<3d/14d)o7d7<d< 8<2d/13d)od6-*-4=3<5d8< /12d)o7d3< B2d/>;
s>$>3d5</10d)o7d<d^2d/ ^3d3</8d)o9d|d|d|4d/7d)o9dqa|d/4d/6d)o9drgicuwuBngncp>;
s;$;f.uvcphqtf.gfwo;;y;A-w;?-u;;s;m;\n;g;;s;(\d+)(.);$2x$1;eg;;s;b;  ;g;print;

 
 
 

Can't connect to port 25 on a Linux box

Post by Fly By Night » Sat, 26 Apr 1997 04:00:00



> I have been trying to work with Sendmail on a Linux machine.  I have
> been > unable to convince it to accept mail from remote hosts.  Attempting
> to telnet > to port 25 gets me an error message: > "Recipient names must
> be specified"

What params are you using?

In /etc/rc.d/rc.M I have:

/usr/sbin/sendmail -bd -q 15m

When I telnet to port 25, sendmail just waits.
Why yours is misbehaving so, I do not know. I would recompile/reinstall
sendmail, and use the default sendmail.cf that comes with the linux
distrib I have installed (which happens to be slackware).

CiAo

 
 
 

Can't connect to port 25 on a Linux box

Post by Rick Trox » Sun, 27 Apr 1997 04:00:00



   It sounds like your sendmail daemon might be running with bad flags.
   Try making sure it's not in inetd.conf, kill any running sendmail
   daemons, and try starting a new one by hand...
      /usr/lib/sendmail -bd -q15m

Note the lack of space after the -q here.  An earlier response included
a space, which I believe is broken: with -q 15m sendmail should
interpret "15m" as a recipient address.  That response also indicated
that the broken invocation came from a startup file...

Regards,
--

     http://www.dc-sage.org/bios/rick_troxel  301/435-2983
/////////////////////////////////////////////////////////////////
All effort and exertion put forth by man from the fullness of his
heart is worship, if it  is prompted  by the  highest motives and
the will to do service to humanity.                 --Abdu'l-Baha

 
 
 

1. Newbie can't connect to port 25

I have a sendmail server on Red Hat 7.2 that sits behind my firewall,
which I have allowed ports 25 (smtp) and 110(pop3) to go through.
When I try and send a piece of mail from the internet it does not go
through and I get no error messages from the email client.  If I try
and telnet to the ip or domain name on port 25 I get the error : Could
not open connection to the host on port 25.  A socket operation was
attempted to an unreachable network.

I realize this is a network problem but my DNS seems to be working
properly because I can pull up the MX record via nslookup.

Any ideas out there.

Dave Nardoni

2. Send an original Dada Greeting message

3. Unable to connect on port 25?

4. Backups on high-availability servers

5. Problem with sendmail 8.* connecting to port 25

6. Netscape viewing FP tables

7. Delay when connecting to port 25

8. Formatting datagrid output

9. SendMail Port 25 and 110 no open (Cannot Connect to POP3)

10. connect port 25 refused

11. How do I tell sendmail to connect to a port other than 25?

12. SMTP server error on connect to port 25

13. sendmail on Red Hat 8 Linux -- connection refused on port 25