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

msmtp: /etc/msmtprc: line 16: invalid argument True for command auto_from #1

Open
agibson684 opened this issue May 17, 2020 · 1 comment

Comments

@agibson684
Copy link

Hi I am getting this error message in my /etc/msmtprc but i can't find where the salt formula is pulling this from to change it permanent. Can you help? Otherwise everything else is working!

echo -e "Subject: Testing" | msmtp --debug -t [email protected]
msmtp: /etc/msmtprc: line 16: invalid argument True for command auto_from
example file
defaults

aliases /etc/aliases
auth on
syslog LOG_MAIL
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt

account mailgun

auto_from True<<<
from [email protected]
host smtp.mailgun.org
maildomain thrace.lan
passwordpassword
port 587
user [email protected]

account default : mailgun

@markdueck1
Copy link

I realise this is really old, the solution that I have found is to modify the pillar file:
change:
auto_from: on
to:
auto_from: "on"

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