Integrating domainKeys with qmail is only possible if qmail-queue is not called directly by qmail-scanner but by qmail-dk. See Bug 40486. So qmail-scanner-queue.pl should read the queue program to call from environment variable QSCANNERQUEUE much like qmail-scanner itself is called by qmail-smtpd.
A patch and its integration in qmail-scanner-1.24-r1.ebuild is attached to next comment. It adds a small line to read the env variable QSCANNERQUEUE if available and if the specified binary is executable by the effective UID.
Created attachment 45675 [details]
a new ebuild package containing a patch to qmail-scanner-queue.pl to evaluate
QSCANNERQUEUE environment variable.
The additional patch file is:
Created attachment 45781 [details]
Sorry. Old patch does not work with perl-taint-mode. I have thought the error
calling the other program has nothing to do with perl-tainting but with
permissions on the app to call.
The New version of the patch works properly with perl "-T" mode as used with
Just out of curiosity.. Do you think this should be an upstream fix instead of a gentoo fix?
(In reply to Carter Smithhart from comment #3)
> Just out of curiosity.. Do you think this should be an upstream fix instead
> of a gentoo fix?
Probably upstream. @qmail, any thoughts?
Please report this directly to upstream (if still valid with 2.08)