HOW TO SETTING SMTP EXIM ON VESTACP USING GMAIL ACCOUNT

Simple Mail Protocol Used To Sending Mail 

I Want To Show How To Setting SMTP Exim On Vestacp Using Gmail Account

 

1   open your terminal and run command nano  /etc/exim4/exim4.conf.template
 

        edit on every section following this step: 

2.              1. EDIT ON AUTHENTICATION CONFIGURATION

INSERT TEXT LIKE THIS

     gmail:

    driver = plaintext

       public_name = LOGIN

       hide client_send = : username@gmail.com : password

 

3.      2.EDIT ON  ROUTERS SECTION


INSERT TEXT LIKE THIS

 gmail_route:

  driver = manualroute

  transport = gmail_relay

  route_list = * smtp.gmail.com

 

4.      3. EDIT ON  transport SECTION

INSERT TEXT LIKE THIS

 gmail_relay:

  driver = smtp

  port = 587

  hosts_require_auth = $host_address

  hosts_require_tls = $host_address

 

5.      4. EDIT ON rewrite configuration FILL LIKE THIS

INSERT TEXT LIKE THIS

*@* username@gmail.com Ffr

 SAVE IT BY PUSH CTRL + x  AND PUSH Y AND PUSH ENTER



6.      5. Restart exim

RUN COMMAND service exim4 restart

 Done!

No comments