SID-02200: Amazon Linux, Postfix, SES
| Status: |
Asked |
TWiki version: |
6.0.1 |
Perl version: |
5.016003 |
| Category: |
CategoryEmail |
Server OS: |
Amazon Linux 2016 |
Last update: |
9 years ago |
I am trying to get email configured to work on my Amazon Linux EC2 Instance using postfix routing through SES.
I have configured my postfix settings to SMTP to SES which then sends the email. This works fine via command line, I get no errors and the email get delivered however I can't get it to work with Twiki.
I have turned on debugging and not getting any errors, Twiki says Net::SMTP is installed and I am running the perl email script which is picking up changes and the destination address but that is.
MailProgramPath: /usr/sbin/sendmail.postfix -t -oi -oeq
Help would be appreciated,
Thanks.
--
William Bargent - 2016-05-16
Discussion and Answer
I've no idea what SES is, but if you have installed
Net::SMTP, then TWiki will send mail without an external program. The setting in
MailProgram is ignored in this case. You just need to provide the name of a SMTP server in
{SMTP}{MAILHOST}, and probably a username/password in
{SMTP}{Username} and
{SMTP}{Password}.
--
Harald Jörg - 2016-05-16
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.