procmail
[Top] [All Lists]

Re: copy attachments to two destinations

2013-11-12 14:03:28
Try adding the c flag to the first recipe so there is a copy to deliver to
the second recipe.

Rich

On Tue, November 12, 2013 2:53 pm, Eric Smith wrote:
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
____________________________________________________________
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


____________________________________________________________
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