procmail
[Top] [All Lists]

Re: Auto-send (NOT reply/forward) an email with procmail

2001-07-20 10:49:45
On Fri, Jul 20, 2001 at 09:05:40AM -0700, Professional Software Engineering 
wrote:
         * ^Email:[      ]*\/[^  ].*

This assumes there will be whitespace between the colon and the email 
address.

This assumes that there MAY be a whitespace - it isn't REQUIRED.  * means 
zero or more.

DOH! My bad.

Not a good idea. ~/.procmailrc should be a file, not a directory.

Ya, I meant .procmail

Ah. Was wondering. You're far too experienced to have made that mistake. :)

I realize that, but the syntax allows for retaining the X-Loop which was 
set earlier (yes, it could be re-set too).  

Which could be done with just -xX-Loop:, but...

It also consumes the piped message which avoids write errors (which by use
of a flag on the recipe would be ignored).

Something I dind't think of, and a nifty trick. I'll file that one away for
later use.


-- 
Andrew Edelstein        -       andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>