mod_md: v2.3.2 MDMessageCmd :: Mailsend is broken
Have a messagecmd.bat file to send a mail, in contains:
@ECHO OFF
D:\servers\apache\bin\mailsend -q -f steffen@xxxxxx.com -smtp 127.0.0.1 -user xxxx@xxxxx.com -pass xxxxx -name "SteffenAL" -t xxxxx@xxxx -sub "Lets Encrypt MDMessageCmd" -M "Something happened with a managed domain:" -M "%~1" -M "%~2" -M "%~3" -M "%~4" -M "."
with v2.2.7 and v2.3.1 all is working fine
With 2.3.2 no mail is sent and in the log:
[md:info] [pid 16032:tid 2268] cmd(D:/servers/apache/bin/MDMessageCmd.bat) stderr: Could not connect to 127.0.0.1:25\r\n
[md:info] [pid 16032:tid 2268] cmd(D:/servers/apache/bin/MDMessageCmd.bat) stderr: Error: Could not connect to SMTP server "127.0.0.1" at port 25\r\n
Running Windows.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 35 (35 by maintainers)
Commits related to this issue
- Fix lost environment variables Adding the environment variables for MDMessageCmd and friends had the unintended side-effect of passing ONLY those variables (and a couple of others) to the child. Thi... — committed to tlhackque/mod_md by tlhackque 4 years ago
- Revert "Fix lost environment variables" This reverts commit 27098cc7c8a6f382a93802a14fc7480f0c48a042. It did restore the PATH variables that caused the issue reported in #198. However, it did not p... — committed to tlhackque/mod_md by tlhackque 4 years ago
- * Reverted setting the environment variables for MDMessageCmd and MDNotifyCmd. This prevented the inheritance of existing environment variables as there seems to be no portable way to iterate t... — committed to icing/mod_md by deleted user 3 years ago
In HTTPD 2.4.48 all my issues are solved. And with nice additions.
Thanks!