Hi,
For diagnostic purposes I would like to have SpamAssassin (SA) insert a header:
I've tried to insert it by adding the line to the config file /etc/mail/spamassassin/local.cf (via the template, I verified and the line is there).
After some digging I found a thread from 2021 in which was stated that custom headers can't be inserted via SA as some options are not available due to Proxmox running SA as Perl module (https://forum.proxmox.com/threads/adding-items-to-custom-cf-for-spamassassin.89386/).
Would it be possible to make
Edit: In other words, can custom variables be made available to the Rule System? Or is there another way to have SA insert a header?
For diagnostic purposes I would like to have SpamAssassin (SA) insert a header:
add_header all RelaysUntrusted _RELAYSUNTRUSTED_
I've tried to insert it by adding the line to the config file /etc/mail/spamassassin/local.cf (via the template, I verified and the line is there).
After some digging I found a thread from 2021 in which was stated that custom headers can't be inserted via SA as some options are not available due to Proxmox running SA as Perl module (https://forum.proxmox.com/threads/adding-items-to-custom-cf-for-spamassassin.89386/).
Would it be possible to make
_RELAYSUNTRUSTED_
variable somehow available as a Proxmox macro so that a header containing that data can be added via the PMG rule system?Edit: In other words, can custom variables be made available to the Rule System? Or is there another way to have SA insert a header?
Last edited: