procmail
[Top] [All Lists]

Extracting attachments to work with -- why is this failing?

2002-12-29 15:16:58
I have the following in my .procmailrc that I pulled from the list
archives. The messages I found in the archives suggest it SHOULD work.
It doesn't, and I can't figure out why.

Any assistance appreciated.

G

SHELL=/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/mh/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/Mail/fetchlog
XMSG=/usr/X11R6/bin/xmessage
DISPLAY=:0
PROCX=$HOME/.procxset
METAMAIL_TMPDIR=/home/username/metatemp
export METAMAIL_TMPDIR

[snip recipes that work]
[ignore the X stuff -- I have a recipe that plays a sound and pops the
email body up on screen for a certain person to be able to page me
visually -- it works]

#HVWC PICTURE TEST (save a copy)
:0c:
* ^To(_dot_)*hvwc(_dot_)pic(_at_)sysmatrix(_dot_)net
.HVWC.pic/

:0 bfw
* ^To(_dot_)*hvwc(_dot_)pic(_at_)sysmatrix(_dot_)net
|metamail -r -y -w -q -x


In my ~/Mail/fetchlog I get this: (excuse the wrapping)

Warning: Cannot freopen /dev/tty to stdinFrom gvl2(_at_)sysmatrix(_dot_)net  Sun
Dec 29 15:16:08 2002
 Subject: test 6
  Folder: .inbox2/new/1041196568.8313_3.phorce1

and it drops through to my "fallthrough" folder.

But, the copy that drops through has been altered and the original
message is now gone and a multipart/mixed attachment to a new message
is sent through that is .2K in size (empty). So, metamail does appear
to be operating on the file, but failing and eating it in the process.

The message is a short text message (the words "test6" plus my .sig)
and 2 small .jpg attachments.

-- 
Gerald
http://www.phorce1.com
http://www.buskatiers.org

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>