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: email@example.com" firstname.lastname@example.org
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!