Qmail can kick off a mail processing program upon delivery to any address,
easily.
Creating a script to extract attachments and do other things with the
content of a message would be the realm of the programmer assigned to create
the functionality.
The same program that writes the log and processes the MIME text into binary
files could also kick off the program that modifies the contents of the
other directory. Another option would be to have a daemon sort of service
that stats the directory intermittently to check for new messages.
As for a program to do the issues you propose, I know of nothing that does
that premade, but it would not be difficult to do, with, say, perl, and some
modules. I bet you could pay somebody like me to write such a program. ;)
David
> -----Original Message-----
> From: Michael Doerner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 10, 2000 4:23 PM
> To: [EMAIL PROTECTED]
> Subject: automated processing of incoming mails?
>
>
> Hi,
>
> I am new to this list (and to qmail) so please forgive me if
> this has been
> asked before or if it's in the archives and I couldn't find it.
>
> We need to set up a mail server at a client site and I would
> like to use
> qmail (as part of a package called "e-smith") for that job.
> We need to be
> able to automate incoming emails (for one account) for EDI (order
> processing) which will be probably about the following procedure:
>
> - storing the attachment(s) (or mail body, don't know exactly
> yet) into a
> specific directory,
> - create log file entry about that email (when processed,
> sender's address,
> etc.),
> - trigger another program to process the contents of that
> directory (maybe I
> should do that with a cron job?)
>
> Can I do that just with qmail or what else will be needed (procmail)?
>
> Anybody doing something similar and willing to share some
> ideas/knowledge?
>
> Kind Regards,
>
> Michael Doerner
>