Closed stoically closed 2 years ago
@stoically Should be fixed now
@crazy-max Still broken. mstmp does not read the configuration from /etc/msmtprc
in my case, but from /usr/etc/msmtprc
, where no configuration is available.
@stoically What's the output of msmtp --version
inside the container? Should show:
msmtp version 1.8.19
Platform: x86_64-alpine-linux-musl
TLS/SSL library: GnuTLS
Authentication library: GNU SASL; oauthbearer and xoauth2: built-in
Supported authentication methods:
plain scram-sha-1 external gssapi cram-md5 digest-md5 login oauthbearer xoauth2
IDN support: enabled
NLS: enabled, LOCALEDIR is /usr/share/locale
Keyring support: Gnome
System configuration file name: /etc/msmtprc
User configuration file name: /root/.msmtprc
Copyright (C) 2021 Martin Lambers and others.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Huh, interesting. Seems to work fine now. Maybe I didn't pull the container properly. Thanks!
Behaviour
Steps to reproduce this issue
Expected behaviour
Sending E-Mail works.
Actual behaviour
Sending E-Mail fails and the log reports
Checking
msmtp --version
reportsBut the docker-msmtpd init files create the config at
/etc/msmtprc
.Workaround:
docker exec <container-name> bash -c "ln -s /etc/msmtprc /usr/etc/msmtprc"
Configuration
docker --version
) : 20.10.12uname -a
) : 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 GNU/LinuxLogs
Thanks for your work on this!