bump
This commit is contained in:
4
main.go
4
main.go
@@ -102,7 +102,7 @@ func main() {
|
|||||||
// Test if the given username ans password can authenticate via pop3
|
// Test if the given username ans password can authenticate via pop3
|
||||||
// If so, change the password
|
// 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()
|
c, err := p.NewConn()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -124,5 +124,5 @@ func main() {
|
|||||||
d.Time = time.Now().Unix()
|
d.Time = time.Now().Unix()
|
||||||
d.Body = f.Render(true)
|
d.Body = f.Render(true)
|
||||||
tmpl.Execute(os.Stdout, d)
|
tmpl.Execute(os.Stdout, d)
|
||||||
http.ListenAndServe(":8910", r)
|
http.ListenAndServe("127.0.0.1:8910", r)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user