You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matt Garretson <ma...@assembly.state.ny.us> on 2004/04/01 00:31:02 UTC

Leading spaces get removed from Subject: field

Hi, i'm using SpamAssassin 2.63 (2004-01-11) via spamd and spamc
and have "rewrite_subject 0" in my local.cf .  Everything is working
as expected, except that when a message is piped through spamc,
it comes out with any leading spaces that may have been in the
Subject: field, removed.  IOW,

Subject:    hi there

   becomes

Subject: hi there

Now although this isn't a life-shattering problem, i'd like to find
a way to prevent this from happening, if possible.  Any ideas?  My
full local.cf and the commands used to run spam[dc] are below.  I've
searched the list archives with no luck....

Thanks in advance,
-Matt


spamd -d -u spamd --socketpath=/var/run/spamd/spamd.sock -r /var/run/spamd/spamd.pid -s local5

spamc -U /var/run/spamd/spamd.sock

# local.cf
rewrite_subject 0
report_safe 0
clear_headers
add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTS_
clear_report_template
clear_unsafe_report_template
clear_spamtrap_template
use_dcc 0
use_pyzor 0
use_razor2 0
use_bayes 0
skip_rbl_checks 1
dns_available no
bayes_auto_learn 0