Note that if you declare both the delay_checks and
FEATURE(conncontrol), FEATURE(delay_checks) must appear first in your mc file.
17.8.13.2 Terminate connections with 421
Normally, FEATURE(conncontrol) rejects connections with a temporary error:
452 Too many open connections
If the connecting client terminates the connection by sending an SMTP QUIT, connection
control terminates as you would expect. But if the client chooses to ignore that return
value, the client will be given 4yz SMTP (temporary rejection) replies to all commands it
sends until it sends an SMTP QUIT command. Clearly this may not be acceptable at your
site. If you want the connection terminated without regard to the connecting client??™s
behavior, you may do so by adding a second argument to this FEATURE(conncontrol):
FEATURE(`conncontrol??, `nodelay??, `terminate??)
FEATURE(`conncontrol??, ,`terminate??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
17.8 Configuration File Feature Reference | 621
Here, the terminate is literal and, when present, causes all rejected connections to be
rejected witha 421 return code. Note that 421 is special, because it allows sendmail to
terminate the connection without waiting for the client to send a QUIT. If you omit the
nodelay first argument, you need to use two commas (as in the second example shown
earlier) to make terminate the second argument.
Pages:
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093