Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am setting up a PHP-powered web application on AWS micro instance:

$ uname -a
$ Linux ip-10-138-44-238 3.2.28-45.62.amzn1.x86_64 #1 SMP Wed Aug 22 03:09:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

PHP function mail() returns successfully true, but nothing is received (obviously email is blocked by Amazon somewhere outside of the server). Using sendmail from command line acts the same:

$ sendmail 'mzelensk**@mail.ru' < mail.txt

I came across many post about this problem on the Internet, so there should be a good and well tested solution to it. A webapp must be able to send mails, this is a pre-requirement nowadays. How can a webapp work without, for example, password reminder functionality?

What are my options to solve the problem?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.