David Rodgers wrote:
too perfect :-)


Ok, I think we have it.

Out of respect for all of the fabulous work that has been done by so many volunteers to make this application multi-lingual I apologize for "hard wiring" english onto the "Spam Disposition" radio buttons.

Disclaimer: You understand that applying these patches may make your dog quit loving your leg and your favorite body parts may fall off; you further agree that I don't know what I'm doing and if it works **it is sheer luck**. If you should choose to continue...

Attached is a set of patches that will create .qmail files that may do what you want. They were diff'd against qmailadmin-1.2.0-rc1 (it was handy) files but it shouldn't be too difficult to apply to other releases.

Here are the parts of the configure command that apply to this:
./configure  \
--enable-modify-spam \
--enable-spam-command="|preline /usr/local/bin/maildrop" \
--enable-spam-command-local="/home/vpopmail/etc/mailfilter-id" \
--enable-spam-command-forward="/home/vpopmail/etc/mailfilter-qa"

Hope you have success with this.

Mike Wright


I have 2 spam commands available to users currently and don't let them
use qmailadmin for this reason. It is modified right now by our staff.

in my perfect world clicking one of the check boxen would do this


In user.c there are four flags, V_USER0..V_USER3, that have corresponding hooks in the template html/user_mod.html.

Does anybody know about these? Are these available for general usage? If so, this might be part of the solution.

If one of these were uncommented on the html/user_mod.html page a deliver/quarantine flag could be passed without having to change much of anything. By combining that with (a somewhat modified) --enable-spam-command-[suffix] patch (offered on the list earlier) the problem is solved.

I made a sample change to mod_user.html that offers this instead:

Spam Check [] Spam Disposition: ( ) Deliver (*) Quarantine

Is this what you are looking for? I may be able to knock out a patch set tonight. (remember:( I'm not a c progger))

Mike Wright








Attachment: qmailadmin-1.2.0-rc1-dr.tar.gz
Description: GNU Zip compressed data

Reply via email to