250k is standard size for "too large" for spamc.  You can change the default with the -s flag.  Check man spamc for details.

C

On Sun, 2002-01-20 at 17:06, dman wrote:
On Mon, Jan 21, 2002 at 11:39:55AM +1100, Justin Mason wrote:
| dman said:
| 
| > I have found that if I run spamd as any user other than 'dman' it
| > doesn't work.  As far as "why" all I know so far is :
| > 
| > <root> # spamd -D
| > debug: ignore: test message to precompile patterns and load modules
| > debug: using "../spamassassin.cf" for default rules file
| > debug: using "/etc/spamassassin.cf" for site rules file
| 
| > <dman> $ spamd -D
| > debug: ignore: test message to precompile patterns and load modules
| > debug: using "/usr/share/spamassassin/spamassassin.cf" for default
| > rules file
| > debug: using "/etc/spamassassin.cf" for site rules file
| 
| > What conditions would cause this major difference in output when
| > starting up?
| 
| Note the different default rules files: ../spamassassin.cf and
| /usr/share/spamassassin/spamassassin.cf .

Huh...I must be blind!

| Is '../spamassassin.cf' empty when you run as root?  (and if so, why? ;)

I don't know, I don't remember what '.' was when I ran it that time.
I did some more experimentation, though, and found that if I am in
/etc/, ./spamassassin.cf (note, only 1 '.') is used (and it still
fails).  If I cd to ~dman, /usr/... is used and it works.  I created a
directory /etc/spamassassin/spamd and put a symlink to /usr/... in it.
If run from there, it works.

The difference must be that without that file (the /usr/... one, the
config provided by the package), there are _very_ few tests that are
used.  I don't understand the logic for locating that file, but at
least I have a solution :-).  Thanks!


I'm also really curious now -- what does spamc consider to be a "large"
message?  A 71KB spam message arrived (between my last post and this
one) and spamc correctly flagged it as spam[1].  My exim filter
dropped it (after logging it) due to the size.

-D

[1] I had spamd running as 'dman' as a temporary work-around

-- 

A Microsoft Certified System Engineer is to information technology as a
McDonalds Certified Food Specialist is to the culinary arts.
        Michael Bacarella commenting on the limited value of certification.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


Reply via email to