Eric Wong <[email protected]> writes: > Leah Neukirchen <[email protected]> wrote: >> Many MTA understand these and map them to sensible SMTP error messages. >> >> Inability to find an inbox results in "5.1.1 user unknown". >> Misformatted messages are rejected with "5.6.0 data format error". >> Unsupported inbox versions are reported as "5.3.5 local configuration error". >> >> All of these are interpreted as permanent failures. > > Resurrecting an ancient topic... > >> diff --git a/script/public-inbox-mda b/script/public-inbox-mda >> index 766d58a..1f1252a 100755 >> --- a/script/public-inbox-mda >> +++ b/script/public-inbox-mda >> @@ -38,8 +38,8 @@ my $config = PublicInbox::Config->new; >> my $recipient = $ENV{ORIGINAL_RECIPIENT}; >> defined $recipient or die "ORIGINAL_RECIPIENT not defined in ENV\n"; > > Btw, our current code still dies if ORIGINAL_RECIPIENT is unset > instead of using a sysexit.h code. > > Should that be changed to EX_USAGE or EX_NOUSER instead of die?
I guess EX_NOUSER is appropriate here. -- Leah Neukirchen <[email protected]> https://leahneukirchen.org
