Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have been put in charge of installing a new SMTP server. so, i have decided to broaden myself and get into linux... here is what i have and here is the problem. i have ubuntu server installed (honestly i'm not too sure which flavor...i want to say gutsy gibbon). also, ubuntu has been installed as a virtual machine using VMWARE 1.5. to help a hack like me, i installed webmin because i am not too comfortable at the command line. next i installed and started postfix. went great. just for the fun of it, i sent some mail from the webmin/postfix console using one of the built-in user mailboxes...mail delivered perfectly. here is my problem. when i try to send mail from a simple mail client, the client connects to the server, but times out trying to send. i have tried to disable all autentication...this server is on my LAN behind firewalls, so i have no need for authentication to send mail. also, i have checked the boxes to accept all smtp mail clients and disabled all encryption. any ideas? thanks - shagcarpet
thanks for the reply. i can see that what you say is probably the issue. when i telnet to the linux box, "telnet 10.19.6.47 25", it appears to connect, but comes back with a black screen with the cursosr flashing... when i type, the cursor moves but no characters are displayed. when i hit enter the cursor jumps to the next line. have i hosed the config? here is the optput of "postconf -n", run from the command shell in webmin.
Thanks for the reply...
both (a) and (b) have the same results.
i assume i connect each way, i see just a black screen with the cursor flashing...if I type anything, the cursor moves but nothing is displayed. when i hit enter it jumps to the next line.
also...when i try to send mail thru it (using windows mail), the client says connected for about a minute, then comes back with a timeout error.
Last edited by shagcarpet; 07-13-2008 at 08:03 PM.
Something is not right. You should at least be getting something like:
$ telnet localhost 25 Connecting to localhost...
from the test where you tried connecting from the postfix server machine itself. Are you running the localhost test on the native host or the guest OS?
yeah...something definitely doesn't seem right. i have limited experience with linux, but many years of windows/server experience...i've never seen a telnet session do stuff like this.
i ran the localhost test on the guest OS (which is Ubuntu)...native host is Windows 2003. test from another host was run from another windows 2003 server on same LAN segment. again, both have the same results. is a reload in order?
If there is no listening service, you will get an immediate Connection refused message. Example:
Code:
$ telnet localhost 99
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
If a service is listening and accepts the connection, you will get a Connected to host message:
Code:
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
You are getting the connection message, so the connection has been accepted by the listening service.
What shows up in your maillog when you run the telnet test ?
Let the connection sit for about 1 minute - see what happens both on screen and in the log.
You don't need to reboot to exit telnet. The message "Escape character is '^]' means you can hit Control-Escape to force telnet to give you back command control. Then you can just type quit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.