Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Problem with SNS Notifications
  • Vote Up0Vote Down snelsonsnelson
    Posts: 3Sendy user

    I have set the SNS notifications up per the Getting Started documentation but their SubscriptionID is PendingConfirmation. We use SNS quite a bit for our other systems and this usually means that notifications will not be sent to that subscriber. I checked the access log for apache and didn't see a request come in for bounce.php. Am I missing a step?

    We are running Ubuntu 12.10 with the following packages installed mysql-server, mysql-client, apache2, php5, libapache2-mod-php5, php5-mysql, php5-curl, gettext

  • 2 Comments
  • Vote Up0Vote Down snelsonsnelson
    Posts: 3Sendy user

    Also, when I try to validate the complaint/bounce it fails saying they are not setup. I get the notifications via a second subscription I set up for email.

    {"notificationType":"Complaint","complaint":{"userAgent":"Amazon SES Mailbox Simulator","complainedRecipients":[{"emailAddress":"complaint@simulator.amazonses.com"}],"complaintFeedbackType":"abuse","timestamp":"2013-04-01T18:43:51.000Z","feedbackId":"0000013dc6e99dea-1928b3f5-9afc-11e2-82b9-499735179738-000000"},"mail":{"timestamp":"2013-04-01T18:43:51.000Z","source":"Sendy xxx@xxx.xxx","messageId":"0000013dc6e99ba1-6438d349-e5a6-4d4a-9a10-ac3a56c3e2df-000000","destination":["complaint@simulator.amazonses.com"]}}

    and

    {"notificationType":"Bounce","bounce":{"reportingMTA":"dns; b232-135.smtp-out.amazonses.com","bounceType":"Permanent","bouncedRecipients":[{"emailAddress":"bounce@simulator.amazonses.com","status":"5.0.0","diagnosticCode":"smtp; 5.1.0 - Unknown address error 550-'5.1.1 user unknown' (delivery attempts: 0)","action":"failed"}],"bounceSubType":"General","timestamp":"2013-04-01T18:43:26.000Z","feedbackId":"0000013dc6e99d20-1909e11d-9afc-11e2-8bc7-8523e9baf2fa-000000"},"mail":{"timestamp":"2013-04-01T18:43:51.000Z","source":"Sendy xxx@xxx.xxx","messageId":"0000013dc6e99a86-48e2104b-2532-470c-af81-dd34f5193242-000000","destination":["bounce@simulator.amazonses.com"]}}

    So I know the email address is setup, but the bounce/complaint do not seem to be working properly

  • Vote Up0Vote Down snelsonsnelson
    Posts: 3Sendy user

    And now I shall answer my own question....

    Security Group blocked access to my apache port, so SNS couldn't send the request to my EC2 instance. Working now.

This discussion has been closed.
All Discussions