I am struggling with configuring
two mails for two different users in Ubuntu.
Like if I login with
User1 then whenever I use the command mail, it should send mail from
And when User2 logins with its credentials then it should send mail from
Currently I've changed my
/etc/ssmtp/ssmtp.conf for my Gmail id.
But when I send mail from a different user, the same mail id is been used.
Can anyone please provide any pointer or links?