Hi, qmailadmin has two spam related configure options, examples are shown below: --enable-spam=command="|preline maildrop /etc/maildroprc" --enable-modify-spam Neither of these configure options are specified in the existing qmailadmin ebuilds. The attached patch adds both options when qmailadmin is emerged with the "maildrop" use flag. Another variation could use an use flag for procmail, which would specify a procmail command for --enable-spam-command. Please consider for inclusion into future qmailadmin ebuilds. Thanks, jthomps
Created attachment 75826 [details, diff] add maildrop use flag and set spam related config options
Created attachment 75827 [details, diff] add maildrop support for spam sorry, my first attempt attached the wrong patch... :)
Comment on attachment 75827 [details, diff] add maildrop support for spam geez, having a bad day... :) I just realized that this patch doesn't completely work... i'll re-attach a working copy of the patch when i've verified that it works!
Created attachment 75842 [details, diff] add qmailadmin spam support This is a bit of a hack. I couldn't make econf accept any form of a variable if it contains either single or double quotes. Here's what I attempted to do: local spam_opts="" if use maildrop; then spam_opts="--enable-modify-spam" spam_opts="${spam_opts} --enable-spam-command='|preline maildrop /etc/maildroprc'" fi then add ${spam_opts} to econf, but the result is that econf doesn't pass the parameters correctly to ./configure... If there's a way to pass a quoted string to econf that would obviously be the best way to go.
thanks, 1.2.9 has support for USE=maildrop now !