mailimage2mysql/README
author Tomas Zeman <tomas@functionals.cz>
Thu, 19 Sep 2019 10:56:27 +0200
changeset 56 b189f337e5e9
parent 32 27a0248f5f27
permissions -rw-r--r--
.hgrc: -> tomas@functionals.cz

Store image info (from email) to MySQL database.

Operation:

 - parses/unpacks incoming mail (on stdin)
 - all image attachments are stored in IMGFOLDER under unique name
 - image/email metadata are stored in MySQL database (table IMGTABLE)
 - adheres to qmail-command(8) interface

Licensed under BSD-style license.

Example setup:

 - put into your .qmail-images file:
   | envdir env path/to/m2m || exit 100