How to turn on encryption and authentication for the SMTP server
-
- Posts: 1
- Joined: Sat Jul 04, 2020 2:02 am
- Os: Ubuntu 17x
- Web: nginx + php-fpm
How to turn on encryption and authentication for the SMTP server
First of all, I'm completely new to Vesta CP or VPS in general, but I'm trying to setup an online store using WordPress Woocommerce on a VPS and also use e-mails. Everything is working fine, except the e-mails.
I can receive it, but I can't send it. After something exploring stuff I found the error message bellow in this file: "/var/log/exim4/mainlog".
When I access the information link it says I have to turn on encryption and authentication for the SMTP server. However I have no idea how to do it, since I'm new to this area.
Here's how I did it so far. Installed Vesta CP using this command:
After that I enabled the SSL Let's encrypt for the domain and also checked the use of SSL of the web on mail and Vesta CP.
What else do I need to do to make it work?
I can receive it, but I can't send it. After something exploring stuff I found the error message bellow in this file: "/var/log/exim4/mainlog".
Code: Select all
020-07-03 22:49:09 1jrXIh-0006jn-Ut H=mx1.weblink.com.br [~some-ip-i-guess~]: SMTP error from remote mail server after RCPT TO:<{~my-destination-email~}>: 450 4.2.0 <unknown[~my.ip.address~]>: Client host rejected: Greylisted, see http://postgrey.schweikert.ch/help/domain.com.html
Here's how I did it so far. Installed Vesta CP using this command:
Code: Select all
bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no
What else do I need to do to make it work?