about summary refs log tree commit homepage
path: root/t/cgi.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-20 23:27:46 +0000
committerEric Wong <e@80x24.org>2014-04-20 23:27:46 +0000
commit1c910ebd5d088b68fd1cec41285ad62641673845 (patch)
tree83bf0ec7dbd5488cb4138ac7c9b619fbb60cd5ba /t/cgi.t
parent66a26a8c44100fe4be59d82f3600a5c14495d49d (diff)
downloadpublic-inbox-1c910ebd5d088b68fd1cec41285ad62641673845.tar.gz
It should be common for a single users to be subscribed to multiple
addresses/lists, so we must use the address before alias expansion.

This partially reverts commit b949afc9edf89dd494cac6255c78b124d58e11a5
Diffstat (limited to 't/cgi.t')
-rw-r--r--t/cgi.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cgi.t b/t/cgi.t
index b992af31..f7035228 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -43,7 +43,7 @@ my $failbox = "$home/fail.mbox";
 local $ENV{PI_EMERGENCY} = $failbox;
 {
         local $ENV{HOME} = $home;
-        local $ENV{RECIPIENT} = $addr;
+        local $ENV{ORIGINAL_RECIPIENT} = $addr;
 
         # ensure successful message delivery
         {
@@ -145,7 +145,7 @@ EOF
 
         {
                 local $ENV{HOME} = $home;
-                local $ENV{RECIPIENT} = $addr;
+                local $ENV{ORIGINAL_RECIPIENT} = $addr;
                 run_with_env({PATH => $main_path}, [$mda], \$in);
         }
         local $ENV{GIT_DIR} = $maindir;