Well,
At present, I modify dovecot-antispam-1.3 for dovecot-1.2 to allow a nospam folder, and it's running.
I think, that a plugin that catch moved to a specific folder or assign a keyword and exec script could be useful for anyone.
NOTE: It's my first code change on any dovecot/plugins code.
2010/10/24 Antonio Perez-Aranda aperezaranda@yaco.es:
I need to detect when a mail is moved to a specific folder.
It's mail is moved to folder1, then exec script 1 It's mail is moved to folder2, then exec script 2
One of this scripts it's a mark as ham, It removes -SPAM- mark from subject, pass to spamassassin to learn as harm and then, leave the mail where it came from, or inbox.
2010/10/24 Eugene Paskevich eugene@raptor.kiev.ua:
On Sun, Oct 24, 2010 at 02:20:03AM +0200, Antonio Perez-Aranda wrote:
I have running dovecot-1.2.15 and I try whith dovecot-antispam-1.3 and 1.2-* if it's running for me.
I use mailtrain backend to call a script when I move a mail to a specific folder. Then, I set allow_append_to_spam: yes
At .config for Make dovecot-antispam. I set the plugin's name to:
PLUGINNAME=isspam
An then, I have another copy of the sources and .config with plugin's name set to:
PLUGINNAME=nospam
With this. If I put on dovecot.conf
protocol imap { ... mail_plugins = isspam nospam ... }
When I try to login, the connection is aborted and dovecot connection die with coredump
Are there are any people with similar settings ?
(doble instance of antispam plugin)
Could you please elaborate why you need to load multiple plugin instances simultaneously?
-- Eugene Paskevich | *==)----------- | Plug me into eugene@raptor.kiev.ua | -----------(==* | The Matrix