Lines Matching refs:EXTERN
25 # define EXTERN macro
27 # define EXTERN extern macro
596 EXTERN MAILER *FileMailer; /* ptr to *file* mailer */
597 EXTERN MAILER *InclMailer; /* ptr to *include* mailer */
598 EXTERN MAILER *LocalMailer; /* ptr to local mailer */
599 EXTERN MAILER *ProgMailer; /* ptr to program mailer */
601 EXTERN MAILER *Mailer[MAXMAILERS * 2 + 1];
603 EXTERN MAILER *Mailer[MAXMAILERS + 1];
744 EXTERN char *AuthMechanisms; /* AUTH mechanisms */
745 EXTERN char *AuthRealm; /* AUTH realm */
746 EXTERN char *SASLInfo; /* file with AUTH info */
747 EXTERN int SASLOpts; /* options for SASL */
748 EXTERN int MaxSLBits; /* max. encryption bits for SASL */
761 EXTERN MACROS_T GlobalMacros;
893 EXTERN int MaxMciCache; /* maximum entries in MCI cache */
894 EXTERN time_t MciCacheTimeout; /* maximum idle time on connections */
895 EXTERN time_t MciInfoTimeout; /* how long 'til we retry down hosts */
1166 EXTERN int NumPriorities; /* pointer into Priorities */
1167 EXTERN struct priority Priorities[MAXPRIORITIES];
1758 EXTERN bool LocalDaemon;
1760 EXTERN bool V6LoopbackAddrFound; /* found an IPv6 loopback address */
1865 EXTERN unsigned long PrivacyFlags; /* privacy flags */
1975 EXTERN struct milter *InputFilters[MAXFILTERS];
1976 EXTERN char *InputFilterList;
1977 EXTERN int MilterLogLevel;
2126 EXTERN int volatile CurRunners; /* current number of runner children */
2127 EXTERN int MaxQueueRun; /* maximum number of jobs in one queue run */
2128 EXTERN int MaxQueueChildren; /* max # of forked queue children */
2129 EXTERN int MaxRunnersPerQueue; /* max # proc's active in queue group */
2130 EXTERN int NiceQueueRun; /* nice queue runs to this value */
2131 EXTERN int NumQueue; /* number of queue groups */
2132 EXTERN int QueueFileMode; /* mode on files in mail queue */
2133 EXTERN int QueueMode; /* which queue items to act upon */
2134 EXTERN int QueueSortOrder; /* queue sorting order algorithm */
2135 EXTERN time_t MinQueueAge; /* min delivery interval */
2136 EXTERN time_t MaxQueueAge; /* max delivery interval */
2137 EXTERN time_t QueueIntvl; /* intervals between running the queue */
2138 EXTERN char *QueueDir; /* location of queue directory */
2139 EXTERN QUEUE_CHAR *QueueLimitId; /* limit queue run to id */
2140 EXTERN QUEUE_CHAR *QueueLimitQuarantine; /* limit queue run to quarantine reason */
2141 EXTERN QUEUE_CHAR *QueueLimitRecipient; /* limit queue run to rcpt */
2142 EXTERN QUEUE_CHAR *QueueLimitSender; /* limit queue run to sender */
2143 EXTERN QUEUEGRP *Queue[MAXQUEUEGROUPS + 1]; /* queue groups */
2145 EXTERN int BounceQueue;
2183 EXTERN struct
2348 EXTERN bool AddBcc;
2351 EXTERN bool AddrTypeModes; /* addr_type: extra "mode" information */
2353 EXTERN bool AllowBogusHELO; /* allow syntax errors on HELO command */
2354 EXTERN bool CheckAliases; /* parse addresses during newaliases */
2356 EXTERN int CheckQueueRunners; /* check whether queue runners are OK */
2358 EXTERN bool ColonOkInAddr; /* single colon legal in address */
2360 EXTERN bool ConfigFileRead; /* configuration file has been read */
2362 EXTERN bool DisConnected; /* running with OutChannel redirect to transcript file */
2363 EXTERN bool DontExpandCnames; /* do not $[...$] expand CNAMEs */
2364 EXTERN bool DontInitGroups; /* avoid initgroups() because of NIS cost */
2365 EXTERN bool DontLockReadFiles; /* don't read lock support files */
2366 EXTERN bool DontPruneRoutes; /* don't prune source routes */
2367 EXTERN bool ForkQueueRuns; /* fork for each job when running the queue */
2368 EXTERN bool FromFlag; /* if set, "From" person is explicit */
2369 EXTERN bool FipsMode;
2370 EXTERN bool GrabTo; /* if set, get recipients from msg */
2372 EXTERN bool EightBitAddrOK; /* we'll let 8-bit addresses through */
2376 EXTERN bool HasEightBits; /* has at least one eight bit input byte */
2377 EXTERN bool HasWildcardMX; /* don't use MX records when canonifying */
2378 EXTERN bool HoldErrs; /* only output errors to transcript */
2379 EXTERN bool IgnoreHostStatus; /* ignore long term host status files */
2380 EXTERN bool IgnrDot; /* don't let dot end messages */
2382 EXTERN bool KeepBcc;
2386 EXTERN bool LogUsrErrs; /* syslog user errors (e.g., SMTP RCPT cmd) */
2387 EXTERN bool MatchGecos; /* look for user names in gecos field */
2388 EXTERN bool MeToo; /* send to the sender also */
2389 EXTERN bool NoAlias; /* suppress aliasing */
2390 EXTERN bool NoConnect; /* don't connect to non-local mailers */
2391 EXTERN bool OnlyOneError; /* .... or only want to give one SMTP reply */
2392 EXTERN bool QuickAbort; /* .... but only if we want a quick abort */
2394 EXTERN bool RejectNUL; /* reject NUL input byte? */
2397 EXTERN bool RequiresDirfsync; /* requires fsync() for directory */
2399 EXTERN bool volatile RestartWorkGroup; /* daemon needs to restart some work groups */
2400 EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */
2401 EXTERN bool SaveFrom; /* save leading "From" lines */
2402 EXTERN bool SendMIMEErrors; /* send error messages in MIME format */
2403 EXTERN bool SevenBitInput; /* force 7-bit data on input */
2404 EXTERN bool SingleLineFromHeader; /* force From: header to be one line */
2405 EXTERN bool SingleThreadDelivery; /* single thread hosts on delivery */
2406 EXTERN bool SoftBounce; /* replace 5xy by 4xy (for testing) */
2407 EXTERN bool volatile StopRequest; /* stop sending output */
2408 EXTERN bool SuprErrs; /* set if we are suppressing errors */
2409 EXTERN bool TryNullMXList; /* if we are the best MX, try host directly */
2410 EXTERN bool UseMSP; /* mail submission: group writable queue ok? */
2411 EXTERN bool WorkAroundBrokenAAAA; /* some nameservers return SERVFAIL on AAAA queries */
2412 EXTERN bool UseErrorsTo; /* use Errors-To: header (back compat) */
2413 EXTERN bool UseNameServer; /* using DNS -- interpret h_errno & MX RRs */
2414 EXTERN bool UseCompressedIPv6Addresses; /* for more specific zero-subnet matches */
2415 EXTERN char InetMode; /* default network for daemon mode */
2416 EXTERN char OpMode; /* operation mode, see below */
2417 EXTERN char SpaceSub; /* substitution for <lwsp> */
2419 EXTERN int BadRcptShutdown; /* Shutdown connection for rejected RCPTs */
2420 EXTERN int BadRcptShutdownGood; /* above even when there are good RCPTs */
2422 EXTERN int BadRcptThrottle; /* Throttle rejected RCPTs per SMTP message */
2424 EXTERN unsigned int BadRcptThrottleDelay; /* delay for BadRcptThrottle */
2429 EXTERN bool SetCertAltnames;
2431 EXTERN int CheckpointInterval; /* queue file checkpoint interval */
2432 EXTERN int ConfigLevel; /* config file level */
2433 EXTERN int ConnRateThrottle; /* throttle for SMTP connection rate */
2434 EXTERN int volatile CurChildren; /* current number of daemonic children */
2435 EXTERN int CurrentLA; /* current load average */
2437 EXTERN int Dane; /* DANE */
2439 EXTERN int DefaultNotify; /* default DSN notification flags */
2440 EXTERN int DelayLA; /* load average to delay connections */
2441 EXTERN int DontProbeInterfaces; /* don't probe interfaces for names */
2442 EXTERN int Errors; /* set if errors (local to single pass) */
2443 EXTERN int ExitStat; /* exit status code */
2444 EXTERN int FastSplit; /* fast initial splitting of envelopes */
2445 EXTERN int FileMode; /* mode on files */
2446 EXTERN int LineNumber; /* line number in current input */
2447 EXTERN int LogLevel; /* level of logging to perform */
2448 EXTERN int MaxAliasRecursion; /* maximum depth of alias recursion */
2449 EXTERN int MaxChildren; /* maximum number of daemonic children */
2450 EXTERN int MaxForwardEntries; /* maximum number of forward entries */
2451 EXTERN int MaxHeadersLength; /* max length of headers */
2452 EXTERN int MaxHopCount; /* max # of hops until bounce */
2453 EXTERN int MaxMacroRecursion; /* maximum depth of macro recursion */
2454 EXTERN int MaxMimeFieldLength; /* maximum MIME field length */
2455 EXTERN int MaxMimeHeaderLength; /* maximum MIME header length */
2456 EXTERN int MaxNOOPCommands; /* max "noise" commands before slowdown */
2458 EXTERN int MaxRcptPerMsg; /* max recipients per SMTP message */
2459 EXTERN int MaxRuleRecursion; /* maximum depth of ruleset recursion */
2461 EXTERN char *MessageAccept; /* "Message accepted for delivery" reply text */
2464 EXTERN int MimeMode; /* MIME processing mode */
2465 EXTERN int NoRecipientAction;
2468 EXTERN int Numfilesys; /* number of queue file systems */
2469 EXTERN int *PNumFileSys;
2472 EXTERN int NumFileSys; /* number of queue file systems */
2475 EXTERN int QueueLA; /* load average starting forced queueing */
2476 EXTERN int RefuseLA; /* load average refusing connections */
2477 EXTERN time_t RejectLogInterval; /* time btwn log msgs while refusing */
2479 EXTERN long QueueLowMem; /* low memory starting forced queueing */
2480 EXTERN long RefuseLowMem; /* low memory refusing connections */
2481 EXTERN char *MemoryResource;/* memory resource to look up */
2483 EXTERN int SuperSafe; /* be extra careful, even if expensive */
2484 EXTERN int VendorCode; /* vendor-specific operation enhancements */
2485 EXTERN int Verbose; /* set if blow-by-blow desired */
2486 EXTERN gid_t DefGid; /* default gid to run as */
2487 EXTERN gid_t RealGid; /* real gid of caller */
2488 EXTERN gid_t RunAsGid; /* GID to become for bulk of run */
2489 EXTERN gid_t EffGid; /* effective gid */
2491 EXTERN key_t ShmKey; /* shared memory key */
2492 EXTERN char *ShmKeyFile; /* shared memory key file */
2494 EXTERN pid_t CurrentPid; /* current process id */
2495 EXTERN pid_t DaemonPid; /* process id of daemon */
2496 EXTERN pid_t PidFilePid; /* daemon/queue runner who wrote pid file */
2497 EXTERN uid_t DefUid; /* default uid to run as */
2498 EXTERN uid_t RealUid; /* real uid of caller */
2499 EXTERN uid_t RunAsUid; /* UID to become for bulk of run */
2500 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */
2501 EXTERN size_t DataFileBufferSize; /* size of buf for in-core data file */
2502 EXTERN time_t DeliverByMin; /* deliver by minimum time */
2503 EXTERN time_t DialDelay; /* delay between dial-on-demand tries */
2504 EXTERN time_t SafeAlias; /* interval to wait until @:@ in alias file */
2505 EXTERN time_t ServiceCacheMaxAge; /* refresh interval for cache */
2506 EXTERN size_t XscriptFileBufferSize; /* size of buf for in-core transcript file */
2507 EXTERN MODE_T OldUmask; /* umask when sendmail starts up */
2508 EXTERN long MaxMessageSize; /* advertised max size we will accept */
2509 EXTERN long MinBlocksFree; /* min # of blocks free on queue fs */
2510 EXTERN long QueueFactor; /* slope of queue function */
2511 EXTERN long WkClassFact; /* multiplier for message class -> priority */
2512 EXTERN long WkRecipFact; /* multiplier for # of recipients -> priority */
2513 EXTERN long WkTimeFact; /* priority offset each time this job is run */
2514 EXTERN char *ControlSocketName; /* control socket filename [control.c] */
2515 EXTERN char *CurHostName; /* current host we are dealing with */
2516 EXTERN char *DeadLetterDrop; /* path to dead letter office */
2517 EXTERN char *DefUser; /* default user to run as (from DefUid) */
2518 EXTERN char *DefaultCharSet; /* default character set for MIME */
2519 EXTERN char *DoubleBounceAddr; /* where to send double bounces */
2520 EXTERN char *ErrMsgFile; /* file to prepend to all error messages */
2521 EXTERN char *FallbackMX; /* fall back MX host */
2522 EXTERN char *FallbackSmartHost; /* fall back smart host */
2523 EXTERN char *FileName; /* name to print on error messages */
2524 EXTERN char *ForwardPath; /* path to search for .forward files */
2525 EXTERN char *HeloName; /* hostname to announce in HELO */
2526 EXTERN char *HelpFile; /* location of SMTP help file */
2527 EXTERN char *HostStatDir; /* location of host status information */
2528 EXTERN char *HostsFile; /* path to /etc/hosts file */
2530 EXTERN char *MustQuoteChars; /* quote these characters in phrases */
2531 EXTERN char *MyHostName; /* name of this host for SMTP messages */
2532 EXTERN char *OperatorChars; /* operators (old $o macro) */
2533 EXTERN char *PidFile; /* location of proc id file [conf.c] */
2534 EXTERN char *PostMasterCopy; /* address to get errs cc's */
2535 EXTERN char *ProcTitlePrefix; /* process title prefix */
2536 EXTERN char *RealHostName; /* name of host we are talking to */
2537 EXTERN char *RealUserName; /* real user name of caller */
2538 EXTERN char *volatile RestartRequest;/* a sendmail restart has been requested */
2539 EXTERN char *RunAsUserName; /* user to become for bulk of run */
2540 EXTERN char *SafeFileEnv; /* chroot location for file delivery */
2541 EXTERN char *ServiceSwitchFile; /* backup service switch */
2542 EXTERN char *volatile ShutdownRequest;/* a sendmail shutdown has been requested */
2543 EXTERN bool volatile IntSig;
2544 EXTERN char *SmtpGreeting; /* SMTP greeting message (old $e macro) */
2545 EXTERN char *SmtpPhase; /* current phase in SMTP processing */
2546 EXTERN char SmtpError[MAXLINE]; /* save failure error messages */
2547 EXTERN char *StatFile; /* location of statistics summary */
2548 EXTERN char *TimeZoneSpec; /* override time zone specification */
2549 EXTERN char *UdbSpec; /* user database source spec */
2550 EXTERN char *UnixFromLine; /* UNIX From_ line (old $l macro) */
2551 EXTERN char **ExternalEnviron; /* saved user (input) environment */
2552 EXTERN char **SaveArgv; /* argument vector for re-execing */
2553 EXTERN BITMAP256 DontBlameSendmail; /* DontBlameSendmail bits */
2554 EXTERN SM_FILE_T *InChannel; /* input connection */
2555 EXTERN SM_FILE_T *OutChannel; /* output connection */
2556 EXTERN SM_FILE_T *TrafficLogFile; /* file in which to log all traffic */
2558 EXTERN void *HesiodContext;
2560 EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */
2561 EXTERN char *RuleSetNames[MAXRWSETS]; /* ruleset number to name */
2562 EXTERN char *UserEnviron[MAXUSERENVIRON + 1];
2563 EXTERN struct rewrite *RewriteRules[MAXRWSETS];
2564 EXTERN struct termescape TermEscape; /* terminal escape codes */
2565 EXTERN SOCKADDR ConnectOnlyTo; /* override connection address (for testing) */
2566 EXTERN SOCKADDR RealHostAddr; /* address of host we are talking to */
2570 EXTERN int Hacks; /* bit field of run-time enabled "hacks" */
2577 EXTERN int ConnectionRateWindowSize;
2897 #undef EXTERN