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.

link|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... – Ronaldo Junior Aug 25 '10 at 21:07
If you're trying to make your computer an SMTP-server, try your luck at serverfault.com. – BloodPhilia Aug 25 '10 at 21:12
It looks like I am looking for the wrong setup - according to this question superuser.com/questions/92760/… one of the guys there (sajb) said something about nullmailer - untroubled.org/nullmailer and undesigned.org.za/2007/11/22/…. 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. – Ronaldo Junior Aug 25 '10 at 21:26
feedback

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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