- Timestamp:
- 12/06/11 16:40:53 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r579 r580 3 3 -n/--dry-run flag, closes #235 4 4 Author: Thomas Moschny 5 Applied by: Bas van der Vlies 6 7 * Added Astaro firewall spam handling. Check X-Spam-Flag and X-Spam-Result 8 message header flags. see: 9 * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644916 10 Author: W. Martin Borgert" <debacle at debian dot org> 5 11 Applied by: Bas van der Vlies 6 12 -
trunk/debian/changelog
r576 r580 1 email2trac (2.4.6-1) stable; urgency=low 2 3 * See Changelog 4 5 -- Bas van der Vlies <basv@sara.nl> Tue, 06 Dec 2011 16:38:49 +0100 6 1 7 email2trac (2.4.5-1) stable; urgency=low 2 8 -
trunk/email2trac.py.in
r578 r580 226 226 # Note if Spam_level then '*' are included 227 227 """ 228 self.logger.debug('function spam') 229 228 230 spam = False 229 231 if message.has_key(self.parameters.spam_header): … … 239 241 spam = True 240 242 241 # treat virus mails as spam243 ## treat virus mails as spam 242 244 # 243 245 elif message.has_key('X-Virus-found'): 244 246 spam = True 245 247 246 # How to handle SPAM messages 248 ## Astaro firewall spam handling 249 # 250 elif message.get('X-Spam-Flag') == "YES" and message.get('X-Spam-Result') == "Spam": 251 spam = True 252 253 ## How to handle SPAM messages 247 254 # 248 255 if self.parameters.drop_spam and spam:
Note: See TracChangeset
for help on using the changeset viewer.