Super User is a question and answer site for computer enthusiasts and power users. 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 am still trying to get my local virtual box Ubuntu 10 server to work fine. This time I cant send email from my local machine - lets say, to test some contact form, etc...

I want it to relay on my ISP or whatever it works. Lots of tuts out there but its funny how linux people assume everone knows what they know - I'm learning, so anything more than - read that documentation, blablabla, would be much appreciate.

share|improve this question
You want your computer to send it to your Ubuntu and Ubuntu must then send it to your ISP, who will send it to the recipient? – BloodPhilia Aug 25 '10 at 21:03
Its only a relay option. If you install xampp or watever on windows, you just need to change your php.ini file to set your smtp, port and send_from and you done - from your local host you can test your forms, etc... It looks like is not as simple on Linux - my ubuntu server is now my "localhost" and I can see through mail.log that it is being able to communicate to relay the messages - but its get bounced, queued, etc - Im missing something... – ronaldosantana Aug 25 '10 at 21:07
If you're trying to make your computer an SMTP-server, try your luck at – BloodPhilia Aug 25 '10 at 21:12
It looks like I am looking for the wrong setup - according to this question… one of the guys there (sajb) said something about nullmailer - and…. I will give it a try and post the results back - my question was bad formulated - what I need is not a SMTP server, but a simple solution to relay on my ISP SMTP server - its only a development enviromment. – ronaldosantana Aug 25 '10 at 21:26
up vote 0 down vote accepted

I will just post here what I found looking in a lot of place, blogs, forums, etc... Most people just said: gave up - don't use postfix - what you need is not a SMTP server, but a simple relay solution.

Then I change postfix to ssmtp and now its working perfectly. So as simple answer for what I wanted - the thing is, I was trying to complicate things without knowing really well what I was doing...

Lesson learned - using ssmtp now - because this is all I need - a development and test environment.

Thanks for the comments and help.

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.