99a100,103 > class IgnoreBulk(Exception): > """ This is email from a mailing list or from a vacation program. """ > pass > 356a361,365 > except IgnoreBulk: > # XXX we should use a log file here... > # do not take any action > # this exception is thrown when email should be ignored > return 480a490,491 > if ("bulk" == message.getheader('precedence', '')): > raise IgnoreBulk