Is it possible to configure ssmtp to use normal Gmail security
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have installed ssmtp mailutils and can send email from my Pi (running Raspbian - a Debian 9.4 variant)
I configured /etc/ssmtp/ssmtp.conf and can send email using ssmtp and Gmail as SMTP server.
In order to make this work I has to configure the Gmail account to allow Access for less secure apps.
My question is it possible to configure ssmtp to use normal Gmail security (OAuth?), and if so how?
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=XXXi@gmail.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.gmail.com:587
AuthUser=XXX@gmail.com
AuthPass=â¦
AuthMethod=LOGIN
UseTLS=YES
UseSTARTTLS=YES
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
hostname=XXX
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
raspbian ssmtp gmail
add a comment |Â
up vote
0
down vote
favorite
I have installed ssmtp mailutils and can send email from my Pi (running Raspbian - a Debian 9.4 variant)
I configured /etc/ssmtp/ssmtp.conf and can send email using ssmtp and Gmail as SMTP server.
In order to make this work I has to configure the Gmail account to allow Access for less secure apps.
My question is it possible to configure ssmtp to use normal Gmail security (OAuth?), and if so how?
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=XXXi@gmail.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.gmail.com:587
AuthUser=XXX@gmail.com
AuthPass=â¦
AuthMethod=LOGIN
UseTLS=YES
UseSTARTTLS=YES
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
hostname=XXX
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
raspbian ssmtp gmail
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have installed ssmtp mailutils and can send email from my Pi (running Raspbian - a Debian 9.4 variant)
I configured /etc/ssmtp/ssmtp.conf and can send email using ssmtp and Gmail as SMTP server.
In order to make this work I has to configure the Gmail account to allow Access for less secure apps.
My question is it possible to configure ssmtp to use normal Gmail security (OAuth?), and if so how?
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=XXXi@gmail.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.gmail.com:587
AuthUser=XXX@gmail.com
AuthPass=â¦
AuthMethod=LOGIN
UseTLS=YES
UseSTARTTLS=YES
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
hostname=XXX
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
raspbian ssmtp gmail
I have installed ssmtp mailutils and can send email from my Pi (running Raspbian - a Debian 9.4 variant)
I configured /etc/ssmtp/ssmtp.conf and can send email using ssmtp and Gmail as SMTP server.
In order to make this work I has to configure the Gmail account to allow Access for less secure apps.
My question is it possible to configure ssmtp to use normal Gmail security (OAuth?), and if so how?
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=XXXi@gmail.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.gmail.com:587
AuthUser=XXX@gmail.com
AuthPass=â¦
AuthMethod=LOGIN
UseTLS=YES
UseSTARTTLS=YES
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
hostname=XXX
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
raspbian ssmtp gmail
raspbian ssmtp gmail
asked 49 mins ago
Milliways
532621
532621
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago
add a comment |Â
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478316%2fis-it-possible-to-configure-ssmtp-to-use-normal-gmail-security%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I haven't used ssmtp before, but it looks like you can authorize your installation using a "App Password" generated on your Google account... Ref ArchWiki
â RubberStamp
20 mins ago