Add List-Unsubcribe Header on Postfix

Tambahkan unsubcribe header pada postfix

  • Edit file /etc/postfix/main.cf , lalu tambahkan header_checks atau edit jika sudah ada.
nano /etc/postfix/main.cf

header_checks = regexp:/etc/postfix/list_unsub_header 
  • Buat file /etc/postfix/list_unsub_header , lalu tambahkan baris berikut:
nano /etc/postfix/list_unsub_header

/^Content-Transfer-Encoding:/i PREPEND List-Unsubscribe: mailto:?subject=unsubscribe>"
  • Restart service postfix
service postfix restart
  • Cek dengan mail-tester.com

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.