Greg Lopp on Thu, 21 Feb 2002 20:30:42 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] encryption question


On Thu, Feb 21, 2002 at 01:43:58PM -0500, eric@lucii.org wrote:
> Whoa!  Thanks!  That's my remaining problem - how to do the outgoing 
> part (Procmail worked FINE on the incoming email BTW)!
> I'll have to tell the program to suitably mangle only the mail to my
> friend and leave everybody elses' mail alone.

If procmail worked fine in one direction, why not the other?
Create a recipe that grabs msgs that are to that friend and are
signed and have procmail use it on outgoing mail rather than the
usual $HOME/.procmailrc i.e. :
procmail -m ~/pgp_special_recipe <outgoing_mail

If you can teach procmail to call formail you can teach it to
call sendmail too.



hmmm, I could use this technique to save many keystrokes and much
disk space when sending out resumes......rather than manually
attaching the file and then saving that to a sent mail file, I
could use a header like "X-AttachResume: please" to tack it on.  Neat....



Attachment: pgpBHycfGaTX4.pgp
Description: PGP signature