I'm working on the Apache Spamassassin project, looking for a way to set up the test at installation time that the Razor plugins works with a spam check. Is there a sample spam email that you have in your database for testing purposes? A real spam won't work for this purpose, because they expire from your database after some time. I'm looking for an email without real personal information and example domain names which you would never expire from your database and that anyone could use to verify that their setup works. That way we could include that sample email in our install test suite to test that the installation properly gets back a spam result when razor-check is run on it.
If you don't already have such a test case, can you add one to your database?
Thanks,
Sidney Markowitz
Chair, Apache SpamAssassin Project Management Committee
Dear Sidney Markowitz
Thank you for contacting Cloudmark.
You should look at GTUBE. The Generic Test for Unsolicited Bulk Email (GTUBE) is a standard 68-byte test string that should always trigger a spam score of 100. Paste this string into the body of an email message in order to verify that the Cartridge detects it as spam. The test string is available at:
http://spamassassin.apache.org/gtube/
If I send GTUBE to my lab I see:
v=2.4 cv=Ypwc+qUX c=1 sm=0 tr=0 ts=62710028 p=MQD9vsuScg4A:10
the p=MQD9vsuScg4A:10 indicates a spam verdict based on GTUBE
You should test this.
Regards,
Chris Smith
Cloudmark Customer Support
ref:_00D306Bs._5005Y2CHR2N:ref
No, GTUBE was the first thing I tried. In fact that link is our web site. If I use the exact GTUBE.txt file from our site that you linked to, razor-check -d shows
[ 6] computing sigs for mail 1.0, len 503
[ 6] Engine (8) didn't produce a signature for mail 1.0
[ 5] 169074 seconds before closest server discovery
[ 6] c303.cloudmark.com is a Catalogue Server srl 63113; computed min_cf=21, Server se: 2380
[ 8] Computed supported_engines: 8
[ 8] Using next closest server c303.cloudmark.com:2703, cached info srl 63113
[ 5] Connecting to c303.cloudmark.com ...
[ 8] Connection established
[ 4] c303.cloudmark.com >> 25 server greeting: sn=C&srl=63113&a=l&a=cg
[ 4] c303.cloudmark.com << 25
[ 6] cn=razor-agents&cv=2.84
[ 6] c303.cloudmark.com is a Catalogue Server srl 63113; computed min_cf=21, Server se: 2380
[ 8] Computed supported_engines: 8
[ 5] mail 1.0 e8 got no sig
[ 5] No queries, no spam
[ 5] disconnecting from server c303.cloudmark.com
[ 4] c303.cloudmark.com << 5
[ 6] a=q
[ 8] razor-check finished successfully.
If I add headers to make it a more complete email with the GTUBE string in the body, I get the same result.
If I use a real current spam that I know is in the Razor database, then razor-check -d on my test machine does work fine, so I know that I have razor installed on it properly.
Is your lab that you sent it to the same as the servers I talk to when I run razor-check?
If razor did make an exception for the GTUBE test that would be perfect, but I'm not seeing it doing that.
Dear Sidney Markowitz
Can you try to reply to the thread, the method you are using is raising new tickets each time which is harder to follow.
I remember now, razor is the limited/free version of the Cloudmark Authority and as such does not use all of the engines the full product does. The GTUBE detection is based on an algorithm you do not have access to.
You can use this domain to test, it will always give a spam verdict:
example-spam-url-for-testing[dot]com
This will return a fingerprint:
p=DtLrrqm3AAAA:8
Regards,
Chris Smith
Cloudmark Customer Support
ref:_00D306Bs._5005Y2CHRni:ref
That worked perfectly. Thanks for the quick responses.
Sorry about the previous reply. I typed it into the reply box on
Sourceforge where it showed up in the same ticket there. This one is an
email reply.
You can close this ticket, I'm all set.
Regards,
Sidney
cmweb wrote on 3/05/22 11:50 pm:
Related
Support Requests: #133