Hello,
I'm trying to write a procmail recipe that will allow users to send a
message to themselves to either enable or disable mail forwarding.
My conditions work ok, but it skips my actions. I've added comments for
this post.
* ! NEWADDR ?? ^^^^
{
MESSAGE="Your mail is now being forwarded to your $NEWADDR
account."
;\ | echo $NEWADDR > ~/.forward ;\
TRY THIS: (?)
echo $NEWADDR > ~/.forward && mail -s "Mail Forwarding
Request" $MUSERADDR < $MESSAGE
(remove the 'pipe')
}
:0E
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail