Can't you store it the spam folder in the before script, send it on and
then discard it in the after script.
This would of course miss mails that are stored somewhere else by user
rules, fx mailinglist spam, but it handles the simple case.
/Daniel
On 2016-09-12 15:07, Andre Luiz Paiz wrote:
(uid=1054, box=INBOX.NYTimes): 2 Time(s)
dovecot: indexer-worker(): Fatal: master:
service(indexer-worker): child 15655 killed with signal 6 (core dumps
disabled): 1 Time(s)
Regards,
Daniel Demus
ecot/libdovecot.so.0(master_service_run+0x14) [0xb6decc84]
-> dovecot/indexer-worker(main+0xe8) [0x7f5ee880] ->
/lib/libc.so.6(__libc_start_main+0x114) [0xb6c4eb54]: 1 Time(s)
Regards,
Daniel Demus