Halon Scripting Language
  • 1. About
  • 2. Introduction
  • 3. Data types and literals
  • 4. Operators
  • 5. Control structures
  • 6. Standard library
  • 7. SMTP server
  • 8. SMTP queue
    • 8.1. Pre-delivery
    • 8.2. Post-delivery
  • 9. Integrations
Halon Scripting Language
  • »
  • 8. SMTP queue

8. SMTP queue

The smtpd process implements the pre- and post-delivery contexts. These contexts operates on a message in queue. A message in queue is not directly bound to an inbound SMTP connection, hence its delivery is not done inline.

,-------> queue
|           |                     <-- Pre-delivery context
|   delivery attempt
|           |                     <-- Post-delivery context
\__________/ \______ done
  • 8.1. Pre-delivery
    • 8.1.1. Variables
      • 8.1.1.1. Arguments
        • 8.1.1.1.1. Queue
          • 8.1.1.1.1.1. Plugin
      • 8.1.1.2. Message
        • 8.1.1.2.1. Id
        • 8.1.1.2.2. Address
        • 8.1.1.2.3. File
        • 8.1.1.2.4. DSN
    • 8.1.2. Functions
    • 8.1.3. On script error
    • 8.1.4. On implicit termination
  • 8.2. Post-delivery
    • 8.2.1. Variables
      • 8.2.1.1. Arguments
        • 8.2.1.1.1. Policy
          • 8.2.1.1.1.1. Policies
        • 8.2.1.1.2. Attempt
          • 8.2.1.1.2.1. Result
          • 8.2.1.1.2.2. Error
          • 8.2.1.1.2.3. Connection
            • 8.2.1.1.2.3.1. TLS
              • 8.2.1.1.2.3.1.1. Peercert
              • 8.2.1.1.2.3.1.2. TLSA
                • 8.2.1.1.2.3.1.2.1. Records
          • 8.2.1.1.2.4. Plugin
        • 8.2.1.1.3. DSN
        • 8.2.1.1.4. Queue
          • 8.2.1.1.4.1. Plugin
      • 8.2.1.2. Message
        • 8.2.1.2.1. Id
        • 8.2.1.2.2. Address
        • 8.2.1.2.3. File
        • 8.2.1.2.4. DSN
    • 8.2.2. Functions
    • 8.2.3. On script error
    • 8.2.4. On implicit termination
    • 8.2.5. References
      • 8.2.5.1. SMTP states
Previous Next

© Copyright Halon Security AB.

Built with Sphinx using a theme provided by Read the Docs.