aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-02-03 03:46:46 +0000
committerfrancis <francis>2009-02-03 03:46:46 +0000
commitab814d28da9cda5a9504464f80dfe5ca4cd65a15 (patch)
treeeb8d7dc01a8d7493cdfeba740fa58a3a7e03afe7
parent759de09fffbe537214025257aef39ef6858731fe (diff)
Give source
-rw-r--r--app/models/incoming_message.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 2eaaee1e2..4a0c1ab5b 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.186 2009-02-03 03:43:00 francis Exp $
+# $Id: incoming_message.rb,v 1.187 2009-02-03 03:46:46 francis Exp $
# TODO
# Move some of the (e.g. quoting) functions here into rblib, as they feel
@@ -156,6 +156,8 @@ def normalise_content_type(content_type)
return content_type
end
+# List of DSN codes taken from RFC 3463
+# http://tools.ietf.org/html/rfc3463
$dsn_to_message = {
'X.1.0' => 'Other address status',
'X.1.1' => 'Bad destination mailbox address',