10 November 2026 · DMARC Engine · 12 min read
- Use a single domain for unsubscribe links
- Test unsubscribe links thoroughly
- Monitor aggregate reports for errors
- Configure each ESP correctly
The Challenge of Multiple Email Service Providers
Bulk senders often utilise multiple email service providers (ESPs) to manage their email campaigns, which can lead to complexities when implementing list-unsubscribe headers. A common pattern is for senders to use one ESP for marketing emails and another for transactional emails. For instance, a sender may use Mailchimp for marketing campaigns and Sendgrid for transactional emails.
mailchimp._domainkey.example.com. IN TXT "k=rsa; p=..."
sendgrid._domainkey.example.com. IN TXT "k=rsa; p=..."This setup requires the sender to manage multiple DKIM selectors and ensure that each ESP is configured correctly to use the corresponding selector. The aggregate reports will show which ESP is generating the most complaints or bounces, allowing the sender to identify areas for improvement.
import dns.resolver
answers = dns.resolver.resolve('mailchimp._domainkey.example.com', 'TXT')
for rdata in answers:
print(rdata)A hosted or managed setup, such as DMARC Engine, can simplify the process of managing multiple ESPs by providing a centralised platform for configuring and monitoring DKIM and other email authentication protocols.
_dmarc.example.com. IN TXT "v=DMARC1; p=none;..."Tip: When using multiple ESPs, it is essential to ensure that each ESP is properly configured to use the correct DKIM selector and that the corresponding DNS records are published on the sender's domain.
Understanding List-Unsubscribe Headers
Implementing list-unsubscribe headers is crucial for bulk senders, particularly those using multiple email service providers (ESPs). A common pattern is for receivers to honour list-unsubscribe headers, which can help reduce complaints and improve deliverability. The list-unsubscribe header typically contains two methods for unsubscribing: a mailto link and an http or https link.
List-Unsubscribe: <mailto:unsubscribe@example.com>, <https://example.com/unsubscribe>
When a receiver, such as a mailbox provider, sees this header, it can provide a one-click unsubscribe option to the recipient, which can help to prevent complaints. Receivers typically handle the mailto link by sending an email to the specified address, while the http or https link is usually handled by directing the recipient to a web page where they can confirm their unsubscribe request.
A key consideration for bulk senders is ensuring that the list-unsubscribe header is correctly formatted and includes a valid mailto or http/https link. The aggregate reports will show errors if the links are invalid, which can lead to deliverability issues.
example.com. IN TXT "v=spf1 include:_spf.example.net -all"
In a hosted or managed setup, the email service provider may handle the implementation of list-unsubscribe headers, but it is still important for the bulk sender to understand how they work and ensure they are correctly configured.
Tip:
> When implementing list-unsubscribe headers, it is essential to test them thoroughly to ensure they are working correctly and that the unsubscribe links are valid. This can help to prevent errors and improve deliverability.
The trade-offs for implementing list-unsubscribe headers include the potential for increased unsubscribes, as recipients are provided with a simple way to opt-out of emails. However, this can also help to improve deliverability and reduce complaints, as recipients are less likely to mark emails as spam if they can easily unsubscribe. Bulk senders should carefully consider their implementation of list-unsubscribe headers to ensure they are correctly configured and providing a good experience for recipients.
Implementing List-Unsubscribe with Multiple ESPs
When implementing List-Unsubscribe headers with multiple Email Service Providers (ESPs), a common pattern is to use a single domain for all unsubscribe links, to simplify management and reduce the risk of typos or incorrect configuration. This approach requires careful planning, as each ESP may have its own method for handling List-Unsubscribe headers.
A typical example is a bulk sender using both Mailgun and Sendgrid for email delivery. To implement List-Unsubscribe headers, the sender would need to configure each ESP to include the header in outgoing emails. The header might look like this:
List-Unsubscribe: <mailto:unsubscribe@example.com>, <https://example.com/unsubscribe>The mailto link is used for email clients that support this method, while the https link is used for clients that do not.
In a hosted or managed setup, the ESP may provide a built-in mechanism for handling List-Unsubscribe headers, such as a web interface for configuring the header. For example, Mailgun provides a list_unsubscribe parameter that can be used to configure the header:
mailgun_message = {
'from': 'example@example.com',
'to': 'recipient@example.com',
'subject': 'Example Email',
'text': 'This is an example email',
'list_unsubscribe': '<mailto:unsubscribe@example.com>, <https://example.com/unsubscribe>'
}In this example, the list_unsubscribe parameter is used to configure the header for the outgoing email.
To handle unsubscribe requests, the bulk sender will need to configure a DNS record to point to a server that can handle the requests. This is typically done using a TXT record, such as:
example.com. IN TXT "v=spf1 a mx ip4:192.0.2.1 -all"
_unsubscribe.example.com. IN TXT "v=DMARC1; p=none; pct=0; rua=mailto:abuse@example.com"However, for List-Unsubscribe, no specific DNS record is required, but the domain used in the https link must be configured to handle unsubscribe requests.
A common trade-off when implementing List-Unsubscribe headers with multiple ESPs is the need to balance simplicity with flexibility. Using a single domain for all unsubscribe links can simplify management, but may limit the ability to customise the unsubscribe process for each ESP.
List-Unsubscribe: <https://example.com/unsubscribe?esp=mailgun>In this example, the esp parameter is used to identify the ESP that sent the email, allowing the bulk sender to customise the unsubscribe process for each ESP.
Note:
When implementing List-Unsubscribe headers with multiple ESPs, it is essential to test the configuration thoroughly to ensure that unsubscribe requests are handled correctly for each ESP. This can be done by sending test emails from each ESP and verifying that the unsubscribe link works as expected.
Operational Guidance for List-Unsubscribe Headers
When implementing list-unsubscribe headers for bulk senders with multiple email service providers, it is crucial to consider the operational implications. A common pattern is for senders to use a combination of in-house and hosted solutions, which can add complexity to the implementation process. Receivers typically expect the list-unsubscribe header to be present in the email message, and it should contain a valid URL or mailto address that allows recipients to opt-out of future emails.
The aggregate reports will show whether the list-unsubscribe header is being correctly implemented, and any errors or inconsistencies will be highlighted. For example, if the header is missing or contains an invalid URL, the reports will indicate this, allowing the sender to take corrective action. A hosted or managed setup may handle this process automatically, but it is still important for senders to monitor the reports and ensure that the header is being correctly implemented.
_list-unsubscribe.<example.com>. IN TXT "https://example.com/unsubscribe"In this example, the DNS record for the list-unsubscribe header is published on the example.com domain, which is controlled by the sender. This allows the sender to manage the opt-out process and ensure that recipients can easily unsubscribe from future emails.
When using multiple email service providers, it is essential to ensure that each provider is correctly implementing the list-unsubscribe header. This may involve working with each provider to configure the header and ensure that it is being correctly added to email messages. A common trade-off is between using a single, centralised solution for managing the list-unsubscribe header, versus allowing each email service provider to manage it separately.
List-Unsubscribe: <https://example.com/unsubscribe>, <mailto:unsubscribe@example.com>In this example, the list-unsubscribe header contains both a URL and a mailto address, allowing recipients to opt-out of future emails using either method. This provides flexibility and convenience for recipients, and can help to improve the overall effectiveness of the opt-out process.
Tip: When implementing list-unsubscribe headers, it is a good idea to test the opt-out process regularly to ensure that it is working correctly. This can involve sending test emails and verifying that the list-unsubscribe header is present and functional.
The implementation of list-unsubscribe headers can also have implications for email authentication protocols such as SPF and DKIM. For example, if the list-unsubscribe header contains a URL that is not aligned with the sender's domain, it may affect the email's authentication status. Receivers may use this information when evaluating the email's legitimacy and deciding whether to deliver it to the recipient's inbox.
example.com. IN TXT "v=spf1 include:_spf.example.com -all"In this example, the SPF record for the example.com domain includes a reference to the _spf.example.com subdomain, which may be used to authenticate emails sent using the list-unsubscribe header. By ensuring that the SPF record is correctly configured, senders can help to improve the deliverability of their emails and reduce the risk of spam filtering.
Handling Aggregate Reports and Feedback Loops
When implementing List-Unsubscribe headers for bulk senders with multiple email service providers, handling aggregate reports and feedback loops is crucial for maintaining a good sender reputation. The aggregate reports will show the number of emails that were sent, delivered, and rejected, as well as the number of spam complaints. A common pattern is for receivers to send these reports to the address specified in the rua tag of the DMARC record. For example:
_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:aggregate@example.com"The reports will typically be sent in XML format, and will contain information about the sender's IP address, the number of emails sent, and the number of spam complaints.
<feedback>
<report_metadata>
<org_name>example.com</org_name>
<email>aggregate@example.com</email>
<extra_contact_info>https://example.com/dmarc</extra_contact_info>
<report_id>1234567890</report_id>
<date_range>
<begin>2022-01-01T00:00:00Z</begin>
<end>2022-01-01T23:59:59Z</end>
</date_range>
</report_metadata>
<policy_published>
<domain>example.com</domain>
<adkim>r</adkim>
<aspf>r</aspf>
<p>none</p>
<sp>none</sp>
<pct>100</pct>
</policy_published>
<record>
<row>
<source_ip>192.0.2.1</source_ip>
<count>100</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
</record>
</feedback>
Receivers typically use feedback loops to send spam complaints to the sender, and these complaints are usually sent to the address specified in the List-Unsubscribe header. A hosted or managed setup may handle these complaints differently, so it is essential to check with the provider to determine how they handle feedback loops.
Warning:
Failing to handle aggregate reports and feedback loops properly can lead to a decrease in sender reputation, resulting in emails being blocked or marked as spam. It is crucial to monitor these reports and take action to resolve any issues that may arise.
Trade-Offs and Considerations for Bulk Senders
When implementing List-Unsubscribe headers for bulk senders with multiple email service providers, several trade-offs and considerations must be taken into account. A common pattern is for senders to use a combination of in-house and hosted solutions, which can lead to complexity in managing unsubscribe links. For example, a sender may use a hosted solution like Mailchimp for marketing emails, while also using an in-house solution for transactional emails.
_list-unsubscribe.<domain> IN TXT "mailto:unsubscribe@example.com"This can result in inconsistent unsubscribe links, making it difficult for recipients to opt-out of emails. To mitigate this, senders can use a single, centralised unsubscribe system that can handle requests from multiple email service providers.
https://example.com/unsubscribe?email={emailaddress}A key consideration is the handling of unsubscribe requests. Receivers typically expect unsubscribe links to be specific to the recipient's email address, to prevent unauthorised unsubscriptions.
https://example.com/unsubscribe?email=john.doe@example.comNote:
> When using a hosted or managed setup, it is essential to check how the provider handles unsubscribe requests, as some may not support custom unsubscribe links.
Best Practices for Ongoing Management and Monitoring
A common pattern is for bulk senders to set up List-Unsubscribe headers and then not monitor their effectiveness, which can lead to issues with complaint rates and deliverability. Receivers typically expect the List-Unsubscribe header to be honoured, and a failure to do so can result in increased complaints and potential blocking.
To manage List-Unsubscribe headers effectively, it is essential to monitor aggregate reports and feedback loops from email service providers. The aggregate reports will show which emails are generating complaints, and the feedback loops will provide information on which recipients are marking emails as spam. This information can be used to identify and remove unengaged recipients from mailing lists, reducing the risk of complaints and improving deliverability.
_dmarc.example.com. IN TXT "v=DMARC1; p=none; pct=100; rua=mailto:aggregate@example.com; ruf=mailto:feedback@example.com; fo=1"
A hosted or managed setup may handle the collection and analysis of aggregate reports and feedback loops, but it is still crucial for the bulk sender to review and act on the data. This may involve removing recipients who have complained or marked emails as spam, and adjusting the mailing list to prevent similar issues in the future.
Tip:
> Regularly reviewing and updating mailing lists can help to reduce complaint rates and improve deliverability.
When implementing List-Unsubscribe headers with multiple email service providers, it is vital to ensure that each provider is configured correctly and that the headers are being applied consistently. This may involve working with each provider to set up the necessary configuration and testing to ensure that the headers are being applied correctly.
List-Unsubscribe: <mailto:unsubscribe@example.com>, <https://example.com/unsubscribe>
Receivers typically expect the List-Unsubscribe header to include a mailto link and an https link, and the links should be valid and functional. The mailto link should send an email to a valid address, and the https link should direct the recipient to a webpage where they can unsubscribe from the mailing list.
A common issue with List-Unsubscribe headers is that the links may become outdated or invalid, which can lead to issues with deliverability. To avoid this, it is essential to regularly review and update the List-Unsubscribe headers to ensure that the links are valid and functional.
List of best practices:
* Monitor aggregate reports and feedback loops to identify and remove unengaged recipients
* Regularly review and update mailing lists to prevent similar issues in the future
* Ensure that each email service provider is configured correctly and that the headers are being applied consistently
* Test the List-Unsubscribe headers to ensure that they are working correctly
* Regularly review and update the List-Unsubscribe headers to ensure that the links are valid and functional
import dns.resolver
def check_list_unsubscribe_header(domain):
try:
answers = dns.resolver.resolve(domain, 'TXT')
for answer in answers:
if 'List-Unsubscribe' in str(answer):
return True
except dns.resolver.NoAnswer:
return False
return False