All pastes #895756 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-08 01:32 UTC
rendered paste body
require "fileinto";

if header :is "X-DSPAM-Result" "Spam" {
  fileinto "Spam";
} elsif header :contains "List-Id" "chavo.projects.maemo.org" {
  fileinto "Chavo";
} elsif address :is "from" "bugzilla-daemon@projects.maemo.org" {
  fileinto "Chavo.Bugzilla";
} elsif header :contains "List-Id" "chavo-commits.projects.maemo.org" {
  fileinto "Chavo.Commits";
} elsif header :contains "List-Id" "chavo-integration.projects.maemo.org" {
  fileinto "Chavo.Integration";
} elsif header :contains "List-Id" "chavo-releases.projects.maemo.org" {
  fileinto "Chavo.Releases";
} elsif header :contains "List-Id" "rtcomm.maemo.org" {
  fileinto "Chavo.Rtcomm";
} elsif header :contains "List-Id" "chavo-tickets.projects.maemo.org" {
  fileinto "Chavo.Tickets";
} elsif header :contains "List-Id" "decibel.kde.org" {
  fileinto "Decibel";
} elsif address :contains "from" "fedoraproject.org" {
  fileinto "Fedora";
} elsif address :is "from" "bugzilla-daemon@annarchy.freedesktop.org" {
  fileinto "Freedesktop.Bugzilla";
} elsif header :contains "List-Id" "dbus.lists.freedesktop.org" {
  fileinto "Freedesktop.D-Bus";
} elsif header :contains "List-Id" "gnome-embedded.gnome.org" {
  fileinto "GNOME.Embedded";
} elsif header :contains "List-Id" "foundation-announce.gnome.org" {
  fileinto "GNOME.Foundation";
} elsif header :contains "List-Id" "gossip-dev.lists.imendio.com" {
  fileinto "GNOME.Gossip";
} elsif header :contains "List-Id" "loudmouth.lists.imendio.com" {
  fileinto "GNOME.Loudmouth";
} elsif header :contains "List-Id" "mobile-devel-list.gnome.org" {
  fileinto "GNOME.Mobile";
} elsif header :contains "List-Id" "gnome-soc-list.gnome.org" {
  fileinto "GNOME.SoC";
} elsif header :contains "List-Id" "soc-mentors-list.gnome.org" {
  fileinto "GNOME.SoC Mentors";
} elsif header :contains "List-Id" "jdev.jabber.org" {
  fileinto "Jabber.Devel";
} elsif header :contains "List-Id" "ejabberd.jabber.ru" {
  fileinto "Jabber.Ejabberd";
} elsif header :contains "List-Id" "members.xmpp.org" {
  fileinto "Jabber.Members";
} elsif header :contains "List-Id" "standards.xmpp.org" {
  fileinto "Jabber.Standards";
} elsif address :is "from" "logcheck@dhansak.collabora.co.uk" {
  fileinto "Logcheck";
} elsif header :contains "List-Id" "chat.lists.mel8ourne.org" {
  fileinto "LCA";
} elsif header :contains "List-Id" "devel.lists.laptop.org" {
  fileinto "OLPC.Devel";
} elsif header :contains "List-Id" "sugar.lists.laptop.org" {
  fileinto "OLPC.Sugar";
} elsif address :is "from" "bugtracker@laptop.org" {
  fileinto "OLPC.Trac";
} elsif header :contains "List-Id" "announce.lists.openmoko.org" {
  fileinto "OpenMoko.Announce";
} elsif header :contains "List-Id" "community.lists.openmoko.org" {
  fileinto "OpenMoko.Community";
} elsif header :contains "List-Id" "devel.lists.openmoko.org" {
  fileinto "OpenMoko.Devel";
} elsif header :contains "List-Id" "Summer-Administrators-2006.googlegroups.com" {
  fileinto "SoC.Administrators";
} elsif header :contains "List-Id" "gnome-soc-mentors.googlegroups.com" {
  fileinto "SoC.GNOME";
} elsif header :contains "List-Id" "sugar.lists.laptop.org" {
  fileinto "Sugar";
} elsif header :contains "List-Id" "telepathy.lists.freedesktop.org" {
  fileinto "Telepathy";
} elsif header :contains "List-Id" "telepathy-commits.lists.freedesktop.org" {
  fileinto "Telepathy.Commits";
} elsif header :contains "List-Id" "ubuntu-telepathy.lists.ubuntu.com" {
  fileinto "Telepathy.Ubuntu";
} else {
  keep;
}