I thought this would work:
* ? /usr/bin/perl -e 'require "/home/richard/.pmdir/test_subject.pl";
test_if_billed($ENV{SUBJECT},$ENV{FROM});'
work #already billed test_if_billed() notified sender. just dump in work
folder
:0E # has not been billed rip & save attachements
{
|ripmime -i - -d /home/richard/.pmdir/attachments/ &&\
/usr/bin/perl -e 'require "/home/richard/.pmdir/test_subject.pl";
rename_att($ENV{SUBJECT});'
invoices
}
The perl script gets the variables and executes correctly but the
conditional does not trigger the results expected. Can anyone tell me what I
am doing wrong?
Thanks,
Richard
____________________________________________________________
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