Sieve-Example:Notify: Difference between revisions

mNo edit summary
mNo edit summary
 
[[File:Sieve-roundcube-notify.png|Roundcube screenshot]]
 
If you can edit the sieve filter manually, then you can
 
<syntaxhighlight>
# rule:[notify]
if header :matches "subjectSubject" "*"
{
set "subject" "${1}";
notify :importance "2" :message "[Notification] ${subject}" "mailto:someone@example.com";
}
 
if header :matches "From" "*"
{
set "from" "${1}";
}
notify :importance "2" :message "[Notification] ${from}: ${subject}" "mailto:someoneandrew@exampleaa.net.comuk";
 
</syntaxhighlight>