D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] PGP Encryprtyion



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


someone may find this useful.. a transport filter designed for exim that will 
encrypt messages on the fly using a specified pgp key:

http://theo.me.uk/downloads/transport-filter.txt

   and

http://theo.me.uk/downloads/PGPDb.pm

it's still not 100% RFC compliant, and not really well tested, yet...

to use in exim.conf:

MYSQL_CAN_SIGN = SELECT 1 FROM auth.Mail WHERE user = 
'${quote_mysql:$local_part}' AND domain = '${quote_mysql:$domain}' AND PGPKey 
!= NULL

remote_smtp_pgp:
   driver = smtp
   transport_filter = /etc/exim/transport-filter.pl "${address_data}"

and/or..

virtual_aliases:
   driver = redirect
   allow_defer
   allow_fail
   data = ${lookup mysql {MYSQL_ALIAS}}
   address_data = ${lookup mysql {MYSQL_SIGN_KEY}{$value}}
   retry_use_local_part

or...

dnslookup_pgp:
   driver = dnslookup
   domains = ! +local_domains
   transport = remote_smtp_pgp
   ignore_target_hosts = 127.0.0.0/8
   condition = ${address_data}
   no_more

etc...


right, really off to london now.

~ Theo

- -- 

Theo Zourzouvillys
http://zozo.org.uk/

Questionable day.

Ask somebody something.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ED1z448CrwpTn6YRAkHSAJ974VoujgeZmmgKZ2AOGTi5U6QVOQCdE+kf
rSxViKcWuz9S5CHWXTqD1HY=
=1vdP
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly