diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/incoming_message.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index de45415d3..51c63ae65 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -19,7 +19,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.168 2008-11-10 18:25:12 francis Exp $ +# $Id: incoming_message.rb,v 1.169 2008-11-21 01:09:56 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -1004,6 +1004,10 @@ class IncomingMessage < ActiveRecord::Base if !prefix.nil? && prefix == 'postmaster' return false end + # likewise Mailer-Daemon + if !prefix.nil? && prefix == 'Mailer-Daemon' + return false + end return true end |