On неділя 15 липень 2007, Daniel Bye wrote:
= Is /usr/share/misc/magic.mime of any use? Apparently it is consulted by
= file(1) when called with -i. According to libmagic(3), magic_open() with
= the MAGIC_MIME flag should do the same.
Yes, indeed -- just the ticket... Thanks.
Now, I have not received any e-mails from the cron modified as per the
linked patch yet, but if anyone cares to review it, please, do so. It
compiles :-)
http://aldan.algebra.com/~mi/cron-mime.diff
It increases the application's buffering of the job's output from 1 character
to BUFSIZ and, if requested, passes the first thus-read buffer to
magic_buffer().
If that succeeds, the Mime-Version and Content-Type headers are injected into
the outgoing e-mail...
-mi
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"