[Dovecot] Execute mailfilter after message move

2010-02-03 Thread Kārlis Repsons
Hi,
came here to ask, if there are any ideas about a possible Dovecot feature, 
which would allow execution of a specific mailfilter or other program after new 
message is *moved* in specified mail location? The practical benefit on my side 
would be, that there wouldn't be any need to do getmail cronjobs, which 
unnecessarily fill up logfiles... (primarily for easy spam learning and 
reporting)


signature.asc
Description: This is a digitally signed message part.


Re: [Dovecot] Execute mailfilter after message move

2010-02-03 Thread Timo Sirainen
On 3.2.2010, at 12.04, Kārlis Repsons wrote:

 Hi,
 came here to ask, if there are any ideas about a possible Dovecot feature, 
 which would allow execution of a specific mailfilter or other program after 
 new 
 message is *moved* in specified mail location?

Moved via IMAP? IMAP actually has no move feature, but maybe copy is enough 
for you.

 The practical benefit on my side 
 would be, that there wouldn't be any need to do getmail cronjobs, which 
 unnecessarily fill up logfiles... (primarily for easy spam learning and 
 reporting)

Maybe http://johannes.sipsolutions.net/Projects/dovecot-antispam can do what 
you need? Or modifying it.