procmail
[Top] [All Lists]

Re: Fwd: filtering & forwarding incoming email

2005-05-04 21:52:21
It is still not fowarding. Emails sent
user1(_at_)mydomain(_dot_)com are delivered to 
uer1(_at_)mydomain(_dot_)com(_dot_)

D.M.
--- "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> wrote:
Ruud H.G. van Tol schreef:

    PM_TO = 'user1(_at_)mydomian(_dot_)com'

    :0 fhw
    *$ ! ^X-Loop: $\PM_TO
    * ^TO_user1(_at_)mydomian\(_dot_)com
    | formail -i "X-Loop: ${PM_TO}"

    :0A a
    ! user1(_at_)yourdomain\(_dot_)com


The variable was meant to be reused once more:


     PM_TO = 'user1(_at_)mydomian(_dot_)com'
 
     :0 fhw
     *$ ! ^X-Loop: $\PM_TO
     * ^TO_$\PM_TO
     | formail -i "X-Loop: ${PM_TO}"
 
     :0A a
     ! user1(_at_)yourdomain\(_dot_)com


-- 
Grtz, Ruud


____________________________________________________________
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




                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


____________________________________________________________
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