On 2015-08-06 11:53, RW wrote:
On Thu, 06 Aug 2015 11:38:56 -0400
Ken D'Ambrosio wrote:

Hi!  I'm getting headers like this:
------------
Aug  4 04:24:58 agrajag spamc[2557]: skipped message, greater than
max message size (512000 bytes)
------------
Now, I'm just not sure where to *change* that; apparently, it's set
via the "-s max_size" for spamc, but I have no idea where/how that
gets invoked by spamd.


It doesn't, spamc passes the mail to spamd.

Ah; silly me, I'd assumed the daemon invoked the standalone.

You can set the argument in whatever glue calls spamc. or set it in
spamc.conf.

Right. Finding the glue was somewhat trickier, though. Finally realized that it was postfix that was invoking spamc in the /etc/postfix/master.cf file. My line now reads thusly:
root@agrajag:/etc/postfix# grep spamc master.cf
user=spamd argv=/usr/bin/spamc -s 1048576 -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

Thanks for the pointers, all!  Got me down the road...

Reply via email to