The art of knowing.

Bada Jhumar

First of all, what is success actually? Generally success is used supportive word which defines that you accomplished something. I have been in touch with many college students (as being alumni of Guru Nanak Dev Engineering College, Ludhiana), and they are studying to be successful in life. I feel I could help them to realize some things about life and thats the purpose of writing this post.

Nobody tells you what life is, you are born here, you have people around you, you have food to eat and shelter to live in, you are successful in living a life. Simple as that.

After this comes the purpose, what do you want to do in life?

Here are some simple and effective tips to find your purpose:

  1. Look around but listen to your inner voice.
  2. Don’t define things with money, just do what you love to, money comes later.
  3. Don’t get attracted by materialistic glow. (We all know about this “All that glitters is not gold”)

Purpose can be any, I mean anything. For some people it is connecting the world, for some its to be free, for some its just to love, and more. So basically, anything, do not ever relate it to money. What you feel like doing in life? thats the purpose. It can be mean, it can be helping, anything.

Comming back to success, people generally relate success with financial figures, but to live a life, we do not need money. People can say we need house we need to buy this and that. I think that just a materialistic approach. If I would imagine myself without any money, what would I do? Looking out for food and shelter, of course you can go life any where in some forest or so, make yourself pretty nice crib (or not) and look out for ways you can get food (or not, yeah there are people who survive on sun), grow crops or hunt, however you like. One thing is sure, money is not necessary for survival, but, if you want to live a social and luxury life, where you can watch movies, eat something special, and so on, definilty you need money. Business men just take advantage of the luxury you want. No luxury = No business. I do not say I want to live a forest life, but I can and I will, very willingly, if it every comes to that. Point is, adapt! adapt! adapt! If you’re in the sea, you’re The Caption Jack Sparrow. If you’re in the forest, you’re fearless tarzan. If you’re in some uptown, you’re be the best job guy or some flashy businessman. The best here is not best as in comparision with others, but the best of your abilities and hardwork. We always adapt, thats what humans do. You have to understand this, there is one thing about humans, they are real badass, they will survive anything, when it comes. But to be successfull you have to be ready, and prepared for every moment. It can be best or worst, depending on how you react to it.

Everyone adapts, it is the basic survival skill your subconsious knows, still you (your concious) don’t reckon it. If you think what will happen when the person/thing you love the most goes away from you or dies or anything which is something you never wan’t that to happen. So if the bad (as you call it) happened, what are you going to do? People start to think they are doomed, but we are very wrong here. We just dont wan’t it to happen, but, even if you don’t know it, you will survive! Yes you will. But it is the art of knowing, that you can handle any damn situation like a pro. And this art will make you invincible, you will control the things you want to (Generally people in such situations don’t want/like to), but the things which will happen, you will be ready, all the time. And this art of knowing makes you overcome your worst fears. Once you overcome the worst, nobody is stopping you. You are at level zero and only thing can happen is going up. At this point the success is declared. This is the point you will know you are successful before anyone else knows about it. This is not something monetory or materialistic, but this is sucess of YOU. You will let go the fear of worst possibilities of your life. You will become open to anything and everything. You will welcome the situtations and people which come to your life, and what awesome feeling is that one can only understand, and I live that everyday.

Extra stuff below, only if you want to kill your current vibe, then carry on reading, but it can do lot many things. 😉

Orignal Title was: “Fear? and Success?” but then I realized “The art of knowing” should be the title.

When I was writing this , I was alone at a restaurant in mid of Feb 2015, and I wanted to write something. So I asked the guy there and borrowed some pen and paper. You can check it out how I was doing at my Instagram

Featured Image: This image is clicked on Sunday, 28 June 2015 at 01:47:07 PM. I wouldn’t dare to touch the flower in the image as it was small, delicate, yet successful and beautiful. On the background of photo you can see a another mountain blurred far away, from where we started the trek. I do have clear image of the same, with the flower blurred.

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
auth on
port 587
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
auth yes 
port 25
passwordeval gpg -q --for-your-eyes-only --no-tty -d .mutt/.pass.gpg | awk '/ {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

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 !

MUTT – encrypting password with GNUpg

To encrypt password with mutt, we will be using GNUpg, install it :

For Debian based : $ sudo apt-get install gnupg gnupg-agent
For RPM based : $ sudo yum install gnupg gnupg-agent

after installing it you need to generate an encryption key by using following.

gpg --gen-key

Select appropriate options. Enter you name, email and passphare when it asks. Do not forget your passphrase.
now create a file .pass place it in your home folder, I am placing it here :

touch ~/.mutt/.pass

contents fo following file should be :

GMail:<use tab>mySecretPassowrd

encrypt it by using:

cd ~/.mutt
gpg --encrypt .pass

Now you will see a file is created as .pass.gpg , if it is there, you can delete orignal .pass file. After this step you have to make changes to .muttrc file. Append the following by doing appropriate changes

set imap_pass = `gpg -d ~/.mutt/.pass.gpg | awk '/GMail:/ {print $2}'`

NOTE : if imap_pass and smtp_pass are defined anywhere else, you have to remove them or comment those two lines like this :

#<s>set imap_pass = ""</s>
#<s>set smtp_pass = ""</s>

Thats it, now you can start mutt and it will ask the passphrase for your key, and will never irritate you again 🙂
Good Luck.