diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-10-01 11:03:52 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-10-01 11:03:52 +0100 |
commit | be96333dafd0fa0623ca4495237c8c6fa5457c14 (patch) | |
tree | 6a0dbc34767db4a49ea9231738fe17dd1df6934a /script/handle-mail-replies.rb | |
parent | 3cfa6c4d1c4ae6ba5e3f22ff8757d1ec9dcd8b68 (diff) | |
parent | 6ee1e8d0a4a8cfe02797c1a853bf27af2610ad27 (diff) |
Merge remote-tracking branch 'openaustralia_github/configuration_refactor' into develop
Conflicts:
config/general.yml-example
Diffstat (limited to 'script/handle-mail-replies.rb')
-rwxr-xr-x | script/handle-mail-replies.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/handle-mail-replies.rb b/script/handle-mail-replies.rb index eba6f44cf..b227864b5 100755 --- a/script/handle-mail-replies.rb +++ b/script/handle-mail-replies.rb @@ -158,8 +158,7 @@ def is_oof?(message) end def forward_on(raw_message) - forward_non_bounces_to = MySociety::Config.get("FORWARD_NONBOUNCE_RESPONSES_TO", "user-support@localhost") - IO.popen("/usr/sbin/sendmail -i #{forward_non_bounces_to}", "w") do |f| + IO.popen("/usr/sbin/sendmail -i #{Configuration::forward_nonbounce_responses_to}", "w") do |f| f.write(raw_message); f.close; end |