summaryrefslogtreecommitdiff
path: root/split-mailman-mails-and-discard-and-save
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-05 02:06:13 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-06-05 02:06:13 +0000
commitc564c0764ca1eba3e779113d54d40d5ee98eca24 (patch)
tree062da0aa6d0263765a778f58ead1f9ee8da85852 /split-mailman-mails-and-discard-and-save
parentc6825a090f95530da4ffa9af521d476a2299d891 (diff)
r164@danube: weasel | 2006-06-05 04:06:05 +0200
Send proper email on errors git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@121 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
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