On 2022-07-03 09:10, David Bürgin wrote:
sebast...@debianfan.de:
there is a line in the mail-header - for example:

X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.server.org

Can i set the "name" manually - for example

X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
        manual.set.server.name

Is there any possibility?

Yes, add a line such as this in /etc/spamassassin/local.cf:

add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_)
on manual.set.server.name

supported way is:

# cat init_add_header.cf
clear_headers
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_

# cat init_reports.cf

report_contact ab...@example.org
report_hostname localhost.example.org
report_safe 0
report_safe_copy_headers Return-Path

clear_report_template

report ""
if can(Mail::SpamAssassin::Conf::feature_yesno_takes_args)
report Spam detection software, running on the system "_HOSTNAME_",
report has_YESNO(, NOT)_ identified this incoming email as_YESNO( possible,)_ spam. The original
report message has been attached to this so you can view it or label
else
report Spam detection software, running on the system "_HOSTNAME_", has
report identified this incoming email as possible spam. The original message report has been attached to this so you can view it (if it isn't spam) or label
endif
report similar future email. If you have any questions, send this to
report _CONTACTADDRESS_ for details.
report
report Content preview:  _PREVIEW_
report
report Content analysis details:   (_SCORE_ points, _REQD_ required)
report
report " pts rule name              description"
report ---- ---------------------- --------------------------------------------------
report _SUMMARY_
report ""

clear_unsafe_report_template

unsafe_report ""
unsafe_report The original message was not completely plain text, and may be unsafe to unsafe_report open with some email clients; in particular, it may contain a virus, unsafe_report or confirm that your address can receive spam. If you wish to view unsafe_report it, it may be safer to save it to a file and open it with an editor.
unsafe_report ""

# end of config example

works here

Reply via email to