??? Monitor a port for incoming commands, or a database of times. You might use
this to defer delivery for particular recipients during selected windows of time.
??? Check for a particular header that indicates a copy of the message should be
archived. You might use this to add a recipient (if not already present) that
results in archival of the message (such as archiver@archive.host).
Note that because the checkcompat( ) routine is called for every delivery attempt a
cascade of errors can propagate if you are not careful withyour design. Logging a
* Of course, if the archive host supports POSIX threads, these tasks would be better handled by a Milter running
on that host.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
How checkcompat( ) Works | 1249
warning based on the sender, for example, can result in multiple warnings when
there are multiple recipients.
Finally, note that V8.8 and above sendmail also offer a check_compat rule set (see
?§7.1.5 on page 259) that can perform some of the checkcompat( ) routine??™s functionality
at the rule set level. This is one way to avoid having to program in the C
language.
How checkcompat( ) Works
When sendmail prepares to deliver mail, it first checks the size of the mail message
and rejects (bounces) it if it is larger than the limit imposed by the M= delivery agent
equate (?§20.
Pages:
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242