Expected behavior
In the multipass login form, when I click submit, I expect to receive an email to the address I entered.
Observed behavior
caddy crashes with this error when I click submit:
caddy -conf=/etc/caddy/Caddyfile -log stdout
Activating privacy features... done.
multipass for https://test.quickgene.net is initialized
https://test.quickgene.net
2017/01/19 13:01:11 https://test.quickgene.net
http://test.quickgene.net
2017/01/19 13:01:11 http://test.quickgene.net
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
panic: dial tcp 127.0.0.1:2525: getsockopt: connection refused
goroutine 21 [running]:
panic(0xbb0c20, 0xc4201dcbe0)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/namsral/multipass/services/email.NewUserService.func1(0xc4203ac120, 0xc42019fd50)
/home/caddy/go/src/github.com/namsral/multipass/services/email/email.go:125 +0x27f
created by github.com/namsral/multipass/services/email.NewUserService
/home/caddy/go/src/github.com/namsral/multipass/services/email/email.go:141 +0x495
Caddyfile:
test.mydomain.net {
root /var/www/test.mydomain.net
multipass {
resources /
smtp_addr 127.0.0.1:2525
handles myusername@gmail.com
mail_from "Multipass <no-reply@mydomain.net>"
}
}
Expected behavior
In the multipass login form, when I click submit, I expect to receive an email to the address I entered.
Observed behavior
caddycrashes with this error when I click submit:Caddyfile: