aboutsummaryrefslogtreecommitdiffstats
path: root/script/mailin
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-07-26 02:39:57 +0200
committerDavid Cabo <david@calibea.com>2011-07-26 02:39:57 +0200
commit058a65ae0d079729b10a2954c472c336dce43245 (patch)
tree91543599b6db6538ceb2cdb36aaa9057ffe066fc /script/mailin
parent1ac1e5df9e1b8e670fbab1d2c65de6ce28232602 (diff)
parent04927e448f99f67bbfde88dd466f03fb23373b28 (diff)
Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeu
Diffstat (limited to 'script/mailin')
-rwxr-xr-xscript/mailin2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin
index 738034c26..733eaff3d 100755
--- a/script/mailin
+++ b/script/mailin
@@ -22,7 +22,7 @@ then
# send error to administators (use mutt for MIME encoding)
SUBJ="Mail import error for $OPTION_DOMAIN"
BODY="There was an error code $ERROR_CODE returned by the RequestMailer.receive command in script/mailin. See attached for details. This might be quite serious, such as the database was down, or might be an email with corrupt headers that Rails is choking on. The email was returned with an exit code 75, which for Exim at least means the MTA will try again later. A well configured installation of this code will separately have had Exim make a backup copy of the email in a separate mailbox, just in case."
- echo "$BODY" | /usr/bin/mutt -s "$SUBJ" -a $OUTPUT -a $INPUT $OPTION_CONTACT_EMAIL
+ echo "$BODY" | /usr/bin/mutt -s "$SUBJ" -a $OUTPUT $INPUT -- $OPTION_CONTACT_EMAIL
# tell exim error was temporary, so try again later (no point bouncing message to authority)
rm -f $OUTPUT