Add "List-Unsubscribe" header in Exim config

Hi,

For anti-spam settings, I’m trying to find out how to add the “List-Unsubscribe” header in Exim config.

I’ve been looking in Internet and in Exim.org site but haven’t found yet a tutorial…

Anyone knows how to do it?

Thanks for any advice.

Best regards,
Roberto Jobet

Any idea?

Thanks

Best regards

Can’t find anything about it when you google it in combination with exim - so probaly no, you will not get an answer here :slight_smile:.

1 Like

Extra headers like ‘List-Unsubscribe’ is not a function of the email server (exim4) but of the sending software. Ex: See php mail function here or PHPMailer library here

1 Like

Hi @Lupu,

Thanks for your feedback!

As far as I know ‘List-Unsubscribe’ header should be set on the server.

Before Exim I was using Postfix, and it’s quite easy to setup: see here in " How it works: unsubscribe implementation methods" (https://blog.mailtrap.io/list-unsubscribe-header/)

Furthermore I’ve found an old post about Exim… https://saeedrahhal.wordpress.com/tag/exim/ where the author says to setup the “headers_add” directive in Exim’s config file (but unfortunately Exim has several config files…)

Best regards,
Roberto Jobet

You can add headers in Exim, but you shouldn’t use that for unsub links. Wrong tool for the job.

2 Likes