12 Nov
2010
12 Nov
'10
7:33 p.m.
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@example.com"; set "subject" "Spam"; notify :message "${from_addr}: ${subject}" "mailto:user@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