Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few questions, I just installed SMTP on my Ubuntu server, and I want to know how to connect to it from a different machine... I'm not really clear.

I tried:

telnet my.servers.ip.address 25

I think it's running on port 25, but I don't know where to find out, its not in the conf file anywhere.

Additionally do I need it to be a FDQN? or can I just access my mail server via it's IP address? I know that the service works on the machine because I'm able to

echo test | mail -s "test"

Any help debugging or understanding this would be helpful, thanks guys!

share|improve this question
"installed"? Did you configure it? – Ignacio Vazquez-Abrams Dec 21 '10 at 22:48
I did, but I'm not really 100% sure what the right configuration is, lots of the tutorials suggest setting it up as a "Satellite", but I'm just not sure what is the common, setup or rather the preferred one. – JP Silvashy Dec 21 '10 at 22:55
What smtp server - postfix? – ringø Dec 21 '10 at 23:16
Yah I'm using postfix. – JP Silvashy Dec 22 '10 at 0:45

You can use the netstat command to see which services are listening on what ports.

   netstat -ntlp

Make sure the mail server is listening on more than just the loopback interface. It most likely isn't by default, for security reasons.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.