procmail
[Top] [All Lists]

Help w/POP

1997-10-23 09:11:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've just started playing with procmail to try to implement the following:

1. I get my email from a POP server (dumb protocol) on a UNIX machine
2. I'd like to PGP encrypt all incoming mail if it's not already encrypted
3. I read my mail on a M$Windoze machine w/Eudora (handles MIME, etc)

Interestingly, (2) is non-trivial in the case of MIME attachments; I need to
be able to set up the resulting encrypted mail so Eudora can deal with it
(which means no simple "blanket body" encryptions). What I do in that case is
explode the mime attachments to a temp directory, tar/gzip them, PGP the .tgz
file, and mpack it back up.

My problem is that for this to work with POP, procmail needs to write the
resulting mail back to the "default" mailbox, which is the only place I can
get POP mail from. With short mails, or with infrequent messages, I'm okay; it
works just fine. The problem comes when PGP takes too long to encrypt (or
munpack/mpack), and a second mail message comes in; then procmail decides that
it can't write to the default mailbox (rightly so) because the MTA is writing
to it.

I don't have access to the sendmail.cf since it's at my ISP, so I can't
integrate the two. I have put a request in, so we'll see what comes of that,
but I doubt they'll put it together for various reasons. So, any guesses on
how I can work this? 

Oh yea, I'm writing back to the default mailbox because I want to preserve the
headers; otherwise, I would just mail myself the result (which would be the
trivial workaround). Or am I missing something - can I mail it back to myself,
preserving the original headers?

Thanks;
Luigi Bai
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNE91Rg1xg1eRwqdmEQLOHwCgsOSuU7o6/rLp/PYQJgBLKoyvfEUAn2sd
Sx7mwRnYt/mqfbP9p571Atcy
=7Rn+
-----END PGP SIGNATURE-----
--SIG--------------------------------------------------------
<A HREF="http://www.focalpoint.com/";>Home Page</A>
we contemplate eternity beneath the vast indifference of heaven
                     warren zevon
Luigi P. Bai                       Focal Point Software, Inc.
lpb(_at_)focalpoint(_dot_)com                 1225 N. Loop 610 W., Suite 214
turning data into information      Houston, TX   77008-1757
                                   (713) 215-1612


<Prev in Thread] Current Thread [Next in Thread>
  • Help w/POP, Luigi P. Bai <=