-
Notifications
You must be signed in to change notification settings - Fork 36
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
msmtpq not respecting EMAIL_CONN_TEST
#120
Comments
I don’t fully understand what the problem is.
How do you know that
But that doesn’t show whether or not the connection test was run. What happens is you try to run
When I disconnect and run
When
It’s not clear to me why that’s a problem. It says that the send was |
@KarlJoad Is this still a problem? Have you tried looking into Jayman2000's suggestions? |
Sorry. This fell on my backburner. I will need to test everything again. From my recollection, I was deliberately trying to force an email to be queued, even if there was an Internet connection. But I forget what I was doing exactly. I will need to figure out what was going on and what behavior I wanted/expected. |
While building a home environment with Guix, I am generating some environment variables for use with
msmtpq
in combination with mu4e. Normal sending withmsmtp
is currently working perfectly. But when I try to usemsmtpq
, it does not seem to be respecting theEMAIL_CONN_TEST
or theEMAIL_CONN_NOTEST
environment variables. (I know thatEMAIL_CONN_NOTEST
is being deprecated, but I am trying to cover as many bases as possible.)I have it narrowed down and it appears to be reproducible.
I can even verify that the environment variables are set correctly with the following bash snippet.
These tests are quite similar to the ones that are done in
msmtpq
, so I do not understand why things are not behaving as I expect.But no matter what I do, I always get
The locale issues are being raised because I am running the commands inside a container which has only the files I need (namely the msmtp configuration file, the certs, my secrets, etc.), files I explicitly specify (the mail file), and a network connection. This means the locale files are not present, which should not be an issue anyways. I can send emails normally inside the container with the following snippet.
I cannot narrow down why this would be happening. Any advice?
The text was updated successfully, but these errors were encountered: