[Dovecot] dovecot sieve enotify question

Robert Schetterer robert at schetterer.org
Fri Nov 12 19:33:04 EET 2010


Hi, sorry not dovecot
but heres the question
is it possible to use dovecot sieve enotify
not only for notify mail i.e arrived
but with add the incomming mail as attachment to the notification ?


i.e.
i have found
a example

require ["enotify", "fileinto", "variables"];
if header :contains "X-Spam-Flag" "YES" {
  set "from_addr" "admin at example.com";
  set "subject" "Spam";
  notify :message "${from_addr}: ${subject}"
         "mailto:user at example.com";
}

is there a way to add the orginal mail as attach to the notfication mail
, and finally perhaps delete it

this would like a redirect/forward with right from_addr ( which should
always be the default mailboxname/emailaddress

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the dovecot mailing list