Re: New features for KMail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux