Hi Steve,
I've been looking into this a little, and here's what I found at
http://spamassassin.apache.org/full/3.1.x/doc/spamc.html.
<spamc help>
CONFIGURATION FILE
The above command-line switches can also be loaded from a configuration
file.
The format of the file is similar to the SpamAssassin rules files; blank
lines and lines beginning with # are ignored. Any space-separated words
are considered additions to the command line, and are prepended.
Newlines are treated as equivalent to spaces. Existing command line
switches will override any settings in the configuration file.
If the -F switch is specified, that file will be used. Otherwise, spamc
will attempt to load spamc.conf in SYSCONFDIR (default:
/etc/mail/spamassassin). If that file doesn't exist, and the -F switch
is not specified, no configuration file will be read.
Example:
# spamc global configuration file
# connect to "server.example.com", port 783
-d server.example.com
-p 783
# max message size for scanning = 350k
-s 350000
</spamc help>
So, I suppose you could create the file
/etc/mail/spamassassin/spamc.conf
or
/etc/spamassassin/spamc.conf
and add the settings you need.
Let me know if it works.
Eric
On 6/7/2016 10:14 AM, Steve Linberg wrote:
On Jun 7, 2016, at 12:03 PM, Eric <[email protected]
<mailto:[email protected]>> wrote:
Steve,
Is this what you're looking for?
/var/qmail/control/databytes
Eric
Hi Eric. I believe that’s the setting that controls the maximum message
size that the server will accept for delivery. I’m looking for the
setting that’s the threshold for SpamAssassin (at least, possibly also
ClamAV) to skip spam scanning on an incoming message to avoid tying up
the CPU too long.
It’s set at 500k as a default, so messages over 500k don’t get scanned
for spam/virus and just pass through and get delivered. Some spammers
send spam in the form of graphics that are just over 500k, so no
scanning takes place. I want to increase that limit to a meg or so.
In Bill Shupp’s version of the toaster, this was a setting
in /etc/mail/spamassassin/spamc.conf, via a “-s” flag, as in “-s
1000000”. But there’s no spamc in the current toaster build, as far as I
can see, and if there is, I can’t find any config files, or any other
component that controls it. Something must, though, because messages
over 500k are passing through without being checked.
- Steve
--
Steve Linberg, Chief Goblin
Silicon Goblin Technologies
http://silicongoblin.com
Be kind. Remember, everyone you meet is fighting a hard battle.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]