Hello!

 

I am using dbmail 2.1.2

 

This is a feature I am interested in: I want to be able to launch an
external script immediately after receiving an email delivered to a specific
user. Unfortunately mysql does not have such option to launch external
program based on an SQL condition AFTER insert.

 

I am not sure if this can be done using postfix alone, but I think it will
be very useful to have such function in dbmail. For example to launch a
probram to send SMS to notify about receiving an email or to launch some
sort of email parser to extract attached images from an email and place an
image in an album.

 

I am using a cron right now to process emails every 15 minutes, parse email,
extract attachments and do stuff with them using external program, but it
would be really better if there was a way to lauhch a program immediately
after a email is inserted in to database.

 

Please consider my request. Thank you.

 

Dmitri.

Reply via email to