# Unsubscription test fails

**URL:** <https://forum.mautic.org/t/unsubscription-test-fails/30648>\
**Category:** Product Support\
**Created:** [January 24, 2024, 5:03pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648 "2024-01-24T17:03:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrass](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrass/32/524_2.png) [@andrass](https://forum.mautic.org/u/andrass)\
**Post date:** [January 24, 2024, 5:03pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/1 "2024-01-24T17:03:38Z")

</div>

**Your software**  
My Mautic version is: 4.4.11  
My PHP version is: 7.4.33

**Your problem**  
I like to use AboutMy.email as part of my pre-flight checks, and was exited to see that Mautic is supporting the one-click unsubscribe now.

But something doesn’t work as I thought it would, aboutmy.email complains about a missing RFC 8058 One-Click and a missing List-Id header.

In my case, I also get an error regarding “RFC 8058 unsubscription requires a DKIM signature covering List-Unsubscribe and List-Unsubscribe-Post”, but I guess this is a bug in my DKIM configuration.

If some kind soul could test a Mautic 4.4.11 email on aboutmy.email and reply back to see where it fails.

Thanks a ton !

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 24, 2024, 6:36pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/2 "2024-01-24T18:36:33Z")

</div>

Hi, did you do ‘test send’ or actual segment email send?

---

<div class="post-metadata">

**Author:** ![andrass](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrass/32/524_2.png) [@andrass](https://forum.mautic.org/u/andrass)\
**Post date:** [January 24, 2024, 6:58pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/3 "2024-01-24T18:58:18Z")

</div>

Send Test. It’s pre-flight, that is to say to check everything before take-off.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [January 25, 2024, 9:11am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/4 "2024-01-25T09:11:58Z")

</div>

I also tested with Mautic Segment mail (no test sending) to outlook and to gmail. In both cases, the unsubscribe functionality is not showing up. I send with Mautic 4.4.11 via Amazon SES.

I can provide headers to check. My impression - there are more than the expected headers as described in [https://certified-senders.org/wp-content/uploads/2017/07/CSA\_one-click\_list-unsubscribe.pdf](https://certified-senders.org/wp-content/uploads/2017/07/CSA_one-click_list-unsubscribe.pdf)

Also they seem to be embedded into some other tags in the mail header?

Looks broken to me too.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [January 25, 2024, 9:18am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/5 "2024-01-25T09:18:23Z")

</div>

OK - reading @joeyk article: [2024 Feb. email regulations – the Mautic angle – Joey Keller](https://joeykeller.com/2024-feb-email-regulations-the-mautic-angle/) I understand the unsubscribe button doesn’t need to actually be shown due to Gmail itself. Probably the same is valid for Microsoft Outlook?

So can it be confirmed, that the actual implementation satisfies the standard, even if no unsubscribe button shows up in the receivers clients?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 25, 2024, 10:02am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/6 "2024-01-25T10:02:17Z")

</div>

I wrote in my article, that Gmail doesn’t show the unsubscribe link for certain sender.  
In this case you would have 0 unsubscribe option for receivers.  
I will def. keep adding the unsub link.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [January 26, 2024, 9:08am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/7 "2024-01-26T09:08:16Z")

</div>

That is a misunderstanding. Of course we still use the visible unsubscribe links in the footer. I meant the client generated “unsubscribe from list” button which doesn’t show up for reasons mentioned. So Google / Yahoo may be satisfied even when deciding not to display it.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [January 26, 2024, 9:24am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/8 "2024-01-26T09:24:40Z")

</div>

> [@andrass](#):
>
> aboutmy.email

I can confirm I also don’t pass the test there with Mautic 4.4.11 and Amazon SES, having sent it as a real mail. Also [mail-tester.com](http://mail-tester.com) complains about missing List-Unsubscribe-Header.

The headers contain DKIM entries with “List-Unsubscribe-Post” and “List-Unsubscribe-Post:Feedback-ID”

Also an additional “List-Unsubscribe-Post: List-Unsubscribe=One-Click” outside DKIM.

A “Feedback-ID: …” has been added by Amazon SES too. Could be, that the headers added by mautic are interfering with headers added by Amazon SES?

However - in a different instance, also with Amazon SES and Mautic 4.4.11 I found no issues 😃 … will need to identify the differences.

---

<div class="post-metadata">

**Author:** ![andrass](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrass/32/524_2.png) [@andrass](https://forum.mautic.org/u/andrass)\
**Post date:** [January 26, 2024, 1:37pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/9 "2024-01-26T13:37:49Z")

</div>

That’s ugly.

It essentially means that you and I don’t have RFC 8058 coverage on a vanilla Mautic installation at only 5 days to 01. February.

You, and I, and potentially hundreds of other Mautic users.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 26, 2024, 1:54pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/10 "2024-01-26T13:54:35Z")

</div>

@dirk_s we had some other posts about this where the ESP was injecting headers, (I think it was Postmark, maybe) and the user had to request them to turn it off, because Mautic is taking care of it.

Maybe that’s the case with Amazon?

> **[Using subscription management - Amazon Simple Email Service](https://docs.aws.amazon.com/ses/latest/dg/sending-email-subscription-management.html)**
>
> Provides information about configuring Amazon SES to add an email footer unsubscribe link and/or a list-unsubscribe header to enable end users to unsubscribe from a list or from all customer emails.

Might be worth digging into the docs here, perhaps that could give you a lead to figure out where the extra headers are coming from?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 26, 2024, 9:17pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/11 "2024-01-26T21:17:32Z")

</div>

For me all check passing…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7544197598fa47841d45393ca39a6c944e16cc05.png)

---

<div class="post-metadata">

**Author:** ![andrass](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrass/32/524_2.png) [@andrass](https://forum.mautic.org/u/andrass)\
**Post date:** [January 27, 2024, 8:10am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/13 "2024-01-27T08:10:29Z")

</div>

Went down the rabbit hole, and all is fine now for me. It all broke down to the DKIM configuration where the two fields List-Unsubscribe and List-Unsubscribe-Post weren’t included in the signature.

aboutmy.email still complains about a missing List-Id header, but that seems to be an optional header in the RFC, at least for the moment, so everything passes nonetheless.

---

<div class="post-metadata">

**Author:** ![patryk.gruszka](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/patryk.gruszka/32/9813_2.png) [@patryk.gruszka](https://forum.mautic.org/u/patryk.gruszka)\
**Post date:** [January 29, 2024, 9:31am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/14 "2024-01-29T09:31:05Z")

</div>

Both headers: `List-Unsubscribe-Post` and `List-Unsubscribe` should be outside the `DKIM-Signature` header.

Are you using `Amazon SES - API` or `Amazon SES - SMTP`?

Check if the problem occurs when sending the template email through the campaign or only in the email to segment. This may be related to some header processing in the Amazon SES transport.

---

<div class="post-metadata">

**Author:** ![jonathandhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jonathandhn/32/5737_2.png) [@jonathandhn](https://forum.mautic.org/u/jonathandhn)\
**Post date:** [January 29, 2024, 11:30pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/15 "2024-01-29T23:30:26Z")

</div>

Hi, this docs is not related to this topic. It’s only related to storing contact lists on AWS and consuming them with AWS without Mautic.

---

<div class="post-metadata">

**Author:** ![carlosatfongo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlosatfongo/32/10223_2.png) [@carlosatfongo](https://forum.mautic.org/u/carlosatfongo)\
**Post date:** [March 27, 2024, 8:14pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/16 "2024-03-27T20:14:27Z")

</div>

Hello,  
Could you share your DKIM config?  
I’m having the same problem and I’m not sure how to add those headers on my DKIM.

Thanks

---

<div class="post-metadata">

**Author:** ![carlosatfongo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlosatfongo/32/10223_2.png) [@carlosatfongo](https://forum.mautic.org/u/carlosatfongo)\
**Post date:** [March 27, 2024, 8:15pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/17 "2024-03-27T20:15:58Z")

</div>

Hi,  
Are you using Postfix for the email?  
how do you have the config to show the “malito:email” from the pic you attached?

Thanks

---

<div class="post-metadata">

**Author:** ![steffenabel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steffenabel/32/9907_2.png) [@steffenabel](https://forum.mautic.org/u/steffenabel)\
**Post date:** [April 3, 2024, 12:00pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/18 "2024-04-03T12:00:13Z")

</div>

Hi everyone,

I had the same issue with our Mautic System (5.0.2) that the List-Unsubscribe header was missing when sending emails via amazon ses.

Turns out the problem is solved when using `ses+https` as transport instead of using `ses+api` as a transport.

This took me a long time to figure out, I finally found it out due to this post in the symfony issue tracker: [[Mailer/AWS] Custom headers aren't transmitted · Issue #45168 · symfony/symfony · GitHub](https://github.com/symfony/symfony/issues/45168)

I’d like to suggest that the documentation is updated with a clear warning that this is an issue. If someone tells me how to update the documentation, I’m happy to do it myself and save other people hours of debugging. Maybe @silavapi can give me a hint how to do this?

Best  
Steffen

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 3, 2024, 4:48pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/19 "2024-04-03T16:48:39Z")

</div>

Did you use a plugin for amazon SES sending or just the default amazon ses symfony transport?

---

<div class="post-metadata">

**Author:** ![steffenabel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steffenabel/32/9907_2.png) [@steffenabel](https://forum.mautic.org/u/steffenabel)\
**Post date:** [April 3, 2024, 6:05pm UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/20 "2024-04-03T18:05:59Z")

</div>

I’m using the default symfony transport.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 5, 2024, 5:42am UTC](https://forum.mautic.org/t/unsubscription-test-fails/30648/21 "2024-04-05T05:42:52Z")

</div>

Okay, the default transport doesn’t inclide the api option. You would need a plugin for that.

[Next page](https://forum.mautic.org/t/unsubscription-test-fails/30648.md?page=2)
