Fix exit codes to match sendmail(8)

This should fix issue #301.