procmail
[Top] [All Lists]

Changes on receipts

2008-09-24 04:28:09
Hi Dallman,

I have to say, everything works great know.

Could you please explain to the difference between:

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

2) Would these 2 options work the same?

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

                :0 fwi
                | ripmime -i - -d /tmp/$MESSAGEID --syslog --no-nameless ; \
                $RENAME /tmp/$MESSAGEID $MESSAGEID 1 ; \
                rmdir /tmp/"$MESSAGEID"


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

                :0 fwi
                | 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

Do i need some special modifier to tell procmail to send me an exact copy of
what is received?


4) Is it possible to invoke qmail-remote from procmail? This would be to
forward a mail to user1(_at_)domain(_dot_)com to user1(_at_)domain(_dot_)com in 
a different
server. Something like:


                :0 fwi
                | qmail-remote '[192.168.1.24]' "$SENDER" "$DESTINATION"

                (NOTE: 192.168.1.24 is a secundary MTA for the same domain,
and i'm not sure if ':0 fwi' would be correct)


I hope this time everything is more understandable this time!

Thanks again!

Regards,

Joel Serrano.
____________________________________________________________
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>