Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to make this run, but I'm getting really crazy. I want to run PHPList with Amazon SES. I've followed this instructions LINK But I get this error:

SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed:     Name or service not known (0) 
SMTP Error: Could not connect to SMTP host.

I can't understand why I get this SMTP error when if I just use SES integration it just have to use cURL. Is there a bug?! or I have to modify something of the code to don't try to connect server.

Of course I tried to define PHPMAILERHOST as amazon smtp host but it fails because it didn't use TLS.

I tried to use PHPMailer with integration with Amazon SES, but non of them work.

Any ideas?!

share|improve this question
    
IT WORKS PREFECTLY IN PHPLIST 2.11.6, not in 2.11.7 –  enedebe Sep 13 '12 at 10:23
add comment

1 Answer

There is a workaround here. The workaround is to use postfix that uses SES as relay to send out emails like described in: http://www.millcreeksys.com/how-to-configure-your-postfix-server-to-relay-email-through-amazon-simple-email-service-ses/
After you do this you can use the mail() command to send emails using your localhost MTA which will relay them further through SES.

share|improve this answer
    
Thanks but I don't have postfix in this servers, junt Apache. But thanks for all! –  enedebe Sep 13 '12 at 14:27
    
We do the same via an exim server on a virtual machine. In any cases latest (still beta) version of phplist includes direct SES support –  luison Dec 7 '12 at 16:05
add comment

Your Answer

 
discard

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.