1This is mailfromd.info, produced by makeinfo version 6.7 from 2mailfromd.texi. 3 4Published by the Free Software Foundation, 51 Franklin Street, Fifth 5Floor, Boston, MA 02110-1301 USA 6 7 Copyright (C) 2005-2021 Sergey Poznyakoff 8 9 Permission is granted to copy, distribute and/or modify this document 10under the terms of the GNU Free Documentation License, Version 1.3 or 11any later version published by the Free Software Foundation; with no 12Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A 13copy of the license is included in the section entitled "GNU Free 14Documentation License". 15INFO-DIR-SECTION Email 16START-INFO-DIR-ENTRY 17* Mailfromd: (mailfromd). General-purpose mail-filtering software. 18* mailfromd: (mailfromd) Invocation. Mail Filtering and Real-time Modification daemon. 19* calloutd: (mailfromd) calloutd. A Stand-Alone Callout Daemon. 20* mfdbtool: (mailfromd) mfdbtool. Database Management Tool. 21* mtasim: (mailfromd) mtasim. MTA simulator. 22* pmult: (mailfromd) pmult. Pmilter multiplexer program. 23END-INFO-DIR-ENTRY 24 25 26 27 28 29 30 31 32 33 34 35 Dedico aquest treball a Lluis Llach, per obrir els nous horitzons. 36 37 38 39 40Indirect: 41mailfromd.info-1: 1165 42mailfromd.info-2: 301466 43mailfromd.info-3: 601487 44 45Tag Table: 46(Indirect) 47Node: Top1165 48Node: Preface9604 49Node: History11188 50Ref: History-Footnote-116876 51Node: Acknowledgments16920 52Node: Intro19064 53Ref: Intro-Footnote-121280 54Ref: Intro-Footnote-221318 55Ref: Intro-Footnote-321353 56Node: Conventions21390 57Node: Overview22615 58Node: SAV23323 59Ref: standard verification24220 60Node: Limitations27538 61Node: Rate Limit29633 62Node: SPF30113 63Node: Building31123 64Ref: DBM32041 65Ref: default user privileges34184 66Ref: statedir36675 67Ref: syslog-async38664 68Node: Tutorial42076 69Node: Start Up43122 70Ref: handler names45272 71Ref: milter-control-flow46075 72Node: Simplest Configurations47683 73Node: Conditional Execution50482 74Node: Functions and Modules52783 75Ref: funcall53401 76Node: Domain Name System55320 77Node: Checking Sender Address56357 78Ref: Checking Sender Address-Footnote-158817 79Node: SMTP Timeouts58919 80Ref: callout server60355 81Node: Avoiding Verification Loops62540 82Ref: Avoiding Verification Loops-Footnote-165765 83Ref: Avoiding Verification Loops-Footnote-265846 84Node: HELO Domain65864 85Node: rset68925 86Node: Controlling Number of Recipients70232 87Ref: Controlling Number of Recipients-Footnote-173631 88Node: Sending Rate73721 89Ref: TBF77333 90Node: Greylisting80281 91Ref: greylisting types83398 92Ref: whitelisting84771 93Node: Local Account Verification85846 94Node: Databases88479 95Node: Database Formats90288 96Ref: cache expiration91123 97Node: Basic Database Operations92623 98Ref: --list option92917 99Ref: estimated time of sending94067 100Ref: deleting from databases94838 101Node: Database Maintenance95018 102Ref: compaction96137 103Ref: compact cronjob96803 104Node: Testing Filter Scripts97065 105Ref: test mode99439 106Ref: overriding initial values100033 107Node: Run Mode102059 108Node: top-block104109 109Node: getopt106398 110Ref: vaptr113323 111Ref: getopt-Footnote-1114539 112Node: Logging and Debugging114630 113Ref: syslog tag117043 114Ref: Message-ID118258 115Ref: debugging level specification119325 116Ref: SMTP transcript124701 117Node: Runtime errors125620 118Ref: uncaught exceptions129272 119Ref: tracing runtime errors130938 120Node: Notes133311 121Ref: variable--constant clashes134656 122Node: MFL135587 123Ref: MFL-Footnote-1137202 124Node: Comments137348 125Ref: include138031 126Ref: include search path138343 127Ref: include_once139353 128Ref: line139834 129Node: Pragmas140148 130Node: prereq140834 131Node: stacksize141350 132Ref: unit-size142131 133Ref: automatic stack resizing142688 134Node: regex144719 135Ref: pragma regex144843 136Node: dbprop147046 137Node: greylist147331 138Node: miltermacros148067 139Node: provide-callout149369 140Node: Data Types149667 141Node: Numbers150377 142Node: Literals150828 143Ref: Double-quoted strings151365 144Ref: backslash-interpretation151779 145Ref: singe-vs-double153758 146Ref: Literals-Footnote-1154171 147Ref: Literals-Footnote-2154845 148Node: Here Documents154947 149Node: Sendmail Macros157019 150Node: Constants157882 151Node: Built-in constants160483 152Node: Variables163915 153Ref: variable scope164272 154Node: Predefined variables168481 155Ref: cache_used example169024 156Ref: ehlo_domain170095 157Ref: mailfrom_address171700 158Node: Back references173238 159Ref: Back references-Footnote-1174597 160Node: Handlers174699 161Ref: connect handler175548 162Ref: hostname in connect handler175762 163Ref: socket-families176277 164Ref: body handler182842 165Ref: eom handler184634 166Ref: handler-arguments185141 167Node: begin/end186107 168Node: Functions189243 169Ref: User-defined190678 170Ref: function scope of visibility191366 171Ref: variadic functions194206 172Ref: sum--example195785 173Ref: function alias196479 174Node: Some Useful Functions197950 175Ref: Some Useful Functions-Footnote-1201039 176Node: Expressions201209 177Node: Constant expressions202020 178Node: Function calls202265 179Node: Concatenation202507 180Node: Arithmetic operations202966 181Node: Bitwise shifts203424 182Node: Relational expressions203833 183Ref: table-relational-expr204047 184Node: Special comparisons204713 185Ref: table-special-comp-expr205036 186Ref: mx matches205973 187Node: Boolean expressions207584 188Ref: table boolean-expr207935 189Node: Precedence208439 190Ref: Precedence-Footnote-1210183 191Node: Type casting210667 192Ref: explicit type casts211427 193Node: Shadowing211588 194Ref: variable--constant shadowing215142 195Node: Statements216875 196Node: Actions217336 197Ref: reject218646 198Ref: header manipulation220744 199Node: Assignments221664 200Node: Pass222539 201Node: Echo222921 202Node: Conditionals223410 203Ref: switch224849 204Node: Loops226647 205Node: Exceptions230280 206Ref: status.mf231195 207Node: Built-in Exceptions231369 208Ref: exception names231788 209Node: User-defined Exceptions235491 210Node: Catch and Throw236271 211Ref: throw241149 212Ref: Catch and Throw-Footnote-1241761 213Node: Polling241834 214Ref: figure-poll-wrapper243561 215Ref: figure-stdpoll244479 216Ref: poll245999 217Node: Modules247523 218Node: module structure248160 219Node: scope of visibility249896 220Node: import250815 221Node: Preprocessor253664 222Ref: defined255042 223Ref: Preprocessor-Footnote-1259528 224Ref: Preprocessor-Footnote-2259613 225Node: Filter Script Example259758 226Node: Reserved Words263906 227Node: Library265277 228Node: Macro access266710 229Ref: Macro access-Footnote-1268102 230Node: String transformation268290 231Ref: s-expression268866 232Ref: global replace269779 233Node: String manipulation273274 234Ref: index-built-in274332 235Ref: interval274880 236Ref: rindex276167 237Ref: substr276694 238Ref: substring277174 239Ref: tolower277886 240Ref: toupper278166 241Ref: strip_domain_part280733 242Ref: revip281594 243Node: String formatting282150 244Node: Character Type288385 245Ref: Character Type-Footnote-1290829 246Node: Email processing functions290895 247Node: Envelope modification functions292126 248Node: Header modification functions293221 249Node: Body Modification Functions298406 250Node: Message modification queue301466 251Node: Mail header functions304089 252Ref: Mail header functions-Footnote-1305983 253Node: Mail body functions306063 254Node: EOM Functions306914 255Node: Current Message Functions307604 256Ref: current_message307787 257Node: Mailbox functions309220 258Node: Message functions312672 259Node: Header functions316014 260Ref: message_header_count316475 261Node: Message body functions318095 262Node: MIME functions319693 263Node: Message digest functions320602 264Node: Quarantine functions323877 265Node: SMTP Callout functions324195 266Node: Compatibility Callout functions326825 267Ref: poll-variables-table329564 268Node: Internet address manipulation functions330560 269Node: DNS functions333671 270Node: dns_query334112 271Node: Simplified DNS functions337295 272Ref: primitive_hasmx340495 273Ref: hasmx340732 274Ref: hostname function341639 275Ref: primitive_ismx342162 276Ref: ismx342647 277Node: Geolocation functions347248 278Node: Legacy geoip support351867 279Node: Database functions353866 280Ref: dbmap356275 281Ref: safedb_verbose359633 282Ref: dbm-seq359961 283Ref: relayed362365 284Node: I/O functions362708 285Ref: open363561 286Node: System functions373470 287Ref: strftime375789 288Ref: System functions-Footnote-1378681 289Node: Passwd functions378777 290Node: Sieve Interface380168 291Node: Interfaces to Third-Party Programs384745 292Node: SpamAssassin386417 293Ref: sa386558 294Ref: sa-floating-point-conversion387681 295Node: DSPAM391561 296Ref: dspam probability and confidence394113 297Ref: dspam classify example396495 298Node: flags-dspam397480 299Ref: dspam-modes398090 300Ref: dspam-flags398338 301Ref: dspam-tokenizers398613 302Ref: dspam-training-modes398929 303Node: class-dspam399189 304Ref: dspam-classifications399734 305Ref: dspam-sources400101 306Node: vars-dspam400480 307Node: ClamAV402362 308Node: Rate limiting functions403176 309Ref: Rate limiting functions-Footnote-1405951 310Node: Greylisting functions406070 311Node: Special test functions407369 312Ref: valid_domain408102 313Ref: heloarg_test408441 314Node: Mail Sending Functions410003 315Ref: mailer url410535 316Node: Blacklisting Functions415867 317Ref: match_dnsbl416178 318Ref: match_rhsbl417171 319Node: SPF Functions417927 320Ref: spf-globals424347 321Ref: spf_explanation424479 322Ref: SPF Functions-Footnote-1428395 323Node: DKIM428566 324Ref: MMQ and dkim_sign437623 325Node: Setting up a DKIM record438801 326Ref: Setting up a DKIM record-Footnote-1440436 327Node: Sockmaps440482 328Node: NLS Functions442676 329Node: Syslog Interface448470 330Node: Debugging Functions449897 331Ref: debug_spec451978 332Node: Using MFL Mode455738 333Ref: mfl-basic-offset460179 334Ref: mfl-case-line-offset460515 335Ref: mfl-loop-statement-offset461299 336Ref: mfl-loop-continuation-offset461566 337Ref: Using MFL Mode-Footnote-1461999 338Node: Mailfromd Configuration462171 339Ref: Mailfromd Configuration-Footnote-1465667 340Node: conf-types465834 341Ref: time interval specification466167 342Ref: milter port specification466713 343Node: conf-base467186 344Node: conf-server468624 345Ref: configuring default callout server471481 346Node: conf-milter471841 347Node: conf-debug472557 348Node: conf-timeout474545 349Ref: smtp-timeouts477003 350Node: conf-callout477798 351Node: conf-priv479296 352Node: conf-database480176 353Ref: expire-interval-conf481031 354Node: conf-runtime482563 355Node: conf-mailutils483463 356Node: Invocation484313 357Node: options485317 358Node: Operation Modifiers485617 359Ref: --daemon485761 360Ref: --run485808 361Ref: --show-defaults486017 362Ref: --test486088 363Node: General Settings486260 364Ref: --callout-socket486427 365Ref: --foreground486567 366Ref: --group486744 367Ref: --include486968 368Ref: --mailer487204 369Ref: --mtasim487301 370Ref: --optimize487380 371Ref: --port487567 372Ref: --milter-socket487567 373Ref: --pidfile487778 374Ref: --relayed-domain-file487940 375Ref: option relay487969 376Ref: --resolv-conf-file488287 377Ref: --state-directory488401 378Ref: --source-ip488708 379Ref: --user488909 380Ref: --variable489135 381Node: Preprocessor Options489363 382Ref: --no-preprocessor489659 383Ref: --preprocessor489714 384Ref: --define489820 385Ref: --undefine489925 386Node: Timeout Control490180 387Ref: --milter-timeout490428 388Node: Logging and Debugging Options490652 389Ref: --location-column490855 390Ref: --debug491037 391Ref: --dump-code491125 392Ref: --dump-grammar-trace491293 393Ref: --dump-lex-trace491469 394Ref: --dump-macros491647 395Ref: --dump-tree491888 396Ref: --dump-xref492008 397Ref: --lint492334 398Ref: --single-process492531 399Ref: --stack-trace492757 400Ref: gacopyz-log option493054 401Ref: --gacopyz-log493054 402Ref: --logger494623 403Ref: --log-facility494756 404Ref: --log-tag494820 405Ref: --source-info494921 406Ref: --syntax-check495358 407Ref: --trace495403 408Ref: --trace-program495575 409Ref: --transcript496198 410Ref: --syslog496349 411Ref: --stderr496422 412Ref: --xref496515 413Node: Informational Options496585 414Node: Starting and Stopping496885 415Node: MTA Configuration501788 416Node: Sendmail502110 417Ref: exporting macros503176 418Node: MeTA1506522 419Node: Postfix510436 420Ref: postfix-socket511197 421Node: calloutd513382 422Node: config-calloutd514043 423Node: conf-calloutd-setup517131 424Node: conf-calloutd-server517585 425Node: conf-calloutd-log520112 426Node: invocation-calloutd521074 427Ref: --debug-level523643 428Ref: --config-file524445 429Ref: --config-lint524502 430Ref: --config-verbose524638 431Ref: --no-site-config524713 432Ref: --set524793 433Ref: --config-help524892 434Ref: --show-config-options524947 435Ref: --help525003 436Ref: --usage525047 437Ref: --version525091 438Node: protocol-calloutd525136 439Node: mfdbtool531293 440Node: Invoking mfdbtool531517 441Ref: --list531844 442Ref: --delete532035 443Ref: --expire532291 444Ref: --compact532778 445Ref: --all533278 446Ref: --expire-interval533615 447Ref: --file533968 448Ref: --format534266 449Ref: --ignore-failed-reads534412 450Ref: --predict534616 451Ref: --time-format535118 452Node: Configuring mfdbtool535620 453Node: mtasim536426 454Node: interactive mode537287 455Ref: mtasim milter port539321 456Ref: statedir mtasim option541366 457Ref: D command543509 458Ref: L command543812 459Ref: S command544228 460Ref: interactive mode-Footnote-1546817 461Ref: interactive mode-Footnote-2547008 462Node: expect commands547090 463Node: traces548857 464Node: daemon mode549529 465Node: command summary550185 466Ref: S-command-socket-families551863 467Node: option summary553194 468Node: pmult557311 469Node: pmult configuration559645 470Node: pmult-conf560708 471Node: pmult-macros562013 472Node: pmult-client567638 473Node: pmult-debug570612 474Node: pmult example572882 475Node: pmult invocation574006 476Node: Reporting Bugs575516 477Node: Gacopyz576928 478Node: Time and Date Formats577880 479Ref: %c time format578862 480Ref: %s time format581850 481Ref: conversion specs583990 482Node: Upgrading584656 483Node: 870-880585696 484Ref: 870-880-Footnote-1586093 485Node: 850-860586138 486Node: 820-830586436 487Node: 700-800588279 488Node: 600-700589723 489Node: 5x0-600592473 490Ref: deprecated-6.0593919 491Ref: upgrade procedure595696 492Node: 500-510597812 493Node: 440-500601487 494Node: 43x-440603426 495Node: 420-43x604653 496Node: 410-420605895 497Node: 400-410606719 498Node: 31x-400607646 499Ref: pragma-option-ehlo608537 500Node: 30x-31x610237 501Ref: old-code611404 502Ref: new-code611618 503Node: 2x-30x612282 504Node: 1x-2x612715 505Node: Copying This Manual613989 506Node: Concept Index636402 507 508End Tag Table 509 510 511Local Variables: 512coding: utf-8 513End: 514