summaryrefslogtreecommitdiff
path: root/split-mailman-mails-and-discard-and-save
diff options
context:
space:
mode:
Diffstat (limited to 'split-mailman-mails-and-discard-and-save')
-rwxr-xr-xsplit-mailman-mails-and-discard-and-save2
1 files changed, 1 insertions, 1 deletions
diff --git a/split-mailman-mails-and-discard-and-save b/split-mailman-mails-and-discard-and-save
index 3478b85..ffb4be4 100755
--- a/split-mailman-mails-and-discard-and-save
+++ b/split-mailman-mails-and-discard-and-save
@@ -90,7 +90,7 @@ def process_mail(filename)
mail_error.header['To'] = ERRORSTO
mail_error.header['Subject'] = "approving #{cookie} failed"
mail_error.body = 'Sorry, this script does not have the admin/moderator password for #{request_address}.'
- store_in_maildir(OUTBOX, mail_request)
+ store_in_maildir(OUTBOX, mail_error)
else
mail_request = RMail::Message.new()
mail_request.header['From'] = FROM