[Dovecot] Running a script when a mail arrives

Juergen Nickelsen ni at jnickelsen.de
Wed Sep 19 11:31:46 EEST 2007


Dennis Becker wrote:

> 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.

I am not totally sure, being very new to dovecot, but doesn't dovecot's
"deliver" execute the .dovecot.sieve if the sieve plugin is installed
and configured?

protocol lda {
   # ...
   mail_plugins = cmusieve
}

Seeing when the .dovecot.sievec is created, it looks like that is done 
on delivery time, not when reading.

Regards, Juergen.



More information about the dovecot mailing list