Prev | Current Page 1255 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

.. $#error $: 450 george doesn't sleep here anymore
If three digits followed by a space are present as a prefix, those digits are used as the
SMTP reply code when sendmail is speaking SMTP. If no digits and space prefix the
text, the default SMTP reply code is 553.
A few SMTP codes that are useful with $: are listed in Table 20-5. The complete list
of all SMTP codes can be found in RFC2821.
Note that you should restrict yourself to the small set of codes that can legally be
returned to the RCPT SMTP command. Also note that any DSN status expression
that is specified in the $@ part must avoid conflicting with the meaning of the SMTP
code. For example, the following construct is wrong and should be avoided:
R... $#error $@ 2.1.1 $: 553 ... ?†? avoid such conflicts
Table 20-5. SMTP codes useful with $:
Code Meaning
421 Service not available (queue the message), and close the connection
450 Service not available (queue the message)
550 General permanent failure (bounce the message)a
a All the 5xy codes generally mean permanent failure for the address.
553 Requested action not taken (bounce the message)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
724 | Chapter 20: The M (Mail Delivery Agent) Configuration Command
Here, the DSN 2.1.1 means that delivery was successful, whereas the SMTP 553
means that delivery failed and the message bounced.


Pages:
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267
Restauracje Warszawa hosting opony goodyear wynajem sal szkoleniowych warszawa wędkarstwo darłowo