Prev | Current Page 261 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


3.4.51 SFS_TYPE
How to determine free disk space Port, edit sendmail/conf.h
The sendmail program can temporarily fail incoming mail messages if they are too large for
the queueing disk. This ability is enabled by giving a positive, nonzero size to the
MinFreeBlocks option (?§24.9.76.5 on page 1055). The method sendmail uses to measure the
free space on a disk varies from system to system. This SFS_TYPE compile-time macro
defines which of several methods sendmail will use. Those available are shown in
Table 3-11.
In general, SFS_TYPE is correctly defined for all supported systems. You should need to
modify it only if you are porting to a new system. To do so, you will need to edit sendmail/
conf.h (include/sm/conf.h beginning with V8.12).
You can use the -d4.80 debugging switch(?§15.7.10 on page 547) to watch sendmail check
for enough disk space. The only way to tell whether a precompiled version of sendmail has
this ability is by setting the MinFreeBlocks option to a positive value and watching the -d4.80
output. If bavail= in that output is always -1, no matter what, your support was defined as
SFS_NONE.
New ports should be reported to sendmail@sendmail.org so that they can be folded into
future releases.
Table 3-11. Method to determine free disk space
Compile-time
macro Description
SFS_NONE Your system has no way to determine the free space on a disk.


Pages:
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273