Pitfalls

  • Some compile-time macros are intended for specific problems with certain versions of Unix. If you mistakenly define one such compile-time macro for the wrong version of Unix, sendmail can mysteriously fail, crash, or dump core. Pay attention to the compile-time macros marked with port in the prior table and following reference. They are strictly meant for specific versions of Unix and should not be used without expert internal knowledge of the sendmail program.

  • Not all compile-time macros are reported with the -d0.1 or -d0.10 debugging command-line switches. If your sendmail was supplied precompiled by the vendor, do not assume everything you want defined was defined. Check with your vendor or consider building your own sendmail instead.

  • Compile-time macros that begin with _FFR might become actual compile-time macros in the future. Even though they might seem fully coded, there’s no guaranty they are fully developed and bug-free. You can use such compile-time macros, but you must do so at your own risk.

  • Related macros might not be simple to find. The LDAPMAP and USING_NETSCAPE_LDAP compile-time macros, for example, alphabetize onto different pages of this book. We provide reference to related sections in the description of each, and you are encouraged to read sections of interest fully to avoid missing related compile-time macros.

  • Some macros are tied to options or features. Simply defining a compile-time macro might not be enough to achieve the intended effect. We provide ...

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.