From c564c0764ca1eba3e779113d54d40d5ee98eca24 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 5 Jun 2006 02:06:13 +0000 Subject: 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 --- split-mailman-mails-and-discard-and-save | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3