4/23/2021 0 Comments Gmail Settings For Mac Osx
The Gmail account uses 2-step-verification and app-specific password.At the bottom of the right hand pane it will say Outgoing Server (SMTP): and should have Gmail selected Click on this and you get a pop up menu and select Edit SMTP Server List.
Gmail Settings Verification And AppIncoming server should be: imap.gmail.com, your username should be the start of your email address without the gmail.com section and your password should be the app-specific password, NOT the account password that was previoulsy used). What doesnt make sense is that outgoing mail WAS working fine, well after I first setup 2-step verification. ![]() It is enough to create only one password (misunderstanding in earlier threads). Go to the outgoing mail server settings first, set it there and come back to the main account setting and rekey that password. In the end I just used the SMTP from my ISP as I pay for it anyhow. Not the answer youre looking for Browse other questions tagged macos mail.app gmail keychain smtp. This site is not affiliated with or endorsed by Apple Inc. Having mail server is important if you need to send email from your web application in local environment. Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL) and TLS. ![]() Terminal Postfix Installation No need it because Postfix already exist as pre-installed on Mac OSX. Open your terminal, make sure you can see response if you type below: postfix postfix: error: to submit mail, use the Postfix sendmail command postfix: fatal: the postfix command is reserved for the superuser Great, then we are going to configure it to be able for sending email. Postfix Configuration We are going to change postfix configuration file. Run this command below: sudo vi etcpostfixmain.cf Make sure if these lines below are exist mailowner postfix setgidgroup postdrop Then, add these lines at the end of file Use Gmail SMTP relayhost smtp.gmail.com:587 smtpsaslmechanismfilter plain smtpsaslauthenable yes smtpsaslpasswordmaps hash:etcpostfixsaslpasswd smtpusetls yes smtptlssecuritylevel encrypt tlsrandomsource dev:devurandom From codes above, you can see that we use Gmail SMTP for our postfix. If you want to see mail queues, execute this command mailq If you want to see mail log, execute this command tail -f varlogmail.log Conclusion Setting up mail server on Mac OSX can be done using pre-installed Postfix. Having mail server in local environment will give you advantage for your web application that have sending email feature. Copyright Budi Irawan.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |