Background. We are a software provider for about 300 "3rd party logistics" companies. These companies buy and sell space on trucks, planes, trains. they charge their customer and pay the carriers who ship the goods. When goods are delivered, the carrier gets the receiver to sign for the receipt of the shipment. That receipt is commonly called a POD (proof of delivery). We want a way to email the POD to a specific email address, and have it self index into our database. So for instance, POD1234567 @ company.aljex.com. POD is the type of doc, 1234456 is the shipment number, and each Aljex client has a company id which is setup as an alias for the server and system they are hosted on
We have a custom imaging system, and places to put the images so they flow into our system. What the plan is is Fetchmail gets the mail for that address and runs the mail through procmail filters to extract the attachment from the email and feed it into the document manager.