Body: <p>We are using a bounce email account which generally works fine for optout and unsubscribe notices. On our site Civimail is set to send mail out through an Amazon AWS SMTP account. When the recipient clicks a &quot;report spam&quot; button, the bounce account gets an email from complaints@email-abuse.amazonses.com with a body similar to:</p>
  <blockquote>
  <p>This is an email abuse report for an email message from amazonses.com on Tue, 28 Feb 2023 14:42:39 +0000</p>
  </blockquote>
  <p>Civimail bounce processing then moves this email to INBOX/CiviMail/processed, but it doesn't make any change to the contact record. As a result Civimail continues to send our bulk mail to that contact. It would make more sense to treat an email abuse complaint as an optout. Any suggestions on resolving this?</p>
  <p>Edit: this is on civicrm 5.58.1 and wordpress 6.1.1.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-01T23:13:37.077Z
Comments.Text: "but it doesn't make any change to the contact record ". How have you tested this. For some bounces it requires 'several' before the threshold is met to put the contact record On Hold.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-01T23:18:01.420Z
Comments.Text: Are you using an extension or just the SMTP connection only? AirMail is not recording correctly FWIW: https://civicrm.stackexchange.com/questions/41661/aws-complaints-not-being-logged-as-spam-bounce-type?noredirect=1#comment50297_41661
Comments.UserDisplayName: Andy Burns
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-02T02:37:05.977Z
Comments.Text: @petednz I tracked a year's worth of abuse reports and looked at the contact records, because we were getting complaints that we are ignoring unsubscribe actions - which turned out to be "report spam" actions. If I am understanding civicrm_mailing_bounce_pattern and civicrm_mailing_bounce_type, abuse reports should be bounce_type 10, which has a hold_threshold of 1.
Comments.UserDisplayName: twowheeler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-02T02:38:39.823Z
Comments.Text: @AndyBurns-iXiam no extension, just a SMTP connection.
Comments.UserDisplayName: twowheeler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-03T01:26:56.413Z
Comments.Text: We use AWS and receive these similar messages from AOL/Yahoo/Comcast addresses. They are always correctly put on hold, as far as I can tell. 5.58.1 on Drupal 7.
Comments.UserDisplayName: Lars SG
Tags: <civimail><bounce-processing>
Title: Why aren't email abuse reports treated like an optout?
ThreadText: # Why aren't email abuse reports treated like an optout?
  
  (Asked by: username_0 on 2023-03-01)
  
  We are using a bounce email account which generally works fine for optout and unsubscribe notices. On our site Civimail is set to send mail out through an Amazon AWS SMTP account. When the recipient clicks a "report spam" button, the bounce account gets an email from complaints@email-abuse.amazonses.com with a body similar to:
  
  > This is an email abuse report for an email message from amazonses.com on Tue, 28 Feb 2023 14:42:39 +0000
  
  Civimail bounce processing then moves this email to INBOX/CiviMail/processed, but it doesn't make any change to the contact record. As a result Civimail continues to send our bulk mail to that contact. It would make more sense to treat an email abuse complaint as an optout. Any suggestions on resolving this?
  
  Edit: this is on civicrm 5.58.1 and wordpress 6.1.1.
  
  **Tags:** civimail, bounce-processing
  
  > **Comments:**
  > **username_1**: "but it doesn't make any change to the contact record ". How have you tested this. For some bounces it requires 'several' before the threshold is met to put the contact record On Hold.  
  > **username_2**: Are you using an extension or just the SMTP connection only? AirMail is not recording correctly FWIW: https://civicrm.stackexchange.com/questions/41661/aws-complaints-not-being-logged-as-spam-bounce-type?noredirect=1#comment50297_41661  
  > **username_0**: @username_1 I tracked a year's worth of abuse reports and looked at the contact records, because we were getting complaints that we are ignoring unsubscribe actions - which turned out to be "report spam" actions. If I am understanding civicrm_mailing_bounce_pattern and civicrm_mailing_bounce_type, abuse reports should be bounce_type 10, which has a hold_threshold of 1.  
  > **username_0**: @username_2-iXiam no extension, just a SMTP connection.  
  > **username_3**: We use AWS and receive these similar messages from AOL/Yahoo/Comcast addresses. They are always correctly put on hold, as far as I can tell. 5.58.1 on Drupal 7.  
  
  ---
  
  ## 0 answers
  
  