Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set from = "$my_username@$my_domain" is wrong for my company #21

Open
bdamm opened this issue Jul 24, 2018 · 1 comment
Open

set from = "$my_username@$my_domain" is wrong for my company #21

bdamm opened this issue Jul 24, 2018 · 1 comment

Comments

@bdamm
Copy link

bdamm commented Jul 24, 2018

At my company, $my_username is different from my sending email address. Specifically

my_domain=itron.com
my_username=bdamm
[email protected]

So, I need a way to override the "from" value.

As currently written, the "muttrc" gives me the option to source gal, aliases, or mailing_lists, but none of those seem like the appropriate place to override the default value of "from". Maybe "gal"? I'm not sure of its intent.

@jon-peel
Copy link

I think in muttrc is what you are looking for.

You have

set imap_user="$my_username@$my_domain"
set imap_pass=$my_password

You can just override that.
Or create your own settings variables in the "user" and reference those instead.

and then you also want to check the SMTP settings

set realname = $my_realname
set from = "$my_username@$my_domain"
set smtp_pass = $my_password
set hostname = $my_domain
set smtp_url = "smtp://$my_username@[email protected]:587/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants