You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Poohba <po...@blkpoohba.dyndns.org> on 2006/09/07 19:50:52 UTC
Everything is being filtered
I don't know if this is the right place but I followed instructions from
http://www.atlantawebhost.com/articles/evolution_spamassassin.php and
everything is going to my spam folder. The one difference is that this
version of Evolution has "Pipe to program" but other than that
everything is the same but EVERYTHING is moved. How do I fix this?
I've even added my email address to the whitelist to test and that is
still being moved. I've restarted spamassassin after making the changes
but that didn't seem to help.
Re: Everything is being filtered
Posted by jdow <jd...@earthlink.net>.
From: "John D. Hardin" <jh...@impsec.org>
> On Thu, 7 Sep 2006, Poohba wrote:
>
>> I don't know if this is the right place but I followed instructions from
>> http://www.atlantawebhost.com/articles/evolution_spamassassin.php and
>> everything is going to my spam folder. The one difference is that this
>> version of Evolution has "Pipe to program" but other than that
>> everything is the same but EVERYTHING is moved. How do I fix this?
>> I've even added my email address to the whitelist to test and that is
>> still being moved.
>
> Find a message in your spam folder that is NOT spam, save it to a
> file, and do this:
>
> spamassassin -e < WHATEVER_FILE > /dev/null; echo $?
>
> what number does it display? The Evolution rule says to file the
> message if that number is greater than zero.
>
> You could also run
>
> spamassassin -t < WHATEVER_FILE
>
> or
>
> spamassassin -D area=rules < WHATEVER_FILE
>
> to see in detail what SA thinks of the message.
>
>> I've restarted spamassassin after making the changes
>> but that didn't seem to help.
>
> Those instructions involve calling spamassassin directly for each
> message, so "restarting spamassassin" won't affect it. It would have
> to call spamc rather than spamassassin in order for the spamd daemon
> to be used. Here's the command you'd pipe the message through in the
> Evolution rule:
>
> spamc -c >/dev/null
IMAO *ANY* MTA that runs through SpamAssassin while the user is waiting
to read mail should be given the MiskaDOS disposal operation which ends
with driving a fire hardened oaken stake through the center of the last
disk in your possession that has the tool on it. The only sad thing is
that the lead foil for wrapping it before burial is hard to get these
days.
Run SpamAssassin in the background and read directly from DoveCot on
your own machine without SA the feed path. Otherwise you'll spend way
too much time sitting waiting for the mail to be displayed. At least
*I* have better things I can do with that time. (This is why I consider
web based email clients as being the spawn of the devil, a scheme to
rob me of some of the precious few remaining hours of my life. Erm, I'd
feel the same if I was 18, too. Glaciers melt faster than Web E-Mail.)
{^_^}
Re: Everything is being filtered
Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Sep 07, 2006 at 02:43:00PM -0400, Poohba wrote:
> $ spamassassin -e < spam2.txt > /dev/null; echo $?
> 0
>
> $ spamassassin -t < spam2.txt
> X-Spam-Status: Yes, score=29.7 required=5.0 tests=FORGED_HOTMAIL_RCVD,
> autolearn=unavailable version=3.1.3
Yeah, that's the bug I was mentioning. Upgrade to 3.1.4 or later.
--
Randomly Generated Tagline:
Stalin's grave is a Communist plot.
Re: Everything is being filtered
Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 7 Sep 2006, Poohba wrote:
> I am not sure what's not working right. I am using /usr/bin/spamc -e
> > /dev/null
The flag is "-c" if you are using spamc.
> That is actually the problem now that I looked at it and
> what you stated at the end. when I changed it to -c I think it will
> work because when I did it on the commandline I got a 0 for you and 1
> for the spam. Attention to details... ugh. I apologize!
> $ spamassassin -e < spam2.txt > /dev/null; echo $?
> 0
> $ spamassassin -e < spamassassin.txt > /dev/null; echo $?
> 0
That sounds like the bug in spamassassin -e handling, but the behavior
if that's the cause should be NOTHING gets put into the spam folder,
as it is misreporting spam as ham.
Check your evolution rule. Either evolution is misconfigured to treat
a return code of zero as a spam indicator, or it's not getting the
correct return code back when it tries to run SA.
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Liberals love sex ed because it teaches kids to be safe around their
sex organs. Conservatives love gun education because it teaches kids
to be safe around guns. However, both believe that the other's
education goals lead to dangers too terrible to contemplate.
-----------------------------------------------------------------------
10 days until The 219th anniversary of the signing of the U.S. Constitution
Re: Everything is being filtered
Posted by Poohba <po...@blkpoohba.dyndns.org>.
I am not sure what's not working right. I am using /usr/bin/spamc -e
> /dev/null That is actually the problem now that I looked at it and
what you stated at the end. when I changed it to -c I think it will
work because when I did it on the commandline I got a 0 for you and 1
for the spam. Attention to details... ugh. I apologize!
$ spamassassin -e < spam2.txt > /dev/null; echo $?
0
$ spamassassin -t < spam2.txt
>>From stanley@a-tecuk.com Thu Sep 7 11:19:51 2006
Return-Path: <st...@a-tecuk.com>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on
rob-campbell.com
X-Spam-Level: *****************************
X-Spam-Status: Yes, score=29.7 required=5.0 tests=FORGED_HOTMAIL_RCVD,
FORGED_MSGID_HOTMAIL,HELO_DYNAMIC_IPADDR2,HTML_IMAGE_ONLY_12,
HTML_MESSAGE,HTML_SHORT_LINK_IMG_1,MIME_HTML_ONLY,
RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL,URIBL_AB_SURBL,URIBL_JP_SURBL,
URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,URIBL_WS_SURBL
autolearn=unavailable version=3.1.3
$ spamassassin -e < spamassassin.txt > /dev/null; echo $?
0
$ spamassassin -t < spamassassin.txt
>>From jhardin@impsec.org Thu Sep 7 14:21:13 2006
Return-Path: <jh...@impsec.org>
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on
rob-campbell.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none
autolearn=unavailable
version=3.1.3
On Thu, 2006-09-07 at 11:20 -0700, John D. Hardin wrote:
> On Thu, 7 Sep 2006, Poohba wrote:
>
> > I don't know if this is the right place but I followed instructions from
> > http://www.atlantawebhost.com/articles/evolution_spamassassin.php and
> > everything is going to my spam folder. The one difference is that this
> > version of Evolution has "Pipe to program" but other than that
> > everything is the same but EVERYTHING is moved. How do I fix this?
> > I've even added my email address to the whitelist to test and that is
> > still being moved.
>
> Find a message in your spam folder that is NOT spam, save it to a
> file, and do this:
>
> spamassassin -e < WHATEVER_FILE > /dev/null; echo $?
>
> what number does it display? The Evolution rule says to file the
> message if that number is greater than zero.
>
> You could also run
>
> spamassassin -t < WHATEVER_FILE
>
> or
>
> spamassassin -D area=rules < WHATEVER_FILE
>
> to see in detail what SA thinks of the message.
>
> > I've restarted spamassassin after making the changes
> > but that didn't seem to help.
>
> Those instructions involve calling spamassassin directly for each
> message, so "restarting spamassassin" won't affect it. It would have
> to call spamc rather than spamassassin in order for the spamd daemon
> to be used. Here's the command you'd pipe the message through in the
> Evolution rule:
>
> spamc -c >/dev/null
>
> --
> John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
> jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
> key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
> Liberals love sex ed because it teaches kids to be safe around their
> sex organs. Conservatives love gun education because it teaches kids
> to be safe around guns. However, both believe that the other's
> education goals lead to dangers too terrible to contemplate.
> -----------------------------------------------------------------------
> 10 days until The 219th anniversary of the signing of the U.S. Constitution
Re: Everything is being filtered
Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Sep 07, 2006 at 11:44:36AM -0700, John D. Hardin wrote:
> But if it's always returning zero (not spam) that still doesn't
> explain why they are all being filed as spam...
I didn't say it did, just that there was a -e related bug. I know nothing
about Evolution.
> Did that bug also affect "spamc -c"?
Nope, just "spamassassin -e".
--
Randomly Generated Tagline:
I'll play fair -- IF *I* get to make up the rules...
Re: Everything is being filtered
Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 7 Sep 2006, Theo Van Dinter wrote:
> On Thu, Sep 07, 2006 at 02:27:02PM -0400, Poohba wrote:
> > I did your email, another email that should be spam and another that is
> > spam and they all returned 0.
>
> You haven't mentioned what version of SA you're running. There was
> a bug introducted in 3.1.2 and fixed in 3.1.4 which caused -e to not
> function properly. fyi.
But if it's always returning zero (not spam) that still doesn't
explain why they are all being filed as spam...
Did that bug also affect "spamc -c"?
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Liberals love sex ed because it teaches kids to be safe around their
sex organs. Conservatives love gun education because it teaches kids
to be safe around guns. However, both believe that the other's
education goals lead to dangers too terrible to contemplate.
-----------------------------------------------------------------------
10 days until The 219th anniversary of the signing of the U.S. Constitution
Re: Everything is being filtered
Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Sep 07, 2006 at 02:27:02PM -0400, Poohba wrote:
> I did your email, another email that should be spam and another that is
> spam and they all returned 0.
You haven't mentioned what version of SA you're running. There was
a bug introducted in 3.1.2 and fixed in 3.1.4 which caused -e to not
function properly. fyi.
--
Randomly Generated Tagline:
"You're vegetarians! Who cares what you do?"
--Leela
Re: Everything is being filtered
Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 7 Sep 2006, Poohba wrote:
> I did your email, another email that should be spam and another
> that is spam and they all returned 0.
Verify this bit of your Evolution rule:
d. Select "returns greater than" from the return drop down list.
e. Set 0 to the number box.
Assuming SA is working correctly in the rule, then it *sounds* like
you may have selected "returns greater than OR EQUAL to 0" (assuming
that is an option - I don't have a copy of Evolution handy at the
moment). <-- shot in the dark
You might also edit the evolution rule to redirect the output of
spamassassin somewhere besides the bitbucket, and see what it logs.
e.g.:
spamassassin -e >> /home/poohba~/evo-sa-results.log
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Liberals love sex ed because it teaches kids to be safe around their
sex organs. Conservatives love gun education because it teaches kids
to be safe around guns. However, both believe that the other's
education goals lead to dangers too terrible to contemplate.
-----------------------------------------------------------------------
10 days until The 219th anniversary of the signing of the U.S. Constitution
Re: Everything is being filtered
Posted by Poohba <po...@blkpoohba.dyndns.org>.
I did your email, another email that should be spam and another that is
spam and they all returned 0.
On Thu, 2006-09-07 at 11:20 -0700, John D. Hardin wrote:
> On Thu, 7 Sep 2006, Poohba wrote:
>
> > I don't know if this is the right place but I followed instructions from
> > http://www.atlantawebhost.com/articles/evolution_spamassassin.php and
> > everything is going to my spam folder. The one difference is that this
> > version of Evolution has "Pipe to program" but other than that
> > everything is the same but EVERYTHING is moved. How do I fix this?
> > I've even added my email address to the whitelist to test and that is
> > still being moved.
>
> Find a message in your spam folder that is NOT spam, save it to a
> file, and do this:
>
> spamassassin -e < WHATEVER_FILE > /dev/null; echo $?
>
> what number does it display? The Evolution rule says to file the
> message if that number is greater than zero.
>
> You could also run
>
> spamassassin -t < WHATEVER_FILE
>
> or
>
> spamassassin -D area=rules < WHATEVER_FILE
>
> to see in detail what SA thinks of the message.
>
> > I've restarted spamassassin after making the changes
> > but that didn't seem to help.
>
> Those instructions involve calling spamassassin directly for each
> message, so "restarting spamassassin" won't affect it. It would have
> to call spamc rather than spamassassin in order for the spamd daemon
> to be used. Here's the command you'd pipe the message through in the
> Evolution rule:
>
> spamc -c >/dev/null
>
> --
> John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
> jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
> key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
> Liberals love sex ed because it teaches kids to be safe around their
> sex organs. Conservatives love gun education because it teaches kids
> to be safe around guns. However, both believe that the other's
> education goals lead to dangers too terrible to contemplate.
> -----------------------------------------------------------------------
> 10 days until The 219th anniversary of the signing of the U.S. Constitution
Re: Everything is being filtered
Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 7 Sep 2006, Poohba wrote:
> I don't know if this is the right place but I followed instructions from
> http://www.atlantawebhost.com/articles/evolution_spamassassin.php and
> everything is going to my spam folder. The one difference is that this
> version of Evolution has "Pipe to program" but other than that
> everything is the same but EVERYTHING is moved. How do I fix this?
> I've even added my email address to the whitelist to test and that is
> still being moved.
Find a message in your spam folder that is NOT spam, save it to a
file, and do this:
spamassassin -e < WHATEVER_FILE > /dev/null; echo $?
what number does it display? The Evolution rule says to file the
message if that number is greater than zero.
You could also run
spamassassin -t < WHATEVER_FILE
or
spamassassin -D area=rules < WHATEVER_FILE
to see in detail what SA thinks of the message.
> I've restarted spamassassin after making the changes
> but that didn't seem to help.
Those instructions involve calling spamassassin directly for each
message, so "restarting spamassassin" won't affect it. It would have
to call spamc rather than spamassassin in order for the spamd daemon
to be used. Here's the command you'd pipe the message through in the
Evolution rule:
spamc -c >/dev/null
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Liberals love sex ed because it teaches kids to be safe around their
sex organs. Conservatives love gun education because it teaches kids
to be safe around guns. However, both believe that the other's
education goals lead to dangers too terrible to contemplate.
-----------------------------------------------------------------------
10 days until The 219th anniversary of the signing of the U.S. Constitution