[Dovecot] dovecot sieve enotify question

Robert Schetterer robert at schetterer.org
Sat Nov 13 12:27:34 EET 2010


Am 13.11.2010 10:23, schrieb Stephan Bosch:
> Op 12-11-2010 18:33, Robert Schetterer schreef:
>> 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/emailaddres
> No. There is no way to put a full message into a variable and notify
> doesn't have any provisions of its own to do something like that.
> 
> There is currently also no forward-as-attachment command in general.
> 
> Regards,
> 
> Stephan.
> 
Hi Stephan, thx for answer , so stopping my investigate in this

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the dovecot mailing list