Miscellaneous

Intro
Installation
SysAdmin
Objects
Transfer
Access
Directory
Data Files
Clusters
WebMail
Miscellaneous
Licensing
HowTo
  • Return Receipts
  • Address Testing
  • Adding Required Headers
  • Legacy Mail Emulation
  • This chapter describes various CommuniGate Pro features not described elsewhere in this Guide.

    Return Receipts

    Senders can request return-receipts by including the Return-Receipt-To: header fields into messages. When a message containing a Return-Receipt-To: header field is delivered to a local account, the Server generates a Return-Receipt message and sends it to the address specified in the Return-Receipt-To: header.


    Address Testing

    If a message has the X-Test-Address: header field, the SMTP module does not send a message to its recipients. The SMTP module connects to all the hosts the message addressed to, the module sends all the recipient addresses, but it does not send the message itself.

    This can be used to verify addresses on large mailing lists: if an address contains an unknown domain name, or the host is not unreachable, or if the host rejects a user address, an error message is generated in the regular way, and can be used to detect "bad" addresses and to "clean" the mailing list.


    Adding Required Headers

    If a message does not have a properly composed RFC header part, the Server adds an RFC header to the message. This header contains the required header fields only.

    If a submitted message does not have a Date: header field, the Server adds one using the date and time when the message was submitted to the server.

    If a submitted message does not have a Message-Id: header field, and the message was received from a "trusted source", the Server adds a Message-Id: header to the message.


    Legacy Mail Emulation

    The CommuniGate Pro software package includes the command-line program mail (mail.exe for the Microsoft Windows platforms). You can use this program to submit messages to the CommuniGate Pro system, as you use the regular mail application to submit messages to sendmail.

    mail [-iInv]  [-d base-directory]
         [-s subject] [-f from-address]
         [-c Cc-addresses] [-b bcc-addresses] to-addresses

    -i, -I, -n, -v
    these options are ignored; they are included for compatibility only.

    -f from-address
    use the from-address as the message From: address. If this parameter is not specified, the current user name is used.

    -d base-directory
    use the base-directory path as the location of the CommuniGate Pro base directory.

    -s subject
    specifies the subject (only the first argument after the -s flag is used as a subject; be careful to quote subjects containing spaces).

    -c cc-addresses
    send carbon copies to the cc-addresses; cc-addresses should be a comma-separated list of e-mail addresses.

    -b bcc-addresses
    send blind carbon copies to the bcc-addresses; bcc-addresses should be a comma-separated list of e-mail addresses.

    to-addresses
    a comma-separated list of e-mail addresses.

    The CommuniGate Pro software package includes the command-line program sendmail (sendmail.exe for the Microsoft Windows platforms). You can use this program to submit messages to the CommuniGate Pro system, using the interface of the legacy sendmail program.

    sendmail [-i] [-t] [-d base-directory]
         [-f from-address] [-F sender-name] [-V envid]
    	 [-Oparameter] [-oparameter] [address, ...]

    -d base-directory
    use the base-directory path as the location of the CommuniGate Pro base directory.

    -i
    ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file.

    -t
    read message for recipients. To:, Cc:, and Bcc: lines will be scanned for recipient addresses. The Bcc: lines will be deleted before transmission. The addresses listed on the command line will be excluded from the list of the recipients.

    -ffrom-address
    use the from-address as the message From: address. If this parameter is not specified, the current user name is used.

    -Fsender-name
    set the full name of the sender.

    -V envid
    the Enevlope ID of the message.

    -Oparameter
    -oparameter
    option ignored.

    addresses
    the destination addresses (without the -t option) or the addresses to be excluded from the the destination address list (if the -t option is specified).
    The CommuniGate Pro mail and sendmail commands use the Submitted folder feature.

    CommuniGate® Pro Guide. Copyright © 1998-1999, Stalker Software, Inc.