This sounds like a better task to do at the MTA level. I know Postfix has the capability to do such things. You can write a Perl script for example and make entries in the main.cf and/or master.cf files and postfix will pass the e-mail to that script during the rest of it's processing.

Tom

Dennis Becker wrote:
Hi,
I'm trying to execute a script when a mail arrives in a given user's mailbox. Something like .dovecot.sieve. The reason I'm not using sieve itself is that I need to do stuff on mail arrival, which is beyond sieve's features.

So is there a way to tell dovecot to run a script when a mail arrives in a certain mailbox? Optionally a solution to forward the whole mail to a script would be good too.


Reply via email to