diff options
author | Eric Wong <e@80x24.org> | 2014-04-20 23:27:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-20 23:27:46 +0000 |
commit | 1c910ebd5d088b68fd1cec41285ad62641673845 (patch) | |
tree | 83bf0ec7dbd5488cb4138ac7c9b619fbb60cd5ba /public-inbox-mda | |
parent | 66a26a8c44100fe4be59d82f3600a5c14495d49d (diff) | |
download | public-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 'public-inbox-mda')
-rwxr-xr-x | public-inbox-mda | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public-inbox-mda b/public-inbox-mda index 504fefd7..6c446749 100755 --- a/public-inbox-mda +++ b/public-inbox-mda @@ -25,8 +25,8 @@ $emergency = expand_filename($emergency); my $filter = Email::Filter->new(emergency => $emergency); my $config = PublicInbox::Config->new; -my $recipient = $ENV{RECIPIENT}; -defined $recipient or die "RECIPIENT not defined in ENV\n"; +my $recipient = $ENV{ORIGINAL_RECIPIENT}; +defined $recipient or die "ORIGINAL_RECIPIENT not defined in ENV\n"; my $dst = $config->lookup($recipient); defined $dst or exit(1); my $main_repo = $dst->{mainrepo} or exit(1); |