On Mon, Nov 21, 2005 at 09:02:41AM -0500, Tech Support wrote:
> 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.

This would probably best be handled by having your MTA.  You could have
your MTA expand dbmail addresses to include an email-to-sms address, and
you could have it either run a filter between the MTA and dbmail to
extract attached images, or deliver the messages to an external program
which extracts the images and discards the message.

Christian 

Reply via email to