procmail and gpg

Harry Rickards hrickards at l33tmyst.com
Wed May 13 19:27:04 CEST 2009


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

On 05/13/09 17:53, Stormer's Cgi-Archive wrote:
> Julian,
> 
> Sorry for the initial description... here is why I want it...
> 
> What I would like to do is have a regular pop3 mail account on a
> private server... any email sent TO that email address will be
> encrypted with my public key when it arrives on the server.  Then when
> I download it into Mozilla
> Thunderbird with EnigMail addon it will decrypt it.   The usefulness
> of this ability can be expanded to other perl/php scripts that email
> information to that same pop3 but don't have any type of gpg port yet.
> 
> Thanks!
> 
> James
> 
> 
> On Wed, May 13, 2009 at 11:25 AM, Julian Stacey <jhs at berklix.org> wrote:
>> Matthew Krotzer wrote:
>>> * Stormer's Cgi-Archive <stormer at stormer.org> [090513 02:51]:
>>>> I asked this one before...  either no response or no one knows.
>>>>
>>>> Has anyone got a procmail recipe that works so that any email sent to
>>>> a particular pop3 account will be encrypted with a public key?
>>>>
>>>> maybe I am on the wrong list?  Recommendations?
>>>>
>>>> James
>>>>
>>> A procmail list would probably be a better place to get this
>>> information. I don't use procmail, but this seems more like a
>>> client setting to me. Folder-hooks, etc.
>>>
>>> I don't understand what you are trying to do from the
>>> description. Is there a singular public key for the account or
>>> multiple? Are you setting this up on a private mailserver? My
>>> email client, mutt, picks the right key for the right account
>>> based on the key information.
>>>
>>> Matthew
>> I use procmail,
>> (but dont use gnupg much 'cept occasionaly for customers,
>>  hence lurker status ;-)
>> Seems a puzzling/ badly/ inadequately phrased question from Stormer.
>> - Normaly one _en_crypts before sending
>> - Whereas one uses procmail on receipt.
>> - But POP3 implies local incoming account, else how would one know what
>>  protocol another recipient uses to collect.
>> - Stormer talks of "sent to > a particular" rather than "received by .."
>> Puzzling.
>>
>> Maybe Stormer means oungoing from private net, somehow wanting to
>> call procmail on a proxy or relay before heading out over net ?  Or
>> he or she could mean other things.   Question best re-defined & re-posted.
>>
>> PS man procmail:
>>              <procmail-users at procmail.org>
>>                     for submitting questions/answers.
>>              <procmail-users-request at procmail.org>
>>                     for subscription requests.
>>
>>       If  you  would  like  to  stay informed about new versions and official
>>       patches send a subscription request to
>>              procmail-announce-request at procmail.org
>>       (this is a readonly list).
>>
>> Cheers,
>> Julian
>> --
>> Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
>>  Mail plain ASCII text.  HTML & Base64 text are spam. www.asciiribbon.org
>>
> 
> 
> 

I asked about a similar thing recently on the debian-user mailing list.
Basically, we worked out that it would be hard to do, and would be a lot
easier just to encrypt the disk. That was using Postfix though. Let us
know if you find a solution.

- -- 
Many thanks
Harry Rickards

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+  PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoLAugACgkQ1kZz3mRu0Go/oQCg5FtBokZNzv07m+wQQ3egtcuj
zGYAn0BhqgagSnx5TiYsIfnYeHw/KQm+
=dFOU
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list