Hello,

Does anyone have any experience using `makemime` with multiple attachments, please..?

What I'm trying to do is set up mgetty to email me received faxes using sendmail. mgetty provides this sample script for the purpose <http://linux.stroller.uk.eu.org/new_fax.mime4.gz>, but it uses `mmencode` or `mimencode` which are not installed on my system. For this reason I started to investigate using `makemime` to wrap up the received faxes.

I have used `makemime` previously on single-part messages with success, however I just don't seem to be clever enough for the process of building multi-part messages. Whilst the "easy" solution might be for someone to tell me where to find `mmencode` or `mimencode`, I'd prefer to learn how to use `makemime` properly, as it seems like quite a powerful tool.

I have mgetty working fine at receiving faxes and saving them in /var/spool/faxes/blah/, but mgetty provides the facility to call a script and will do so giving the filenames of the fax images as arguments - I think the example script lined to above demonstrates this quite well.

I don't know if my aversion to the use of temp files by shell scripts is rational or not (comments?), but I think ideally one would make multiple calls to `makemime` (one for each attachment) within a single pipe to sendmail. Is this possible..?

Many thanks in advance for your time,

Stroller.



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to