Полезная информация

sendmail

sendmailSearch this book
Previous: 34.2 Configuration-File OptionsChapter 34
Options
Next: 34.4 Alphabetical Table of All Options
 

34.3 Configuring with V8 m4 Options

In creating a configuration file with the V8 m4 method (see Chapter 19, V8 m4 Configuration), every option can be tuned by including appropriate define statements in your .mc file:

define(`option',`value')            <- enclose in opposing half-quotes
define(`confAUTO_REBUILD',`True')   <- for example

The option is selected from one of the m4 option names shown in the leftmost column of Table 34.3. The value is an appropriate value for that option, as described in the reference section of this chapter. Note that the option and the value should each be enclosed in opposing half-quotes to prevent m4 from wrongly recognizing either as a keyword or macro. The leftmost half-quote is the reverse apostrophe, and the rightmost is the normal apostrophe.

Table 34.3: All V8 m4 Options Ordered by m4 Name
V8 m4 Option NameOption Name
ALIAS_FILEAliasFile (A)Section 34.8.1, AliasFile (A)
confALIAS_WAITAliasWait (a)Section 34.8.2, AliasWait (a)
confAUTO_REBUILDAutoRebuildAliases (D)Section 34.8.4, AutoRebuildAliases (D)
confBIND_OPTSResolverOptions (I)Section 34.8.55, ResolverOptions (I)
confBLANK_SUBBlankSub (B)Section 34.8.5, BlankSub (B)
confCHECKPOINT_INTERVALCheckpointInterval (C)Section 34.8.7
confCHECK_ALIASESCheckAliases (n)Section 34.8.6, CheckAliases (n)
confCOLON_OK_IN_ADDRColonOkInAddrSection 34.8.9
confCON_EXPENSIVEHoldExpensive (c)Section 34.8.29, HoldExpensive (c)
confTO_HOSTSTATUSTimeout.hoststatusSection 34.8.70.8, "Timeout.hoststatus"
confCOPY_ERRORS_TOPostmasterCopy (P)Section 34.8.46, PostmasterCopy (P)
confMAX_DAEMON_CHILDRENMaxDaemonChildrenSection 34.8.35
confDAEMON_OPTIONSDaemonPortOptions (O)Section 34.8.13, DaemonPortOptions (O)
confDEF_GROUP_ID (g)Section 34.8.15, DefaultUser (g)(u)
confDEF_USER_IDDefaultUser (u)Section 34.8.15
confDELIVERY_MODEDeliveryMode (d)Section 34.8.16
confDONT_EXPAND_CNAMESDontExpandCnamesSection 34.8.18, DontExpandCnames
confDONT_PRUNE_ROUTESDontPruneRoutes (R)Section 34.8.20, DontPruneRoutes (R)
confEIGHT_BIT_HANDLINGEightBitMode (8)Section 34.8.22
confERROR_MODEErrorMode (e)Section 34.8.24
confERROR_MESSAGEErrorHeader (E)Section 34.8.23, ErrorHeader (E)
confFALLBACK_MXFallbackMXhost (V)Section 34.8.25, FallbackMXhost (V)
confFORWARD_PATHForwardPath (J)Section 34.8.27, ForwardPath (J)
confFROM_LINEUnixFromLine $lSection 34.8.72, UnixFromLine or $l
HELP_FILEHelpFile (H)Section 34.8.28, HelpFile (H)
confHOSTS_FILEHostsFile Section 34.8.30, HostsFile
confHOST_STATUS_DIRECTORYHostStatusDirectorySection 34.8.31, HostStatusDirectory
confIGNORE_DOTSIgnoreDots (i)Section 34.8.32
confLOG_LEVELLogLevel (L)Section 34.8.33
confMATCH_GECOSMatchGECOS (G)Section 34.8.34, MatchGECOS (G)
confMAX_HOPMaxHopCount (h)Section 34.8.36, MaxHopCount (h)
confMAX_MESSAGE_SIZEMaxMessageSize Section 34.8.37, MaxMessageSize
confMAX_QUEUE_RUN_SIZEMaxQueueRunSizeSection 34.8.38
confMCI_CACHE_SIZEConnectionCacheSize (k)Section 34.8.10, ConnectionCacheSize (k)
confMCI_CACHE_TIMEOUTConnectionCacheTimeout (K)Section 34.8.11, ConnectionCacheTimeout (K)
confMESSAGE_TIMEOUTQueueTimeout (T)Section 34.8.52, QueueTimeout (T)
confME_TOOMeToo (m)Section 34.8.39
confMIME_FORMAT_ERRORSSendMimeErrors (j)Section 34.8.60
confMIN_FREE_BLOCKSMinFreeBlocks (b)Section 34.8.40
confNO_RCPT_ACTIONNoRecipientAction Section 34.8.43
confOLD_STYLE_HEADERSOldStyleHeaders (o)Section 34.8.44
confOPERATORSOperatorChars Section 34.8.45, OperatorChars or $o
confPRIVACY_FLAGSPrivacyOptions (p)Section 34.8.47
QUEUE_DIRQueueDirectory (Q)Section 34.8.48, QueueDirectory (Q)
confQUEUE_FACTORQueueFactor (q)Section 34.8.49, QueueFactor (q)
confQUEUE_LAQueueLA (x)Section 34.8.50, QueueLA (x)
confQUEUE_SORT_ORDERQueueSortOrder Section 34.8.51
confREAD_TIMEOUTTimeout (r)Section 34.8.70, Timeout (r)
confREFUSE_LARefuseLA (X)Section 34.8.54, RefuseLA (X)
confSAFE_FILE_ENVSafeFileEnvironment Section 34.8.58, SafeFileEnvironment
confSAFE_QUEUESuperSafe (s)Section 34.8.67
confSAVE_FROM_LINESSaveFromLine (f)Section 34.8.59, SaveFromLine (f)
confSEPARATE_PROCForkEachJob (Y)Section 34.8.26, ForkEachJob (Y)
confSEVEN_BIT_INPUTSevenBitInput (7)Section 34.8.62
confSINGLE_THREAD_DELIVERYSingleThreadDeliverySection 34.8.64
confSMTP_LOGIN_MSGSmtpGreetingMessage $eSection 34.8.65, SmtpGreetingMessage or $e
STATUS_FILEStatusFile (S)Section 34.8.66, StatusFile (S)
confTEMP_FILE_MODETempFileMode (F)Section 34.8.68, TempFileMode (F)
confTIME_ZONETimeZoneSpec (t)Section 34.8.69, TimeZoneSpec (t)
confTO_COMMANDTimeout.commandSection 34.8.70.1, "Timeout.command"
confTO_CONNECTTimeout.connectSection 34.8.70.2, "Timeout.connect"
confTO_DATABLOCKTimeout.datablockSection 34.8.70.3, "Timeout.datablock"
confTO_DATAFINALTimeout.datafinalSection 34.8.70.4, "Timeout.datafinal"
confTO_DATAINITTimeout.datainitSection 34.8.70.5, "Timeout.datainit"
confTO_FILEOPENTimeout.fileopenSection 34.8.70.6, "Timeout.fileopen"
confTO_HELOTimeout.heloSection 34.8.70.7, "Timeout.helo"
confTO_HOSTSTATUSTimeout.hoststatusSection 34.8.70.8
confTO_ICONNECTTimeout.iconnectSection 34.8.70.9, "Timeout.iconnect"
confTO_IDENTTimeout.identSection 34.8.70.10, "Timeout.ident"
confTO_INITIALTimeout.initialSection 34.8.70.11, "Timeout.initial"
confTO_MAILTimeout.mailSection 34.8.70.12, "Timeout.mail"
confTO_MISCTimeout.miscSection 34.8.70.13, "Timeout.misc"
confTO_QUITTimeout.quitSection 34.8.70.16, "Timeout.quit"
confTO_QUEUERETURNTimeout.queuereturnSection 34.8.70.14, "Timeout.queuereturn"
confTO_QUEUERETURN_NONURGENTTimeout.queuereturn.non-urgentSection 34.8.70.14
confTO_QUEUERETURN_NORMALTimeout.queuereturn.normalSection 34.8.70.14
confTO_QUEUERETURN_URGENTTimeout.queuereturn.urgentSection 34.8.70.14
confTO_QUEUEWARNTimeout.queuewarnSection 34.8.70.15, "Timeout.queuewarn"
confTO_QUEUEWARN_NONURGENTTimeout.queuewarn.non-urgentSection 34.8.70.15
confTO_QUEUEWARN_NORMALTimeout.queuewarn.normalSection 34.8.70.15
confTO_QUEUEWARN_URGENTTimeout.queuewarn.urgentSection 34.8.70.15
confTO_RCPTTimeout.rcptSection 34.8.70.17, "Timeout.rcpt"
confTO_RSETTimeout.rsetSection 34.8.70.18, "Timeout.rset"
confTRY_NULL_MX_LISTTryNullMXList (w)Section 34.8.71, TryNullMXList (w)
confUNSAFE_GROUP_WRITESUnsafeGroupWrites Section 34.8.73, UnsafeGroupWrites
confUSERDB_SPECUserDatabaseSpec (U)Section 34.8.75, UserDatabaseSpec (U)
confUSE_ERRORS_TOUseErrorsTo (l)Section 34.8.74
confWORK_CLASS_FACTORClassFactor (z)Section 34.8.8, ClassFactor (z)
confWORK_RECIPIENT_FACTORRecipientFactor (y)Section 34.8.53, RecipientFactor (y)
confWORK_TIME_FACTORRetryFactor (Z)Section 34.8.56, RetryFactor (Z)


Previous: 34.2 Configuration-File OptionssendmailNext: 34.4 Alphabetical Table of All Options
34.2 Configuration-File OptionsBook Index34.4 Alphabetical Table of All Options