Cody Stewart wrote:
How do you figure doing that?
I have written some code in php to encrypt each message dynamically. I
am looking to implement this code in dbmail so I gain imap support.
I mean, like what will a message typically look like after encryption?
Structure and formatting, the actual algorithm. Or should I assume it's
mime compliant?
Why not encrypt the body before feeding it to dbmail? That way you will
also be forward compatible with dbmail-2.3 which uses a completely
different storage model.
This is a great idea. My problem is I do not know C very well. I am
having a hard time finding where to do this at. Can you point me to
the right spot?
You misunderstand completely. If you encrypt *before* giving the message
to dbmail (through dbmail-lmtpd or dbmail-smtp/deliver) you don't need
to modify dbmail to begin with. I'm thinking filters:
cat message.eml|myencryptingfilter.sh --key $pgpid|dbmail-smtp -u $user
Should you still prefer to hack on dbmail, dbmail-message.c would be a
good place to start.
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail