copy attachments to two destinations

Eric Smith <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
Hi

I want to extract attachments from each email to two target
folders. The following recipe gives this error:
:0f
| /usr/bin/uudeview -i +a  -p /home/eric/ -e .html -
:0f
|  /usr/bin/uudeview -i -p /someplace_else -e .html -


procmail: Executing "/usr/bin/uudeview,-i,+a,-p,/home/eric/,-e,.html,-"
Loaded from /tmp/uupGHdpf: 'xxxV.' (xxx.):  part 1   Base64
Loaded from /tmp/uupGHdpf: 'xxxV.' (xxx.): somefile.docx part 1   Base64
Opened file /tmp/uupGHdpf
Opened file /tmp/uupGHdpf
procmail: Executing "/usr/bin/uudeview,-i,-p,/someplace_else,-e,.html,-"
Note: No encoded data found in /tmp/uu7TiE5d

I am only getting a file in my home dir and not to "someplace_else".

Is there a better procmail recipe?
Or a different approach completely, perhaps with something other than uudeview?

-- 
Best regards,
Eric Smith
Mobile: 00 31 6 455 09313 - Tel Wageningen: +31 317 728888
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.