I'm using postfix and mail
from 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: username@gmail.com" username1@gmail.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!
mail
though. – dessert May 03 '18 at 06:46