Help with Postfix setup

NaughtyusMaximus

Diamond Member
Oct 9, 1999
3,220
0
0
I'm running a server on debian (potato), and am having problems getting postfix to work porperly. As it stands right now, as far as I can tell I've followed the install instructions to a T.

When I try to send mail (via Outlook Express), I get the following error (after a VERY short period of time - less than one second):
Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'gleneaglemusic.net', Server: 'gleneaglemusic.net', Protocol: SMTP, Port: 25, Secure(SSL): No, Error Number: 0x800CCC0F
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Can you telnet to port 25 from an external machine? Can you send mail from the Debian machine? Can you connect to port 25 from that local machine?
 

NaughtyusMaximus

Diamond Member
Oct 9, 1999
3,220
0
0
Telnetting to that port doesn't work from an external host.

From internal, I get the following message:
Connection closed by forgien host

If I take the following line out of inetd.conf, when trying to send e-mail from an external client, it just gives a no socket error, couldnt' connect.

smtp stream tcp nowait mail /usr/sbin/tcpd
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Ok, is there a firewall running on your machine? Anything in /etc/hosts.allow and /etc/hosts.deny? Since you are still using inetd those files may be in use. Is inetd running?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NaughtyusMaximus
No firewall (commented out hosts files to be sure), and inetd is running.

Try telnetting from the linux machine:

telnet 127.0.0.1 25

and

telnet ip_address 25

See if either of those work. I havent gotten around to setting up postfix yet (although I started an installation), so beyond that, Im not quite sure what to do yet.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NaughtyusMaximus
Same as before, connection closed by forgien host.

It sounds like a misconfiguration somewhere. Id go back through and make sure you have everything setup correctly and running.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Just a thought, you remembered to kill -HUP inetd and any running postfix processes after you changed things right?