Lines Matching refs:EXTERN
25 # define EXTERN macro
27 # define EXTERN extern macro
688 EXTERN MAILER *FileMailer; /* ptr to *file* mailer */
689 EXTERN MAILER *InclMailer; /* ptr to *include* mailer */
690 EXTERN MAILER *LocalMailer; /* ptr to local mailer */
691 EXTERN MAILER *ProgMailer; /* ptr to program mailer */
693 EXTERN MAILER *Mailer[MAXMAILERS * 2 + 1];
695 EXTERN MAILER *Mailer[MAXMAILERS + 1];
839 EXTERN char *AuthMechanisms; /* AUTH mechanisms */
840 EXTERN char *AuthRealm; /* AUTH realm */
841 EXTERN char *SASLInfo; /* file with AUTH info */
842 EXTERN int SASLOpts; /* options for SASL */
843 EXTERN int MaxSLBits; /* max. encryption bits for SASL */
856 EXTERN MACROS_T GlobalMacros;
989 EXTERN int MaxMciCache; /* maximum entries in MCI cache */
990 EXTERN time_t MciCacheTimeout; /* maximum idle time on connections */
991 EXTERN time_t MciInfoTimeout; /* how long 'til we retry down hosts */
1270 EXTERN int NumPriorities; /* pointer into Priorities */
1271 EXTERN struct priority Priorities[MAXPRIORITIES];
1888 EXTERN bool LocalDaemon;
1890 EXTERN bool V6LoopbackAddrFound; /* found an IPv6 loopback address */
2002 EXTERN unsigned long PrivacyFlags; /* privacy flags */
2114 EXTERN struct milter *InputFilters[MAXFILTERS];
2115 EXTERN char *InputFilterList;
2116 EXTERN int MilterLogLevel;
2264 EXTERN int volatile CurRunners; /* current number of runner children */
2265 EXTERN int MaxQueueRun; /* maximum number of jobs in one queue run */
2266 EXTERN int MaxQueueChildren; /* max # of forked queue children */
2267 EXTERN int MaxRunnersPerQueue; /* max # proc's active in queue group */
2268 EXTERN int NiceQueueRun; /* nice queue runs to this value */
2269 EXTERN int NumQueue; /* number of queue groups */
2270 EXTERN int QueueFileMode; /* mode on files in mail queue */
2271 EXTERN int QueueMode; /* which queue items to act upon */
2272 EXTERN int QueueSortOrder; /* queue sorting order algorithm */
2273 EXTERN time_t MinQueueAge; /* min delivery interval */
2274 EXTERN time_t MaxQueueAge; /* max delivery interval */
2275 EXTERN time_t QueueIntvl; /* intervals between running the queue */
2276 EXTERN char *QueueDir; /* location of queue directory */
2277 EXTERN QUEUE_CHAR *QueueLimitId; /* limit queue run to id */
2278 EXTERN QUEUE_CHAR *QueueLimitQuarantine; /* limit queue run to quarantine reason */
2279 EXTERN QUEUE_CHAR *QueueLimitRecipient; /* limit queue run to rcpt */
2280 EXTERN QUEUE_CHAR *QueueLimitSender; /* limit queue run to sender */
2281 EXTERN QUEUEGRP *Queue[MAXQUEUEGROUPS + 1]; /* queue groups */
2283 EXTERN int BounceQueue;
2325 EXTERN struct
2496 EXTERN bool AddBcc;
2499 EXTERN bool AddrTypeModes; /* addr_type: extra "mode" information */
2501 EXTERN bool AllowBogusHELO; /* allow syntax errors on HELO command */
2502 EXTERN bool CheckAliases; /* parse addresses during newaliases */
2504 EXTERN int CheckQueueRunners; /* check whether queue runners are OK */
2506 EXTERN bool ColonOkInAddr; /* single colon legal in address */
2508 EXTERN bool ConfigFileRead; /* configuration file has been read */
2510 EXTERN bool DisConnected; /* running with OutChannel redirect to transcript file */
2511 EXTERN bool DontExpandCnames; /* do not $[...$] expand CNAMEs */
2512 EXTERN bool DontInitGroups; /* avoid initgroups() because of NIS cost */
2513 EXTERN bool DontLockReadFiles; /* don't read lock support files */
2514 EXTERN bool DontPruneRoutes; /* don't prune source routes */
2515 EXTERN bool ForkQueueRuns; /* fork for each job when running the queue */
2516 EXTERN bool FromFlag; /* if set, "From" person is explicit */
2517 EXTERN bool FipsMode;
2518 EXTERN bool GrabTo; /* if set, get recipients from msg */
2520 EXTERN bool EightBitAddrOK; /* we'll let 8-bit addresses through */
2524 EXTERN bool HasEightBits; /* has at least one eight bit input byte */
2525 EXTERN bool HasWildcardMX; /* don't use MX records when canonifying */
2526 EXTERN bool HoldErrs; /* only output errors to transcript */
2527 EXTERN bool IgnoreHostStatus; /* ignore long term host status files */
2528 EXTERN bool IgnrDot; /* don't let dot end messages */
2530 EXTERN bool KeepBcc;
2534 EXTERN bool LogUsrErrs; /* syslog user errors (e.g., SMTP RCPT cmd) */
2535 EXTERN bool MatchGecos; /* look for user names in gecos field */
2536 EXTERN bool MeToo; /* send to the sender also */
2537 EXTERN bool NoAlias; /* suppress aliasing */
2538 EXTERN bool NoConnect; /* don't connect to non-local mailers */
2539 EXTERN bool OnlyOneError; /* .... or only want to give one SMTP reply */
2540 EXTERN bool QuickAbort; /* .... but only if we want a quick abort */
2542 EXTERN bool RejectNUL; /* reject NUL input byte? */
2545 EXTERN bool RequiresDirfsync; /* requires fsync() for directory */
2547 EXTERN bool volatile RestartWorkGroup; /* daemon needs to restart some work groups */
2548 EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */
2549 EXTERN bool SaveFrom; /* save leading "From" lines */
2550 EXTERN bool SendMIMEErrors; /* send error messages in MIME format */
2551 EXTERN bool SevenBitInput; /* force 7-bit data on input */
2552 EXTERN bool SingleLineFromHeader; /* force From: header to be one line */
2553 EXTERN bool SingleThreadDelivery; /* single thread hosts on delivery */
2554 EXTERN bool SoftBounce; /* replace 5xy by 4xy (for testing) */
2555 EXTERN bool volatile StopRequest; /* stop sending output */
2556 EXTERN bool SuprErrs; /* set if we are suppressing errors */
2557 EXTERN bool TryNullMXList; /* if we are the best MX, try host directly */
2558 EXTERN bool UseMSP; /* mail submission: group writable queue ok? */
2559 EXTERN bool WorkAroundBrokenAAAA; /* some nameservers return SERVFAIL on AAAA queries */
2560 EXTERN bool UseErrorsTo; /* use Errors-To: header (back compat) */
2561 EXTERN bool UseNameServer; /* using DNS -- interpret h_errno & MX RRs */
2562 EXTERN bool UseCompressedIPv6Addresses; /* for more specific zero-subnet matches */
2563 EXTERN char InetMode; /* default network for daemon mode */
2564 EXTERN char OpMode; /* operation mode, see below */
2565 EXTERN char SpaceSub; /* substitution for <lwsp> */
2567 EXTERN int BadRcptShutdown; /* Shutdown connection for rejected RCPTs */
2568 EXTERN int BadRcptShutdownGood; /* above even when there are good RCPTs */
2570 EXTERN int BadRcptThrottle; /* Throttle rejected RCPTs per SMTP message */
2572 EXTERN unsigned int BadRcptThrottleDelay; /* delay for BadRcptThrottle */
2577 EXTERN bool SetCertAltnames;
2579 EXTERN int CheckpointInterval; /* queue file checkpoint interval */
2580 EXTERN int ConfigLevel; /* config file level */
2581 EXTERN int ConnRateThrottle; /* throttle for SMTP connection rate */
2582 EXTERN int volatile CurChildren; /* current number of daemonic children */
2583 EXTERN int CurrentLA; /* current load average */
2585 EXTERN int Dane; /* DANE */
2589 EXTERN int DefaultNotify; /* default DSN notification flags */
2590 EXTERN int DelayLA; /* load average to delay connections */
2591 EXTERN int DontProbeInterfaces; /* don't probe interfaces for names */
2592 EXTERN int Errors; /* set if errors (local to single pass) */
2593 EXTERN int ExitStat; /* exit status code */
2594 EXTERN int FastSplit; /* fast initial splitting of envelopes */
2595 EXTERN int FileMode; /* mode on files */
2596 EXTERN int LineNumber; /* line number in current input */
2597 EXTERN int LogLevel; /* level of logging to perform */
2598 EXTERN int MaxAliasRecursion; /* maximum depth of alias recursion */
2599 EXTERN int MaxChildren; /* maximum number of daemonic children */
2600 EXTERN int MaxForwardEntries; /* maximum number of forward entries */
2601 EXTERN int MaxHeadersLength; /* max length of headers */
2602 EXTERN int MaxHopCount; /* max # of hops until bounce */
2603 EXTERN int MaxMacroRecursion; /* maximum depth of macro recursion */
2604 EXTERN int MaxMimeFieldLength; /* maximum MIME field length */
2605 EXTERN int MaxMimeHeaderLength; /* maximum MIME header length */
2606 EXTERN int MaxNOOPCommands; /* max "noise" commands before slowdown */
2608 EXTERN int MaxRcptPerMsg; /* max recipients per SMTP message */
2609 EXTERN int MaxRuleRecursion; /* maximum depth of ruleset recursion */
2611 EXTERN char *MessageAccept; /* "Message accepted for delivery" reply text */
2614 EXTERN int MimeMode; /* MIME processing mode */
2616 EXTERN bool MTASTS;
2617 EXTERN char *STS_SNI;
2619 EXTERN int NoRecipientAction;
2622 EXTERN int Numfilesys; /* number of queue file systems */
2623 EXTERN int *PNumFileSys;
2626 EXTERN int NumFileSys; /* number of queue file systems */
2629 EXTERN int QueueLA; /* load average starting forced queueing */
2630 EXTERN int RefuseLA; /* load average refusing connections */
2631 EXTERN time_t RejectLogInterval; /* time btwn log msgs while refusing */
2633 EXTERN long QueueLowMem; /* low memory starting forced queueing */
2634 EXTERN long RefuseLowMem; /* low memory refusing connections */
2635 EXTERN char *MemoryResource;/* memory resource to look up */
2637 EXTERN int SuperSafe; /* be extra careful, even if expensive */
2639 EXTERN int SMTP_UTF8; /* enable SMTPUTF8 support */
2643 EXTERN int VendorCode; /* vendor-specific operation enhancements */
2644 EXTERN int Verbose; /* set if blow-by-blow desired */
2645 EXTERN gid_t DefGid; /* default gid to run as */
2646 EXTERN gid_t RealGid; /* real gid of caller */
2647 EXTERN gid_t RunAsGid; /* GID to become for bulk of run */
2648 EXTERN gid_t EffGid; /* effective gid */
2650 EXTERN key_t ShmKey; /* shared memory key */
2651 EXTERN char *ShmKeyFile; /* shared memory key file */
2653 EXTERN pid_t CurrentPid; /* current process id */
2654 EXTERN pid_t DaemonPid; /* process id of daemon */
2655 EXTERN pid_t PidFilePid; /* daemon/queue runner who wrote pid file */
2656 EXTERN uid_t DefUid; /* default uid to run as */
2657 EXTERN uid_t RealUid; /* real uid of caller */
2658 EXTERN uid_t RunAsUid; /* UID to become for bulk of run */
2659 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */
2660 EXTERN size_t DataFileBufferSize; /* size of buf for in-core data file */
2661 EXTERN time_t DeliverByMin; /* deliver by minimum time */
2662 EXTERN time_t DialDelay; /* delay between dial-on-demand tries */
2663 EXTERN time_t SafeAlias; /* interval to wait until @:@ in alias file */
2664 EXTERN time_t ServiceCacheMaxAge; /* refresh interval for cache */
2665 EXTERN size_t XscriptFileBufferSize; /* size of buf for in-core transcript file */
2666 EXTERN MODE_T OldUmask; /* umask when sendmail starts up */
2667 EXTERN long MaxMessageSize; /* advertised max size we will accept */
2668 EXTERN long MinBlocksFree; /* min # of blocks free on queue fs */
2669 EXTERN long QueueFactor; /* slope of queue function */
2670 EXTERN long WkClassFact; /* multiplier for message class -> priority */
2671 EXTERN long WkRecipFact; /* multiplier for # of recipients -> priority */
2672 EXTERN long WkTimeFact; /* priority offset each time this job is run */
2673 EXTERN char *ControlSocketName; /* control socket filename [control.c] */
2674 EXTERN char *CurHostName; /* current host we are dealing with */
2675 EXTERN char *DeadLetterDrop; /* path to dead letter office */
2676 EXTERN char *DefUser; /* default user to run as (from DefUid) */
2677 EXTERN char *DefaultCharSet; /* default character set for MIME */
2678 EXTERN char *DoubleBounceAddr; /* where to send double bounces */
2679 EXTERN char *ErrMsgFile; /* file to prepend to all error messages */
2680 EXTERN char *FallbackMX; /* fall back MX host */
2681 EXTERN char *FallbackSmartHost; /* fall back smart host */
2682 EXTERN char *FileName; /* name to print on error messages */
2683 EXTERN char *ForwardPath; /* path to search for .forward files */
2684 EXTERN char *HeloName; /* hostname to announce in HELO */
2685 EXTERN char *HelpFile; /* location of SMTP help file */
2686 EXTERN char *HostStatDir; /* location of host status information */
2687 EXTERN char *HostsFile; /* path to /etc/hosts file */
2689 EXTERN char *MustQuoteChars; /* quote these characters in phrases */
2690 EXTERN char *MyHostName; /* name of this host for SMTP messages */
2691 EXTERN char *OperatorChars; /* operators (old $o macro) */
2692 EXTERN char *PidFile; /* location of proc id file [conf.c] */
2693 EXTERN char *PostMasterCopy; /* address to get errs cc's */
2694 EXTERN char *ProcTitlePrefix; /* process title prefix */
2695 EXTERN char *RealHostName; /* name of host we are talking to */
2696 EXTERN char *RealUserName; /* real user name of caller */
2697 EXTERN char *volatile RestartRequest;/* a sendmail restart has been requested */
2698 EXTERN char *RunAsUserName; /* user to become for bulk of run */
2699 EXTERN char *SafeFileEnv; /* chroot location for file delivery */
2700 EXTERN char *ServiceSwitchFile; /* backup service switch */
2701 EXTERN char *volatile ShutdownRequest;/* a sendmail shutdown has been requested */
2702 EXTERN bool volatile IntSig;
2703 EXTERN char *SmtpGreeting; /* SMTP greeting message (old $e macro) */
2704 EXTERN char *SmtpPhase; /* current phase in SMTP processing */
2705 EXTERN char SmtpError[MAXLINE]; /* save failure error messages */
2706 EXTERN char *StatFile; /* location of statistics summary */
2707 EXTERN char *TimeZoneSpec; /* override time zone specification */
2708 EXTERN char *UdbSpec; /* user database source spec */
2709 EXTERN char *UnixFromLine; /* UNIX From_ line (old $l macro) */
2710 EXTERN char **ExternalEnviron; /* saved user (input) environment */
2711 EXTERN char **SaveArgv; /* argument vector for re-execing */
2712 EXTERN BITMAP256 DontBlameSendmail; /* DontBlameSendmail bits */
2713 EXTERN SM_FILE_T *InChannel; /* input connection */
2714 EXTERN SM_FILE_T *OutChannel; /* output connection */
2715 EXTERN SM_FILE_T *TrafficLogFile; /* file in which to log all traffic */
2717 EXTERN void *HesiodContext;
2719 EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */
2720 EXTERN char *RuleSetNames[MAXRWSETS]; /* ruleset number to name */
2721 EXTERN char *UserEnviron[MAXUSERENVIRON + 1];
2722 EXTERN struct rewrite *RewriteRules[MAXRWSETS];
2723 EXTERN struct termescape TermEscape; /* terminal escape codes */
2724 EXTERN SOCKADDR ConnectOnlyTo; /* override connection address (for testing) */
2725 EXTERN SOCKADDR RealHostAddr; /* address of host we are talking to */
2729 EXTERN int Hacks; /* bit field of run-time enabled "hacks" */
2736 EXTERN int ConnectionRateWindowSize;
3101 #undef EXTERN