A very bad idea
|
Author | Content |
---|---|
dotmatrix Feb 29, 2016 11:13 PM EDT |
Just because something is possible doesn't mean it should be done. There is so much wrong with the idea of storing your gmail password in plain text and in the same file as your gmail address. Please don't do this. I'm not sure what the use case might be for sending email through gmail in this manner. If an individual wishes to send through gmail and the platform is a user's GNU/Linux box --- then there are many ways to accomplish this from the command line.... mutt is a really good example. If a domain owner wishes to send an email, and is going through the hassle of setting up Postfix -- don't half-ass the thing, just complete the installation, along with at least Reverse DNS and SPF... It's not that difficult, and will help keep the ol' grey matter nice and wrinkled. If a domain owner wishes to send an email using gmail, then a proper IMAPS connection can be setup... again this can be accomplished using 'mutt' ... and here is a much more secure method for doing that sort of configuration: http://xmodulo.com/mutt-email-client-encrypted-passwords.html ****BTW: For my mail servers, I typically authenticate against a Courier IMAP server and store passwords encrypted in postgresql. In order to actually use the various sasl authentication methods, you'll need to enable saslauthd in: /etc/default/saslauthd Here's the Postfix SASL page with all the neat configuration options: http://www.postfix.org/SASL_README.html |
Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]
Becoming a member of LXer is easy and free. Join Us!