Prev | Current Page 1251 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

A 5 means delivery failed (permanently).
category
Success or failure can be attributed to several reasons. For example, if this category is a
1, it means the reason refers to an address. If it is a 4, it means the reason refers to the
network. Other categories are described in RFC1893.
detail
The detail further illuminates the category. For example, a category 1 address
(problem) can additionally be specified as a detail of 1 (no suchmailbox), or 4 (ambiguous
address).
The $@ part of the error delivery agent declaration specifies a DSN code that is appropriate
for the error:
R... $#error $@ success.category.detail $: text of error message here
The sendmail program sets its exit(2) value according to the success.category.detail specified.
Table 20-4 shows the relationship between those DSN codes on the left and Unix
exit(2) values on the right. Note that the exit values are defined in , and note
that success codes of 2 and 4 completely ignore any category and detail that might be
present (that is, 2.anything.anything marks successful delivery, and 4.anything.anything
marks a temporary failure). If $@ lists a code that is not in the table, the default exit value is
EX_CONFIG. To illustrate, observe that 5.7.1 (see RFC1893) will exit withEX_
DATAERR because it corresponds to the *.7.* in the table.
Table 20-4.


Pages:
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
Meble Gabi bentosowym.waw.pl aquilamed dobrzybukmacherzy.info ogrzewanie lubuskie