procmail and gpg

Stormer's Cgi-Archive stormer at
Wed May 13 18:53:17 CEST 2009


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.



On Wed, May 13, 2009 at 11:25 AM, Julian Stacey <jhs at> wrote:
> Matthew Krotzer wrote:
>> * Stormer's Cgi-Archive <stormer at> [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>
>                     for submitting questions/answers.
>              <procmail-users-request at>
>                     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
>       (this is a readonly list).
> Cheers,
> Julian
> --
> Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich
>  Mail plain ASCII text.  HTML & Base64 text are spam.


Stormer's Cgi-Archive

More information about the Gnupg-users mailing list