We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Use gmail as smtp
Use gmail as smtp
Hello, it's been a lot of days since i was trying to use gmail as smtp server. I've tried a lot of settings without success. So, i'm asking for your help. Do you know what i need to modify in order to make this work? The only settings that i made was on exim configuration file
Re: Use gmail as smtp
depending on what you're using as distro whis might be a good read: https://wiki.debian.org/GmailAndExim4 (esp. starting with dpkg-reconfigure exim4-config ;-))
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Use gmail as smtp
ref : http://www.pontikis.net/blog/gmail-smar ... im4-debian
nano /etc/exim4/exim4.conf.template
smtp.gmail.com::587:
/etc/exim4/passwd.client
smtp.gmail.com:[email protected]:gmail_password
or you can use wizard:
# if it spits error, you've done something wrong, else all good so try sending a mail from the command line
if you receive the mail from the ID you used in /etc/exim4/passwd.client you are good to go.
nano /etc/exim4/exim4.conf.template
smtp.gmail.com::587:
/etc/exim4/passwd.client
smtp.gmail.com:[email protected]:gmail_password
or you can use wizard:
Code: Select all
dpkg-reconfigure exim4-config
|- 2nd option Mail Sent by Smarthost: recieved via smtp...
|- provide FQDN
|- 127.0.0.0
|- enter
|- enter
|- smtp.gmail.com::587
|- No
|- No
|- whatever
|- Split files -- YES
Code: Select all
nano /etc/exim4/passwd.client
|- *.google.com:[email protected]:gmail_password
Code: Select all
update-exim4.conf
service exim4 restart
Code: Select all
echo "VestaCP-Test Mail sent $(date +"%T")" | mail -s Testing <youremailid>
Re: Use gmail as smtp
Or from here:
viewtopic.php?t=7422
viewtopic.php?t=7422