procmail
[Top] [All Lists]

Re: Changes on receipts

2008-09-25 18:10:47

On 24-Sep-2008, at 02:25, JoeL wrote:

1) :0 fwi  and :0 cwi ?? The thing is they both do the job.

fwi sends the message to your pipe, cwi send a COPY of the message to your pipe.



2) Would these 2 options work the same?

Yes, like this:

   b)         DUMMY = `mkdir /tmp/"$MESSAGEID"`

               :0 fwi
                 {
                 :0

| ripmime -i - -d /tmp/$MESSAGEID --syslog --no- nameless ; \
               $RENAME /tmp/$MESSAGEID $MESSAGEID 1

               DUMMY = `rmdir /tmp/"$MESSAGEID"`
                }

3) After making your changes, the following receipt IS executed, but instead
of receiving a copy of the email received, i just get an empty email.

               :0
               ! admin(_at_)domain(_dot_)com

Then you need to use cwi instead of fwi.

--
"Katrina, $4 gas, a trillion dollar war, rising unemployment,
     deregulated housing market, global warming...NO MORE!"
     http://is.gd/2mxY



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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