ETRN

 

Script name: etrn.fts

 

This script sends an ETRN command to an SMTP server. You need to use this script if mail download from your ISP to FTGate is initiated by FTGate sending an ETRN command.

Parameters

Property

Description

ip (required)

The IP address or name of the SMTP server to issue the ETRN to.

port (optional)

The port to that the SMTP server is on. This is only required if the port is not 25.

node (required)

The node to collect mail for.

domain (optional)

The domain to use when initiating the conversation.

Example Usage

  1. Go to the Domains|Internet|Connection in Web Admin.

  2. Enter etrn.fts?ip=smtp.isp.com&node=domain.com&domain=ftgateserver in the Execute After Connecting|Script field, where:

  1. Click the 'Apply' button.

 

Now when the schedule connects the script connects to smtp.isp.com on port 25 and has the following conversation (responses may differ)

 

220 TRITON ESMTP Server

helo ftgatemachine

250 TRITON

etrn domain.com

250 Mail queue started

quit

221 Service closing transmission channel