I'm trying to get two actions in one rule. I was a light turned on an
e-mail response that the command was issued. I get the action just fine but
I never get a response. I'm sure I'm missing something dumb.
:0 Bi h c
* !^FROM_DAEMON
* !^X-Loop: testing(_at_)my(_dot_)domain"
* ^^LIGHTS\/.+
|/root/bottlerocket-0.04c/br A2,3,4,5,6,7,8,9 $MATCH ; \
(formail -r -A"Precedence: junk" \
-A"X-Loop: testing(_at_)my(_dot_)domain" ; \
echo "Mail received and action performed."; \
echo | date \
tail /var/log/messages \
) | $SENDMAIL -t
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail