2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: makemime: filei/o que...
FromSent OnAttachments
Perry MacdonaldDec 20, 2001 8:29 am 
Sam VarshavchikDec 20, 2001 2:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: makemime: filei/o questionActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 20, 2001 2:41:44 pm
List:net.sourceforge.lists.courier-maildrop

Perry Macdonald writes:

I am having a problem with the i/o on makemime. If I do this ...

makemime -c auto $1 MIMEFILE makemime -m multipart -a "MIME-Version: 1.0" -o mime1 MIMEFILE

... everything works OK, but when I try to pipe it together using standard input ...

makemime -c auto $1 | makemime -m multipart -a "MIME-Version: 1.0" -o mime1 -

... I get an error message:

ftell: Illegal seek

See 'Building complex MIME encodings' in the makemime man page. The very first example is nearly identical to what you're trying to do, here.