![]() Next we need to edit the Postfix configuration found in /etc/postfix/main.cf. Use the postmap command to update the SASL credentials in Postfix. Make sure to replace EMAIL with your email address, and PASSWORD with your Gmail password, properly escaping any colons in it. Note that enclosing hostnames with square brackets – – tells Postfix to avoid doing an MX lookup. Update the contents to include the following. To set up authentication you will need to edit the /etc/postfix/sasl_passwd file. SASL AuthenticationĬonnecting to the Gmail SMTP server requires both SSL and authentication. If you just need to send emails try running sudo postfix start, and make sure to check your spam for emails – they will likely be flagged as they originate from a local mail server. Everything will need to be executed as root using sudo. A quick howto setup Mac OS X and Postfix to use Gmail as a relay.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |