dolthub / dolthub/doltlab-issues

`smtp_connection_helper` fails with `smtp: too longer line in input stream` with Microsoft 365 SMTP host

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This can be reproduced using the Microsoft 365 host with `--auth login`:

```bash
smtp_connection_helper \
--host smtp.office365.com \
--port 587 \
--auth login \
--username me@email.com \
--password ***** \
--from you@email.com \
--to me@dolthub.com

smtp: too longer line in input stream
```

`smtp_connection_helper` is actually getting an exception response from the email server that's too long for it to read. That's the input stream too longer failure.

The cause of the problem is that `me@email.com` is not authorized to send mail from `you@email.com`:

```
SendAsDenied; me@email.com not allowed to send as you@email.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message. // continued...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.