The patch has been created by hacking Russ Nelson's qmail-dk and ALT-N
Technologies DKIM Project's libdkim sources from
http://libdkim.sourceforge.net/
You can use the same signature as was done for domainkey.
The patch also adds QMAILLOCAL, QMAILREMOTE patch to qmail-lspawn,
qmail-rspawn which allows
you to call your own arbitrary program instead of qmail-local,
qmail-remote. This allows you to filter your mails before it
is passed to qmail-local/qmail-remote. Any program defined in
QMAILLOCAL or QMAILREMOTE should expect the mail on fd 0 and should
output on fd 1 and do exec of /var/qmail/bin/qmail-local or
/var/qmail/bin/qmail-remote with the same arguments.
If you don't set QMAILLOCAL, QMAILREMOTE, qmail-lspawn and
qmail-rspawn will execute qmail-local and qmail-remote as before.
The QMAILLOCAL, QMAILREMOTE patch can be used for things like adding
stupid disclaimers, adding domainkey, dkim signature (in case you
don't want to use qmail-dk, qmail-dkim), altering the mail before it
goes out, etc.
The patch also includes executable dkim which can be used for testing
DKIM-Signature e.g.
% (cat /tmp/test.msg | /var/qmail/bin/dkim -z 1 -b 1 -y private -s
/etc/domainkeys/private; cat /tmp/test.msg) | /var/qmail/bin/dkimtest
-v
The patch is available at
http://downloads.sourceforge.net/indimail/dkim-netqmail-1.06.patch-1.0.gz?use_mirror=osdn
Any help in further improving this will be appreciated (especially if
the libdkim code can be incorporated in libdomainkeys itself).
--
Regards Manvendra - http://www.indimail.org
Sent from: Chennai TN India.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de