Trouble setting up a SMTP Virtual Machine. SMTP Denied from all but local host
Posted on 2007-09-28
I am trying to set up a Demo for something and I need a Linux SMTP server. I have a server running 64 bit Windows 2003. On that server I have installed VMWare Server and created a CentOS 5 Appliance.
I have POP3 working but Sendmail will not accept connections from IP's other then the localhost ip>
When I try to connect to sendmail from the localhost IP everthing works great:
[root@smtp mail]# telnet localhost 25
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Tue, 25 Sep 2007 10:25:12 -0400
250 2.1.0 firstname.lastname@example.org... Sender ok
250 2.1.5 clerk... Recipient ok
354 Enter mail, end with "." on a line by itself
250 2.0.0 l8PEPCHY002718 Message accepted for delivery
However if I try from another computer via telnet or outlook express it fails:
Connecting To 192.168.2.171:25...Could not open a connection to host: Connect fa
I have edited my /etc/mail/access file to include the IP addresses:'
Connect:192.168.2.200 RELAY #ip address of the remote computer
I tried it with out the Connect: IOW I just put in 192.168.2.200
I also ran /etc/mail/make after editing the access file everyime and even restarted sendmail.
Made sure the firewall was off:
[root@smtp mail]# /etc/rc.d/init.d/iptables status
Firewall is stopped.
I just don't know what else to try!!!