[bug]: not allowed to send mails as a too new user #939
Unanswered
felixlabrot
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This is due to the must-match sender setting. The recipients LDAP filter is not returning the email addresses associated with the account. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
Hello,
I have noticed an issue where a newly created user in the LDAP directory logs in to the mailbox and can receive mails but is unable to send mails. To the client the error
5.5.4 You are not allowed to send from this address.
is shown (doesn't matter if Roundcube, Thunderbird, ...).The log states:
DEBUG MAIL FROM unauthorized (smtp.mail-from-unauthorized) listenerId = "submissions", localPort = 465, remoteIp = 192.168.1.10, remotePort = 61611, from = "[email protected]", details = ["test"]
After waiting for some time (I didn't pay attention to the clock but it must have been around 1 hour, maybe a bit less) it suddenly starts working.
Reloading config doesn't help; restarting the entire Docker stack doesn't either.
The issue can reliably be reproduced every time. As I now know that I just have to wait for an hour it isn't really a problem. But it is weird that it behaves like this.
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
Version
v0.10.x
What database are you using?
RocksDB
What blob storage are you using?
RocksDB
Where is your directory located?
LDAP
What operating system are you using?
Docker
Relevant log output
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions