-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I try to setup Exchange-Online SMTP for sending mail through it. Therefor i've set following settings in config.json:
- email_sender: email@domain.com
- email_host: smtp.office365.com
- email_port: 587
- email_username: email@domain.com
- email_password: xxxx
- email_secure: true
When an email is sent, following error is shown in semaphore:

When i run semaphore with "semaphore server --config /etc/semaphore/config.json" i get following output:
ERRO[0039] 504 5.7.4 Unrecognized authentication type [VI1PR0902CA0058.eurprd09.prod.outlook.com]
PANI[0039] 504 5.7.4 Unrecognized authentication type [VI1PR0902CA0058.eurprd09.prod.outlook.com] error="Can't send email!"
INFO[0039] Stopped running TaskRunner 131
INFO[0039] Release resource locker with TaskRunner 131
panic: (*logrus.Entry) 0xc000adccd0
goroutine 48 [running]:
github.com/Sirupsen/logrus.Entry.log(0xc0000ba180, 0xc001e080f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fa400000000, ...)
/go/src/github.com/ansible-semaphore/semaphore/vendor/github.com/Sirupsen/logrus/entry.go:128 +0x6c5
github.com/Sirupsen/logrus.(*Entry).Panic(0xc000adcc80, 0xc00094f4e8, 0x1, 0x1)
/go/src/github.com/ansible-semaphore/semaphore/vendor/github.com/Sirupsen/logrus/entry.go:173 +0xfa
github.com/ansible-semaphore/semaphore/util.LogPanicWithFields(0x18aee00, 0xc001a54e88, 0xc00094f538)
/go/src/github.com/ansible-semaphore/semaphore/util/errorLogging.go:39 +0xcd
github.com/ansible-semaphore/semaphore/services/tasks.(*TaskRunner).panicOnError(0xc0003d2b00, 0x18aee00, 0xc001a54e88, 0xa72239, 0x11)
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/logging.go:78 +0x16e
github.com/ansible-semaphore/semaphore/services/tasks.(*TaskRunner).sendMailAlert(0xc0003d2b00)
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/alert.go:66 +0x485
github.com/ansible-semaphore/semaphore/services/tasks.(*TaskRunner).setStatus(0xc0003d2b00, 0xa67fd6, 0x5)
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/runner.go:80 +0x136
github.com/ansible-semaphore/semaphore/services/tasks.(*TaskRunner).fail(...)
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/runner.go:112
github.com/ansible-semaphore/semaphore/services/tasks.(*TaskRunner).run(0xc0003d2b00)
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/runner.go:281 +0x7fa
created by github.com/ansible-semaphore/semaphore/services/tasks.(*TaskPool).Run
/go/src/github.com/ansible-semaphore/semaphore/services/tasks/pool.go:150 +0x557
Maybe there is a problem with starttls?