procmail
[Top] [All Lists]

Re: sendmail

2001-02-22 11:08:25
This is my .procmail
        :0
        * ^Content-type: (multipart|application)
                {
                :0 HB
                #al posto di attachment a volte c'e' inline, pero' non
sono exe                * ^Content-Disposition: (attachment|inline);
                * filename=".*\.(exe|hta|pif|scr|shs|vbs|vbe|wsf|gz)" |
name=".*\.(exe|hta|pif|scr|shs|vbs|vbe|wsf|gz)"
                  {
                   :0
                     { unique=`$HOME/inc_unique` }
                   :0 fw:${HOME}/procmail.lock
                     | (formail -r \
                         -I"From: $OWNER " \
                         -I"To: $OWNER \
                         -I"Subject: [Virus Alert]  $unique"; \
                         echo "E' stata individuata una email con un
probabile
virus";\
                         echo "Inviata da:$SENDER"; \
                         )\
                         | /usr/bin/sendmail -oi -t
                   :0
                   $HOME/antivirus/$unique

                  }
                }

In log i have:
procmail: Assigning "unique=20010222170241-22"
procmail: Locking "/home/mailuser/mitech/procmail.lock"
procmail: Executing " (formail -r \
                         -I"From: $OWNER " \
                         -I"To: $OWNER " \
                         -I"Subject: [Virus Alert]  $unique"; \
                         echo "E' stata individuata una email con un
probabile virus";\
                         echo "Inviata da:$MITTENTE"; \
                         )\
                         | /usr/bin/sendmail -oi -t "
procmail: Error while writing to " (formail -r \
                         -I"From: $OWNER " \
                         -I"To: $OWNER " \
                         -I"Subject: [Virus Alert]  $unique"; \
                         echo "E' stata individuata una email con un
probabile virus";\
                         echo "Inviata da:$MITTENTE"; \
                         )\
                         | /usr/bin/sendmail -oi -t "

The new mail is received from OWNER, but why the error? :
procmail: Error while writing to " ......

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