It seems I might have had some success but keep in mind I've
never used GPG before so this, no doubt, could be refined.
The aim is to have the mailserver GPG encrypt my incoming
mail with a public key that I provide so my messages cannot
be viewed by server admin or any other users on that system.

It essentially comes down to this and providing pubring.gpg...

    `test -f $HOME/pubring.gpg`
    if (!$RETURNCODE)
    {
      xfilter "/usr/bin/mimegpg -e -- -r $RECIPIENT --homedir $HOME"
    }
    to "./Maildir/."

I did something like this to produce pubring.gpg...

  apt-get install gnupg sqwebmail (for mimegpg)
  gpg --gen-key (I actually used KGpg, a gui app)
  (provided fullname, email, webpage (comment))
  scp ~/.gnupg/pubring.pgp [EMAIL PROTECTED]:/homedir

Done. Thanks to Sam and Alessandro for vital hints and if
anyone actually tries this could they please post improvements
as I think this is awesome (for me and my IMAP users).

--markc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to