

- Gmail email settings for mac mail with el capitan how to#
- Gmail email settings for mac mail with el capitan mac os x#
usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: use_sacl_cache=yes usr/sbin/postconf: warning: /etc/postfix/main.cf, line 692: overriding earlier entry: config_directory=/etc/postfix Postfix: warning: /etc/postfix/main.cf, line 692: overriding earlier entry: config_directory=/etc/postfix I’m running into this issue, any ideas appreciated: Hi! Thanks for the very helpful information. To clear the mail queue: sudo postsuper -d ALL Use the postfix logs to ensure everything is working as expected: tail -f /var/log/mail.log Other useful commands Let’s send a mail to our own account to be sure everything is working fine: date | mail -s testing can check the mail queue and the posible delivery errors using “ mailq“ mailq In Gmail we must switch on the option “ Access for less secure apps“, otherwise we will get the error: To apply all new changes we have to restart Postfix: sudo postfix reload Step 4. This will create the file sasl_passwd.db Step 3. Write the following content and save: :587 the Postfix lookup table from the sasl_passwd file. We need to create the sasl_passwd file with the SMTP credentials sudo vi /etc/postfix/sasl_passwd For example for hotmail you should replace the relayhost for the following: You only need to know the SMTP host and port. You can use any other SMTP provider (Hotmail, Yahoo, ETC…). Which will be stored in the path “ /etc/postfix/sasl_passwd“.

This is telling Postfix to use a GMAIL SMTP server with Simple Authentication and Security Layer ( SASL). # Enable Transport Layer Security (TLS), i.e. Smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd # Enable SASL authentication in the Postfix SMTP client. Now add the following lines at the very end of the file: Open a terminal and edit the file main.cf sudo vi /etc/postfix/main.cfįirst check Postfix is configured correctly, look for the following lines (They are probably separated): If you are using windows, you may want to try this approach.
Gmail email settings for mac mail with el capitan how to#
This tutorial is about how to configure Postfix for Mac OS X. As I said, this is a quick workaround for testing purposes but if security is a requirement, you must buy yourself a certificate at Thawte or Verisign, or create your own one.
Gmail email settings for mac mail with el capitan mac os x#
That can be easily done using an external Mail client (Gmail, Hotmail, Yahoo… ETC) and Postfix, which is the standard email server installed by default in Mac OS X (At least in the latest versions). Sometimes we may need to send mails from localhost for testing purposes.
