Monday, March 31, 2025

set up app password for sending emails from server

One of our wordpress servers was to be used to send some emails to users. So, changed the ssmtp "from" account from our internal server's google account to another one, meant to be used for this server. 
  • Created a new google workspace account
  • Logged in to it for the first time
  • Set up recovery email, recovery phone, authenticator, enabled two-factor authentication
  • Created an app password
  • edited the /etc/ssmtp/ssmtp.conf with the new userid and app password.

No comments:

Post a Comment