1 (edited by Neutro 2020-11-11 23:14:38)

Topic: Tip to add Unsubscribe-List header to your outgoing mails

Hey guys,

I wanted to add un Unsubscribe-List header to my outgoing mail to increase deliverability chances but couldn't find how to do it in the forum.

I finally managed to do it like this:

- check that you have this line in /etc/postfix/main.cf:

header_checks = pcre:/etc/postfix/header_checks

- create the file /etc/postfix/header_checks using a text editor like nano or vi and put this inside:

/Content-Language:/i PREPEND List-Unsubscribe: <mailto:xxxx@yourdomain.com>

- restart postfix service (or reboot your server).

The "List-Unsubscribe" parameter can take several options, which are described here:

https://tools.ietf.org/html/rfc2369
https://tools.ietf.org/html/rfc8058

Also with iRedmail-Admin-Pro you have this feature available automatically like explained here:

https://docs.iredmail.org/manage.subscr … lists.html

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Tip to add Unsubscribe-List header to your outgoing mails

The "List-Unsubscribe:" header should be added for the mailing list account, but not normal mail user account. So it should be handled by the mlmmj mailing list manager, and adding to /etc/postfix/header_checks is not recommended.

3

Re: Tip to add Unsubscribe-List header to your outgoing mails

I'm sorry to raise the topic from the dead, but on the following link  https hmm/ mailtrap. io/ blog/ list-unsubscribe-header there are more details about the List-unsubscribe header and it seems that this is something that will have to be implemented because emails to users be marked as spam even though users do not send bulk mails