2020年7月

telnet 测试 smtp 服务器

telnet mailserver.xxxx.com 25
ehlo xxxx
mail from:cccc@xxxx.com
rcpt to:aaaa@xxxx.com
data
subject: test via telnet \n\r.\n\r
quit

phpmailer disable autotls

$mail->SMTPAutoTLS = false;

win7 win10 等启用http的webdav,避免踩坑认证错误

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"BasicAuthLevel"=dword:00000002
service restart webclient

caddy2 + webdav plugin,caddyfile

{
order webdav last
}
http://xxxx:18023 {
webdav {
    root c:\swds
    }
basicauth {
    swds JDJhJDEwJHp4bzc4dDgxSmlXNG03bERsbVRZOC5VUy5lQjljV2xxQzl1SUUxQWVGdWdJcWXXXXXXXXXX
    }
}

Caddy生成加密密码

caddy hash-password  --plaintext yourpassword

https://www.yumenaka.net/2020/05/10/caddy2_with_webdav/