I have upgraded my spamassassin release to the spamassasin 3.00 release without pbm. (I followed up this tutorial). The only thing is about the local.cf configuration file
I added :
NOTE for VERSION = 3.00 owner
The “rewrite_subject” and “subject_tag” configuration options were deprecated and are now removed.
Instead, using “rewrite_header Subject [your desired setting]”.
e.g. rewrite_subject 1 subject_tag SPAM(SCORE)
becomes rewrite_header Subject SPAM(SCORE)
For VERSION < 3.00 owner
Allow SpamAssassin to rewrite the subject line of any messages it classifies as spam
rewrite_subject 1
This is the value that will prepended to the subject line of messages classified as spam
Sago now allows users to submit “whitepapers” for publication on the websitee. Go to Support => Documentation
I have a tutorial there (the InterWorx DNS Tutorial), and my FAQ will go there arfer InterWorx 1.8.1 is released and Chris or someone has the chance to check it for facts.
I have a couple others in the system that are draft (NOT PUBLISHED or viewable on the site), as does Chris.
You said you modified this from someone else’s work so Chris would probably want that person’s permission to put it here on the site.
Yep and it’s why for I do not put it on my faq page, or something like that.
I Only give the links and write modifications to make it working on an iworx box.
let us return to cesar what belongs to cesar (heu maybe not like that in english :rolleyes: )
Sqailto, thanks so much for the SA tutorial. I tried the QmailRocks tutorial, but couldn’t manage to get it working; with your tutorial, on the other hand, I was up and running in three hours – very cool.
Question(s) for you, and anyone else who wants to chime in:
Is there a way to prevent Qmail-scanner/SpamAssassin/ClamAv from processing non-existent messages?
90% of the Spam/Virii my server processes is going to mail accounts that don’t exist!
Furthermore, of these emails sent to non-existent accounts, I routinely receive messages from qmail-scanner (I believe), informing me, the administrator, that there was a problem with the email:
“problem ‘Disallowed characters found in MIME headers’”
What do I care?!!! First of all, the message was sent to a non-existent account; secondly, it’s very likely a virus of some sort; thirdly, I’m getting notified about these “problem” emails, which is essentially spam as far as I’m concerned.
OK, I’m sure I’m not alone here. Anyone found a solution?
make[1]: Entering directory `/usr/local/src/razor-agents-sdk-2.03/Digest-MD5-2.20’
PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e” “test_harness(0, ‘…/blib/lib’, ‘…/blib/arch’)” t/*.t
t/badfile…ok
t/files…Wide character in subroutine entry at t/files.t line 108.
t/files…dubious
Test returned status 25 (wstat 6400, 0x1900)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/md5-aaa…ok
t/utf8…ok
Failed Test Stat Wstat Total Fail Failed List of Failed
If I look in MCPAN (perl -MCPAN -e shell) and try to install the famous Digest::SHA1 it says :
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 06 Oct 2004 01:18:53 GMT
Digest::SHA1 is up to date.
[/quote]
More I found the Digest::SHA1 in the razor-agent-sdk library
So I decided to try to install it manually
perl Makefile.pl without pbm
Make without pbm
but the Make test failed
>
[root@padawan Digest-SHA1-2.01]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/badfile....Digest::SHA1 object version 2.01 does not match bootstrap parameter
2.10 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Compilation failed in require at t/badfile.t line 6.
BEGIN failed--compilation aborted at t/badfile.t line 6.
t/badfile....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/sha1.......Digest::SHA1 object version 2.01 does not match bootstrap parameter
2.10 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Compilation failed in require at t/sha1.t line 3.
BEGIN failed--compilation aborted at t/sha1.t line 3.
t/sha1.......dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
[B]Erffff I'm really becoming crazy [/B] !!!!
I gave you a tutorial on how install razor/clamav/spamassassin, it worked on my previous box, but on this one nothing to do !!!!!!!!!
I'm not going to reinstall the box again :\
If somebody could help me I will very appreciate :)
Was your old box a different OS than your new one (RH9, CentOS)? A different OS will sometimes behave differently. I’ve been getting similar errors and am looking into MCPAN and if I fine anything that helps I will let you know.
Actually I haven’t figured THAT out yet. I’m more looking for a way to refresh perl’s database of installed modules (sort of like you refresh your RPM database) because I’m installing modules (or at least I think I am) but when I try to install an RPM that wants them it says they aren’t there. I’ll keep you posted.
Perl modules works like that
for example Digest::SHA1 will install SHA1.pm in /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Digest/
and in /usr/lib/perl5/site_perl/5.8.0/Digest/
so you can look in these perl directories
When you use CPAN, it saves the files you installed (or try to) in /root/.cpan/build/
Sometimes if it is only a .pm to install without C compilation you could move the .pm file directly in the perl directory
For our example I could move SHA1.pm directly in /usr/lib/perl5/site_perl/5.8.0/Digest/ and /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Digest/
it seems that SHA1 is installed with version 2.10 and razor-agent-sdk try to install the version 2.01
In /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Digest/SHA1.pm , SHA1 is version 2.10
In /usr/lib/perl5/site_perl/5.8.0/Digest/SHA1.pm , SHA1 is version 2.01
Could I copy/replace directly SHA1.pm version 10 in /usr/lib/perl5/site_perl/5.8.0/Digest/SHA1.pm
H?h? a new PBM…
I get spamassassin 3.0
perl Makefile.PL said me that it doesn’t find POD2MAN
I have POD2MAN in /bin/
I know this pod2man pbm, you have to enter
[root@padawan Mail-SpamAssassin-3.0.0]# export LANG=en_US
Well I remimber you I am on CentOS, so I’ll not continue to create 1 bilion posts but I promise that I’ll update the Tutorial to install all the last versions of razor/dcc/clam/spamassassin/… on a CentOS distrib
Pascal, do you even need the razor-sdk? It was my understanding that it was only necessary to get all the perl mods in a bundle as opposed to having to download them individually. I’d say either get all the perl mods yourself or uninstall SHA1 and have the razor sdk reinstall an older one.