I'm using postfix and
mailutils to send email using my gmail address through command line in Ubuntu.
It works fine when I provide both from and to address like below:
mail -s "Some random subject" -a "From: firstname.lastname@example.org" email@example.com
But I need to configure to send email from default gmail address without specifying from address everytime. How can I do that?
Please help me!