33.3. Example of configuration of the external SMTP server for relay with TLS

The example below shows how to configure the SMTP resource to relay emails using an external SMTP server (E.g. Gmail SMTP server) with security TLS:

[14:17:21] ABILIS_CPX: s p smtp server:smtp.gmail.com server-user:user@gmail.com server-pwd:password server-tcp-port:465 server-security:tls server-auth:login

COMMAND EXECUTED

[09:58:41] ABILIS_CPX:d p smtp

RES:Smtp ----------------------------------------------------------------------
Run    DESCR:Simple_Mail_Transfer_Protocol
       LOG:NO         ACT:YES              tcp-locport:25  
       SRCADD:R-ID (192.168.029.254)       TOS:0-N
       ses-tot:10     SES-RESERVED-IN:2    SES-RESERVED-OUT:2    
       DT:120         MAX-IP-SES:2         MAX-RCPT:100           
       IPSRC:127.000.000.001               IPSRCLIST:PrivateIpAdd
       LOCAL-DOMAIN:
       HELOHOST:noname
       wdir:C:\APP\MAIL\
       max-fail-notif:50                   MB-MAXSIZE:5000
       MSG-MAXSIZE:65535                   MB-MAXMAILS:1000       STORE-MB:NO
       -- Local SMTP relay ----------------------------------------------------
       RELAY-NET:#                         RELAY-IPSRCLIST:#                   
       RELAY-AUTH:DISABLED
       QUEUE-LIFE-TIME:432000              MAIL-TRY-DELAY:300  
       -- External SMTP server for relay --------------------------------------
       SERVER:smtp.gmail.com
       SERVER-TCP-PORT:465
       SERVER-AUTH:LOGIN                   SERVER-SECURITY:TLS
       SERVER-USER:user@gmail.com
       SERVER-PWD:***
       -- SMS Gateway ---------------------------------------------------------
       SMS-GW:NO                           SMS-PERMIT:RELAY
       SMS-IP:#                            SMS-SENDER:#

Use your account Username and Password to use the external SMTP server.

[Caution]Caution

To activate the changes made, execute the initialization command init res:smtp.