I would like to limit the number of recipients that a message can have. I have two scenarios where I need this: 1) a user is spammed with one address in TO: and a hundred in BCC:, 2) one of my users likes to do the above to send out bulk mailings instead of using an ezmlm list.
I found that chkuser has a variable you can set that will enforce this (CHKUSER_RCPTLIMIT) but I can't seem to get it to work. I checked in the netqmail source tree and found the 'chkuser_settings.h' file and this value was not commented so I assume it is enabled. Then I found a post on this list where someone said you had to set this value in tcpserver so I added this line and rebuilt the cdb: ww.xx.yy.60:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/simscan",CHKUSER_RCPTLIMIT="3" However, when I send a message from the above IP, and specify 5 different addresses in the TO: field, they all try to deliver. I expected a bounce back with an error. Has anyone successfully got this to work? If so, what am I missing? Thanks! -ken
