This commit is contained in:
Your Name 2024-02-19 12:14:26 -05:00
parent e2c1f6c7fc
commit bcd1e275c6
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ func main() {
// Test if the given username ans password can authenticate via pop3
// If so, change the password
p := pop3.New(pop3.Opt{Host: "172.17.0.1", Port: 995, TLSEnabled: true})
p := pop3.New(pop3.Opt{Host: "127.0.0.1", Port: 995, TLSEnabled: true})
c, err := p.NewConn()
if err != nil {
@ -124,5 +124,5 @@ func main() {
d.Time = time.Now().Unix()
d.Body = f.Render(true)
tmpl.Execute(os.Stdout, d)
http.ListenAndServe(":8910", r)
http.ListenAndServe("127.0.0.1:8910", r)
}