Is there a way to customise the hostname shown in the line:

X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on 
somehost.someprovider.com

So that it reads:

X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.mydomain.ch

I understand that I could change the hostname of the host itself, but I
would prefer not to do that. (The host might be used for other things
than mail, I may not want to have a mail domain as the hostname.)

Other mail software that I use does have such settings. For example,
Postfix will use its ‘myhostname’ setting when generating the Received
header. The milters that I use also have similar settings or will fall
back to the hostname setting from Postfix.

Reply via email to