mailimage2mysql/README
author Tomas Zeman <tzeman@volny.cz>
Tue, 18 Mar 2014 12:01:14 +0100
changeset 42 8a7132bd1a3d
parent 32 27a0248f5f27
permissions -rw-r--r--
scripts/sudohg

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