1N/A * Copyright (c) 2001 Sendmail, Inc. and its suppliers. 1N/A * All rights reserved. 1N/A * By using this file, you agree to the terms and conditions set 1N/A * forth in the LICENSE file which can be found at the top level of 1N/A * the sendmail distribution. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A** SM_STREXIT -- convert EX_* value from <sm/sysexits.h> to a character string 1N/A** This function is analogous to strerror(), except that it 1N/A** pointer to a static message string 1N/A** SM_SYSEXITMSG -- convert an EX_* value to a character string, or NULL 1N/A** If ex is a known exit value, then a pointer to a static 1N/A** message string is returned. Otherwise NULL is returned. 1N/A** SM_SYSEXMSG -- convert an EX_* value to a character string, or NULL 1N/A** If ex is a known exit value, then a pointer to a static 1N/A** string is returned. Otherwise NULL is returned. 1N/A** The string contains the following fixed width fields: 1N/A** [0] ':' if there is an errno value associated with this 1N/A** exit value, otherwise ' '. 1N/A** [1,3] 3 digit SMTP error code 1N/A** [5,9] 3 digit SMTP extended error code 1N/A** [11,] message string 1N/A return " 500 5.0.0 Command line usage error";
1N/A return " 501 5.6.0 Data format error";
1N/A return ":550 5.3.0 Cannot open input";
1N/A return " 550 5.1.1 User unknown";
1N/A return " 550 5.1.2 Host unknown";
1N/A return " 554 5.0.0 Service unavailable";
1N/A return ":554 5.3.0 Internal error";
1N/A return ":451 4.0.0 Operating system error";
1N/A return ":554 5.3.5 System file missing";
1N/A return ":550 5.0.0 Can't create output";
1N/A return ":451 4.0.0 I/O error";
1N/A return " 450 4.0.0 Deferred";
1N/A return " 554 5.5.0 Remote protocol error";
1N/A return ":550 5.0.0 Insufficient permission";
1N/A return " 554 5.3.5 Local configuration error";