[{"data":1,"prerenderedAt":273},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2014\u002F09\u002F30\u002Fssmtp-and-gmail-authentication-suddenly-failing\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":5,"date":255,"description":213,"embedImage":256,"extension":257,"image":256,"intro":258,"meta":259,"navigation":260,"path":261,"seo":262,"series":256,"sitemap":263,"stem":264,"tags":265,"__hash__":272},"content\u002F2014\u002F09\u002F30\u002Fssmtp-and-gmail-authentication-suddenly-failing.md","sSMTP and Gmail - authentication suddenly failing",{"type":208,"value":209,"toc":252},"minimark",[210,214,217,228,231,234,240,243,246,249],[211,212,213],"p",{},"I've been running sSMTP as my mailer daemon for a long time using my google apps domain as mail server.",[211,215,216],{},"The config for this was pretty simple - \u002Fetc\u002Fssmtp\u002Fssmtp.conf:",[218,219,224],"pre",{"className":220,"code":222,"language":223},[221],"language-text","root=me@my.domain.tld\n\nmailhub=smtp.gmail.com:587\n\nrewriteDomain=domain.tld\n\nhostname=server.domain.tld\n\nFromLineOverride=YES\n\nAuthUser=notifications@domain.tld\nAuthPass=users-gmail-password\nAuthMethod=LOGIN\n\nUseTLS=YES\nUseSTARTTLS=YES\n","text",[225,226,222],"code",{"__ignoreMap":227},"",[211,229,230],{},"This has been working fine.",[211,232,233],{},"Recently I noticed mail was not getting through. I now see in the logs:",[218,235,238],{"className":236,"code":237,"language":223},[221],"Creating SSL connection to host\nSSL connection using RSA_ARCFOUR_SHA1\nAuthorization failed (535 5.7.8 http:\u002F\u002Fsupport.google.com\u002Fmail\u002Fbin\u002Fanswer.py?answer=14257 \u003Cmail.id> - gsmtp)\n",[225,239,237],{"__ignoreMap":227},[211,241,242],{},"I've checked the password. I can log in to the web with it and send mail via the gmail web gui just fine.",[211,244,245],{},"I've turned on two-factor auth and set up an app specific password.",[211,247,248],{},"I've checked that SPF and DKIM are set up on the domain (a bit cargo-culting here - found this on a google help page)",[211,250,251],{},"Nothing helps. As far as I can see - everything is correct just that google will no longer accept mail from this ssmtp instance - and I have no idea why :(",{"title":227,"searchDepth":253,"depth":253,"links":254},2,[],"2014-09-30 12:27 +0200",null,"md","ssmtp suddenly isn't able to get a valid authentication from gmail",{},true,"\u002F2014\u002F09\u002F30\u002Fssmtp-and-gmail-authentication-suddenly-failing",{"title":206,"description":213},{"loc":261},"2014\u002F09\u002F30\u002Fssmtp-and-gmail-authentication-suddenly-failing",[266,267,268,269,270,271],"mail","gmail","google","smtp","ssmtp","troubleshooting","JByH8aEDUdNqsYkB7YfdMAGqwzL1jHx_TkE1GmI5L9M",1775293012104]