procmail
[Top] [All Lists]

Problem with auto-reponse

2003-01-29 11:19:32
Hello,

I essay to do an automatic response if procmail meets certain attached file.

My recipe sends back the corp of the text then a typical message.

I will like to do the inverse one, but I do not there arrive.

Here my recipe:

:0 HBhb
* ^Content-Type:.*
*
^*filename=.*\.(pif|vbs|reg|scr|bat|com|exe|clp|dll|pwl|dot|hta|lnk|js|sys|d
rv|bin|ovl|aut|bak|pl|cgi).*
*$ !X-Loop:.*$MOI
| (formail -rk; /bin/cat /var/procmail/attachement) | $SENDMAIL -t -oi

You could give me the solution.

Thank-you.


****************************************************************************
*****

Bonjour,

J'essai de faire une réponse automatique si procmail rencontre certain
fichier attaché.

Mon recipe renvoie le corp du texte puis un message type.

J'aimerai faire l'inverse, mais je n'y arrive pas.

Voici mon recipe :

:0 HBhb
* ^Content-Type:.*
*
^*filename=.*\.(pif|vbs|reg|scr|bat|com|exe|clp|dll|pwl|dot|hta|lnk|js|sys|d
rv|bin|ovl|aut|bak|pl|cgi).*
*$ !X-Loop:.*$MOI
| (formail -rk; /bin/cat /var/procmail/attachement) | $SENDMAIL -t -oi

Pourriez vous me donner la solution.

Merci.


_______________________________________________
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>