New features for KMail

Norberto Bensa norberto+kde at bensa.ath.cx
Mon Jul 19 09:16:21 BST 2004


Marian POPESCU wrote:
> What do you think?

I'd like a filter language; I use sieve (with imap) so this isn't really 
useful to me at this moment. This is an example of what can be done with 
sieve:

	elsif header :contains "List-Id" "mail.kde.org" {
		if header :contains "List-Id" "kde-devel"
			{ fileinto "INBOX.Archives.OSS.KDE.Devel"; }
		elsif header :contains "List-Id" "kde-linux"
			{ fileinto "INBOX.Archives.OSS.KDE.Linux"; }
		else
			{ fileinto "INBOX.Archives.OSS.KDE"; }
	}

I'd really like to see a "switch" statement, but "if" works pretty well :)

Regards,
Norberto
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list