Amazon SES authentication issue

Discussion in 'General discussions' started by Steve, Apr 30, 2015.

  1. Steve

    Steve New Member

    Joined:
    Apr 30, 2015
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Hello

    I have created amazon credentials. I verified my email address. used email-smtp.us-east-1.amazonaws.com as hostname. I used TLS as well. Tried all ports (25, 465, 587)
    Still I get this error when I Validate server:

    • Failed to authenticate on SMTP server with username "********" using 2 possible authenticators


    Please help me to add Amazon SES smtp server.

    Thanks
     
  2. Vpul Shah

    Vpul Shah Active Member Support Staff

    Joined:
    Feb 23, 2015
    Messages:
    759
    Likes Received:
    121
    S.E:
    2019-12-22 13:03:57
    L.T:
    Regular
    L.C:
    1
    Do you have 2 step authentication in SES AIM ?
     
  3. Rob

    Rob Active Member

    Joined:
    Feb 17, 2015
    Messages:
    404
    Likes Received:
    99
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
  4. Steve

    Steve New Member

    Joined:
    Apr 30, 2015
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    @Vpul Shah: do you mean multi factor authentication? No it is not active. Also I am using AIM user with AmazonSesSendingAccess Permissions.

    @Rob I read those docs already. I followed all instructions.
     
    Last edited: Apr 30, 2015
  5. Rob

    Rob Active Member

    Joined:
    Feb 17, 2015
    Messages:
    404
    Likes Received:
    99
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    OK, there are one or two things that can cause that error.

    Check to see that your server has the port open you want to use.

    Check to see you have SSL support in your PHP installation.

    Test another SMTP service such as gmail to see if you receive the same issue. If you don't then it will be your credentials, if you do it may be one of the above.
     
  6. Steve

    Steve New Member

    Joined:
    Apr 30, 2015
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Ok i checked for port 25 and 465 using "netstat -an | grep 465" command it showed me LISTEN
    I also checked OpenSSL it is installed with version : 1.0.1e-fips

    I tried to add gmail smtp but it also showed auth error. I can add mandrill service easily.
     
  7. Rob

    Rob Active Member

    Joined:
    Feb 17, 2015
    Messages:
    404
    Likes Received:
    99
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
  8. Steve

    Steve New Member

    Joined:
    Apr 30, 2015
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I tried amazon SES web api and got following output as shown in image I attached.

    This is how I used credentials.
    I went to smtp settings in SES. then i clicked create credentials. After I created credentials I used SMTP username and SMTP password in mailwizz. I used Amazon SES web api implementation. I used hostname as provided in smtp settings.
     

    Attached Files:

    • ses.PNG
      ses.PNG
      File size:
      72.5 KB
      Views:
      40
  9. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,289
    Likes Received:
    2,391
    @Steve - Here's how you create the amazon credentials to use with mailwizz:
     
  10. Edwin Lee

    Edwin Lee New Member

    Joined:
    Jul 4, 2015
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    That works! Thanks for the SES video tutorial!
     
  11. Val

    Val New Member

    Joined:
    Aug 4, 2015
    Messages:
    1
    Likes Received:
    1
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I had some problems too, the installation was overall pretty easy (easier than sendy), it's only that there was no good tutorial on how to add the sending servers and when adding the amazon ses account I got confused because I didn't know which one was the "Amazon SES password" that was asked when adding a delivery server. I followed the instructions on the video and used the "Secret access key" and it worked. I suggest that you make it more clear of what information needs to be used. Like I said, so far this seems more friendly than Sendy (that's what we were using) but one thing Sendy had was easy to follow step by step tutorials.
    Cheers
     
    Jeff Guynn likes this.
  12. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,289
    Likes Received:
    2,391
    @Val - Thank you for the suggestion, noted :)
     
  13. Ron

    Ron Member

    Joined:
    Aug 18, 2015
    Messages:
    51
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Hello

    I gave Access Key ID as username and Secret Access Key as password and got following error while validating server

    • Unable to determine service/operation name to be authorized

     
  14. Rob

    Rob Active Member

    Joined:
    Feb 17, 2015
    Messages:
    404
    Likes Received:
    99
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Are you setting up SMTP or web api?
     
  15. Ron

    Ron Member

    Joined:
    Aug 18, 2015
    Messages:
    51
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Oh for the hostname I gave the SMTP settings servername as email-smtp.us-east-1.amazonaws.com

    or what should we put there??
     
  16. Ron

    Ron Member

    Joined:
    Aug 18, 2015
    Messages:
    51
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Amazon Ses Web Api
     
  17. Rob

    Rob Active Member

    Joined:
    Feb 17, 2015
    Messages:
    404
    Likes Received:
    99
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    It's the same for either. The issue is likely to be the fact for the web api you need to create different credentials in the AWS console. You can't use the same as the SMTP server credentials. Did you watch the video above?
     
  18. Ron

    Ron Member

    Joined:
    Aug 18, 2015
    Messages:
    51
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I have setup Amazon SMTP now using the same credentials and while validating server it didn't return any error but I haven't recieved any email either so would wait for few minutes/hours and would post the results here..

    I did the same thing as in the video
     
  19. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,289
    Likes Received:
    2,391
    @Ron - You should better try to get the Amazon Web API to work since it also handles bounces.
    If you follow the video to create a new amazon ses user, then you generate new access keys and use those keys for creating a new web api delivery server in mailwizz, then it will work.
     
  20. Ron

    Ron Member

    Joined:
    Aug 18, 2015
    Messages:
    51
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I'll delete the current Amazon SES Web API on our mailwizz account...delete all users on the Amazon IAM console.. and start fresh..

    Just let me know..what username and password should be given on the amazon web api delivery server on mailwizz??

    Policy should be PowerAccess or AmazonSESFull Access??
    username - Access Key ID
    Password : secret access key??

    Host as in same email-smtp.us-east-1.amazonaws.com
     

Share This Page