Headers and Environment Variables

Under Construction :-)

  1. Headers Added by DSMTP
  2. Headers Added by DPOP
  3. Headers Added by DList
  4. Headers Added by DRespond
  5. Environment Variables
  1. Headers Added by DSMTP

    X-Rcpt-To: <destination_address_given_in_envelope>
    Received: from domain ([ipaddress]) by this_server ; Fri, 20 Aug 1999 10:49:19 +1200

    The following headers are only added if they don't exist already,
    Return-Path: senders_address_from_envelope(MAIL FROM:)
    Date: ddd, dd mmm yyy hh:mm:ss +/-timezone (
    timezone can be set in dmail.conf)
    Message-Id: <id@this_server>


  2. Headers Added by DPOP

    X-DPOP: DPOP Version x.xx (can be hidden with x-dpop_header_hide true)
    Status: U, R, RO (only if it does not already exist)


  3. Headers Added by DList

    X-Mailing-List: list_address
    X-listMember: address_of_poster [list_alias_used]


  4. Headers Added by DRespond (auto-responder)

    X-Autoresponder: Drespond


  5. Environment Variables

    DSMTP sets the following environment variables for any robot that it spawns.

    HOME- users nominal home directory,
    USER - username DSMTP had to lookup in user database
    MAILFROM - Raw SMTP envelope parameter for the MAIL FROM: line
    RCPTTO - Raw SMTP envelope parameter for the RCPT TO: line
    MSGSIZE - size of message(headers and body) in bytes written to drop file