]> Sergey Matveev's repositories - public-inbox.git/commit
public-inbox-mda: use <sysexits.h> status codes where applicable
authorLeah Neukirchen <leah@vuxu.org>
Tue, 12 Jun 2018 15:36:52 +0000 (17:36 +0200)
committerEric Wong <e@80x24.org>
Tue, 12 Jun 2018 23:07:43 +0000 (23:07 +0000)
commit599bf0b3c198ab207e3c7baacafa513fd0d6393d
treee2ce257c116646085b37347b4c55c744137c8416
parenta2c1d7943f9145dc4b7f84e081b67dc9d0425736
public-inbox-mda: use <sysexits.h> status codes where applicable

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.
script/public-inbox-mda