[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] New features for KMail
From:       Norberto Bensa <norberto+kde () bensa ! ath ! cx>
Date:       2004-07-19 8:16:21
Message-ID: 200407190516.21763.norberto+kde () bensa ! ath ! cx
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic