https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7518

--- Comment #10 from Kevin A. McGrail <kmcgr...@apache.org> ---
(In reply to Dirk from comment #9)
> Sorry, missed the error line :-D
> 
> [root@nwomx local]# spamc -e /usr/sbin/sendmail -oi -f
> dirk.traen...@nwowhv.de te...@gmail.com te...@gmail.com te...@gmail.com
> te...@gmail.com te...@gmail.com te...@gmail.com te...@gmail.com
> te...@gmail.com te...@gmail.com tes...@gmail.com tes...@gmail.com
> tes...@gmail.com tes...@gmail.com tes...@gmail.com tes...@gmail.com
> tes...@gmail.com tes...@gmail.com  < /tmp/test.msg 
> Exceeded max number of arguments (24) in /etc/mail/spamassassin/spamc.conf

There is a limit of 24 arguments set for spamc in 
spamc.h.in:#define COMBO_ARGV_SIZE 24

The program is bombing out because of the number of arguments

You are using the -e option which has the statement "Note that this must be the
LAST command line option"

So yes, you are passing invalid arguments to spamc.  

I'm not seeing a bug here.

Is there a way to put all those email addresses in quotes or something so
sendmail gets them as one arg?

Limit your max recipients to 21 or whatever number you bomb at so you only
rescan for 2x for 42 recips.

Change your spamc.h to a higher number, test and run that. 

I'm not familiar with postfix or how you are calling spamc

I'm convinced you have problem just not that you have a bug.  Spamc is failing
because it's getting too many arguments.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to