Amazon EC2 Linux server without postfix sending localhost email

0

I configured a Linux instance in Amazon EC2, I installed the basics to run a PHP application (Apache + PHP + MySQL).

What surprised me was when I ran a test using the mail () function of PHP, I usually received it in my email as if it had a localhost SMTP server configured with the following address:

<[email protected]>

Doubt:

As my instance in Amazon EC2 without having an SMTP server configured, such as postfix or similar, was able to send mail using the mail () function of PHP?

    
asked by anonymous 24.04.2015 / 08:18

1 answer

1

An instance has a simple mail server by default, which delivers your message but in practice does not deliver the quality needed for production use. If it's just a test or alert at the operational level, OK, but for delivery of transactional messages delivery is not guaranteed.

Configure your server to perform a Pool, in effect making a Relay for a server with better quality delivery, such as AWS's own message delivery service

    
24.04.2015 / 14:19