On Wed, 6 May 1998 18:46:26 -0700, Paul Evad - Kudosnet Communications
<pevad(_at_)kudosnet(_dot_)com> wrote:
| cat - ./$FILE 2>&1 | $SENDMAIL -oi -t
However, this doesn't send the file all that cleanly. We will be dealing
with .zip, .sit, .hqx, .exe and possibly some .gz files and I'd like to
send them as mime attachments so the user's mail program deals with them
properly.
Jari Aalto has a Procmail MIME file server of some sort. I haven't
tried it, but you can have a look in <ftp://cs.uta.fi/pub/ssjaaa/> for
things whose name start with "pm", or send e-mail to his autoresponder
at <jari(_dot_)aalto(_at_)poboxes(_dot_)com> with Subject: send help
If all you need is to create a suitable MIME package, there are
various MIME command-line utilities such as metasend (which is for
interactive use, and so doesn't work very well with Procmail) and
mpack you can try. If your needs are simple, you could even read up a
bit on the MIME spec and generate the necessary headers and separators
yourself (echo Content-Type: multipart/mixed etc etc etc). Conversely,
if your needs are complex, get the Perl MIME package from CPAN and
cook up your own tool.
The MIME FAQ (especially part 6) is a good place to look for info.
<http://www.faqs.org/faqs/by-newsgroup/comp/comp.mail.mime.html>
Also, is there an archive of this list somewhere (sans spam) that we can
search?
There's a Glimpse archive by Achim Bohnet. It's nominally searchable
-- maybe I'm just ignorant of the features of Glimpse, but I find it
impossible to search for strings with special characters in them.
(Maybe somebody could help me with this?) Also, it's not filtered for
spam or other irrelevant stuff. Still, a useful resource.
<http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/>
Hope this helps,
/* era */
--
Paparazzi of the Net: No matter what you do to protect your privacy,
they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>