zekeman
01-24-2003, 05:31 PM
I'm trying to configure my RedHat 8.0 box to run SendMail & POP3. I want the box to send out mail without using another mail server and it won't be setup to receive mail from the outside. I want to be able to use POP3 from another machine to send mail thru this box to the outside world and people on our network (not Spam - email reports & statements). But I'm having problems - I can't seem to send mail out from the linux box, and I can't connect to port 110 from another machine. The machines name is linux.
This is what I have:
1. /etc/hosts
127.0.0.1 localhost.localadmin localhost
xxx.xx.xx.xxx linux.localdomain linux
2. If I run /etc/init.d/sendmail restart:
shutting down sendmail - ok
shutting down sm-client - ok
starting sendmail - ok
starting sm-client - ok
3. In /etc/mail/sendmail.mc
I commented out the DAEMON_OPTIONS line to accept incoming connections
4. If I try to send mail using mail (changed address) I get....
[root@linux postfix]# mail -v test@test.com
Subject: test me
test
.
Cc:
test@test.com... Connecting to localhost.localdomain. via relay...
220 linux.localdomain ESMTP Sendmail 8.12.5/8.12.5; Fri, 24 Jan 2003 16:26:23 -0
500
>>> EHLO linux.localdomain
250-linux.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet y
ou
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@linux.localdomain> SIZE=56
250 2.1.0 <root@linux.localdomain>... Sender ok
>>> RCPT To:<test@test.com>
>>> DATA
250 2.1.5 <test@test.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 h0OLQN8G006521 Message accepted for delivery
test@test.com... Sent (h0OLQN8G006521 Message accepted for delivery)
Closing connection to localhost.localdomain.
>>> QUIT
221 2.0.0 linux.localdomain closing connection
The mail is never received.
5. Last by not least, if I try telnetting into port 110 from another machine I get:
C:\>telnet xxx.xx.xx.xxx 25
Connecting To xxx.xx.xx.xxx ...Could not open a connection to host on port 25 : Connect failed
I didn't setup a firewall (that I know of), but I have no idea how to check if something is blocking my ability to telnet there.
Any help would be GREATLY appreciated.
Thanx.
This is what I have:
1. /etc/hosts
127.0.0.1 localhost.localadmin localhost
xxx.xx.xx.xxx linux.localdomain linux
2. If I run /etc/init.d/sendmail restart:
shutting down sendmail - ok
shutting down sm-client - ok
starting sendmail - ok
starting sm-client - ok
3. In /etc/mail/sendmail.mc
I commented out the DAEMON_OPTIONS line to accept incoming connections
4. If I try to send mail using mail (changed address) I get....
[root@linux postfix]# mail -v test@test.com
Subject: test me
test
.
Cc:
test@test.com... Connecting to localhost.localdomain. via relay...
220 linux.localdomain ESMTP Sendmail 8.12.5/8.12.5; Fri, 24 Jan 2003 16:26:23 -0
500
>>> EHLO linux.localdomain
250-linux.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet y
ou
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@linux.localdomain> SIZE=56
250 2.1.0 <root@linux.localdomain>... Sender ok
>>> RCPT To:<test@test.com>
>>> DATA
250 2.1.5 <test@test.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 h0OLQN8G006521 Message accepted for delivery
test@test.com... Sent (h0OLQN8G006521 Message accepted for delivery)
Closing connection to localhost.localdomain.
>>> QUIT
221 2.0.0 linux.localdomain closing connection
The mail is never received.
5. Last by not least, if I try telnetting into port 110 from another machine I get:
C:\>telnet xxx.xx.xx.xxx 25
Connecting To xxx.xx.xx.xxx ...Could not open a connection to host on port 25 : Connect failed
I didn't setup a firewall (that I know of), but I have no idea how to check if something is blocking my ability to telnet there.
Any help would be GREATLY appreciated.
Thanx.