The Thursday 2004-01-01 at 09:18 +0800, Joe Morris (NTM) wrote:
You probably want to edit '/etc/mail/spamassassin/local.cf' with your old configurations; I have this:
rewrite_subject 0 report_header 1 use_terse_report 1 defang_mime 0
Check man Mail::SpamAssassin::Conf, as some of these are no longer used, and others have been added.
Ah, good idea. I don't know much - almost nothing - about perl, so I didn't know that (mmm, its equivalent to 'perldoc Mail::SpamAssassin::Conf'). Let me see... rewrite_subject Ok. report_header Not found - however, seems to be working. use_terse_report deprecated, ignored. defang_mime Not found. Ah, instead use: report_safe { 0 | 1 | 2 }} (default: 1) 1 - attach original email as a message/rfc822 MIME part, untouched, after the report. 2 - same, as text/plain 0 - headers only. The default is what I wanted, so I didn't notice. I should have got a notice on syslog, warning of ignored/wrong options.
My second question is this; when a mail is detected, the spam mail is edited containing:
a text informing this is spam a "Content preview" section a "Content analysis detail" section the original mail untouched, as a mime attach
Previously I didn't have a "Content preview", and I don't want it. How do I remove it, if possible?
Try report_safe 0, though TBH it is not working as it should here as well.
No, 0 will remove the report completely, and leave only the headers. I only wanted to remove the "preview" part of the report, but I have found that I like it. I would like to limit its size, though: it seems to limit it self to a number of lines, but some of them seem to be too long. I would like a limit by number of bytes.
may be a SA bug. Carlos, another even easier way is install the src.rpm, download the newest tar.bz2, and copy it to /usr/src/packages/SOURCES, then edit the spamassassin spec and change the version (and maybe the release), and then as root rpm -bb --target=i586 spamassassin.spec (while in the /usr/src/packages/SPECS directory). This will build the rpms and copy them to /usr/src/packages/RPMS/i586. HTH.
Yessss... :-? But I'm more confortable with the configure/make/checkinstall routine. I'm a man of habits ;-) But I expected it to install itself to the '/usr/local/' tree, and it didn't - it is not the default, it seems. -- Cheers, Carlos Robinson