| From | Sent On | Attachments |
|---|
| Subject: | [courier-users] Re: makemime and sqwebmail | |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | Jan 24, 2002 2:45:54 pm | |
| List: | net.sourceforge.lists.courier-users | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Peer Oliver Schmidt | Jan 24, 2002 7:54 am | |
| Roland Schneider | Jan 24, 2002 10:07 am | |
| Peer Oliver Schmidt | Jan 24, 2002 11:07 am | |
| Roland Schneider | Jan 24, 2002 12:07 pm | |
| Peer Oliver Schmidt | Jan 24, 2002 2:10 pm | |
| Sam Varshavchik | Jan 24, 2002 2:45 pm | |
| Sam Varshavchik | Jan 24, 2002 2:46 pm |
| Subject: | [courier-users] Re: makemime and sqwebmail | |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | Jan 24, 2002 2:45:54 pm | |
| List: | net.sourceforge.lists.courier-users | |
Peer Oliver Schmidt writes:
Hi list,
I was playing around with makemime and sending me a PDF file using
makemime -c auto -a "To: pos" test.pdf|sendmail
Looking at the message in SQWebmail shows the contents of the binary PDF file. ie. the start of the file with %PDF etc. (The mime type says application/octet-stream)
Looking at the message from Outlook shows an empty message plus the attachment, except the name is now ATT0058.DAT
Same happens if I change the type to -c application/pdf.
What am I missing here?
makemime only adds the bare minimum set of MIME headers. In most cases, other headers are required. From the makemime man page:
makemime does not generate any other headers. Particu larly, the "Mime-Version:" header is required for MIME- formatted E-mail messages. Additional headers are speci fied by the -a option, which may be used multiple times to insert multiple headers. makemime doesn't do anything with them except to insert the headers into the generated MIME section.
You probably need to also add the Content-Disposition: and/or Content-Name: headers.
-- Sam

