Let them go!

Its 08:21, and following is my current thought process. Thus far I have experienced in life, people you want most in your life, will go away from you sooner than you can imagine. Also, with these regular happenings I have learned the art of letting go, which was orignally very casual to think about, but it got me by the roots when it happened. But hey, this is life, and just like they say, “Life is not a bed of rosses, but full of thorns”. I hereby extend my welcome to the biggest possible thorns, and I look forward to them. Lets check out what they got.

I have been hurt, I have been decieved, I have been scolded, I have been burnt inside, I’ve cried, I have been through other thousand things, but I never stopped (loving, smiling, motivating, empowering) and I never will, till I collapse.

“When I let go of what I am, I  become what I might be.” – Lao Tzu

This is for those people who think they cannot live without anyone, I’d say, learn to give a good fight to life, if not win. Me personally, I ain’t here to loose.

“Success is my only ****** option, failure’s not!” – Eminem (Loose Yourself)

Here I am not talking about materialistic success, I am talking about life, and I am going hammer it down.

Adiós a ti también.

Installing and Configuring mSMTP

mSMTP is an SMTP client which can be used with various applications and scripts such as Mutt, Php, Python etc

Remember, we will do everything as a sudo user and NOT root.

Install the msmtp and ca-certificates packages.

For Arch
$ sudo pacman -S msmtp ca-certificates
For Debian/Ubuntu
$ sudo apt-get install msmtp ca-certificates
For Fedora/Rhel/CentOS
$ sudo yum install msmtp ca-certificates

Create a new .msmtprc file in your home directory and open it with your favourite editor. VIM neerds alert! (If you don’t know what this means, never mind. Just open the file.)

$ vim ~/.msmtmrc

Copy following text into the .msmtprc file. If you have only one email ID, keep the default section, if you have more then two, add more accordingly.

account default
host smtp.gmail.com
from email@youremailhost.com
auth on
port 587
user email@gmail.com
password MySecret
logfile ~/.msmtp.log
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt


account custom
tls off
tls_starttls off
host smtp.youremailhost.com
from email@youremailhost.com
auth yes 
port 25
user email@youremailhost.com
passwordeval gpg -q --for-your-eyes-only --no-tty -d .mutt/.pass.gpg | awk '/email@youremailhost.com:/ {print $2}'
logfile ~/.msmtp.log

As you can see I have two examples one with simple password and one with encrypted password. You can use password variable for basic use, as used for default account in .msmtprc file. If you don’t want your friends to see your password, who use your computer, and more specifically your user, then you should definately use passwordeval variable. passwordeval variable tells the msmtp to fetch password from an encryped gpg file. More details on Encrypting password in with GnuPG, of course you need to see what you want from that link.

Test your configuration with following command

echo -e "Subject: Test Mail\r\n\r\nThis is a test mail" |msmtp --debug --from=default -t username@gmail.com

It probably won’t work 😉 Change permissions of .msmtprc file then.

chmod 600 .msmtprc

Doesn’t work? Apply common sense!

Still not working? poke me !

What The Problem

Currently I am working on Resume maker ( College Project ). I am kinda not able to focus on it right now, I am trying hard to complete it, but not working out. Current time is 16:15 IST. Going to listen presentation on LDAP. I was sad, feeling lil’ awkward, don’t know how to focus and start up the work and make it ASAP. In actual, I am not able to give actual time which I am supposed to do. Currently I am listening to The Social Network, The beats is a type of little motivating ;-). So Here we go Lets start work, the presentation is also about to start.

Okay, lets do it.