-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in examples: SQL query in docs/debian-conf.d/router/250_vexim_virtual_domains #276
Comments
Part 1 here is indeed a bug, but I'm not so sure about the second proposal. It makes the query twice as big, just to add a special case to an otherwise unsupported scenario. Consider any third party server which has no way of knowing that I say let's leave that second part as it is. However, while looking at part 1, I noticed how stupid our queries in Exim config file are. I'm going to rewrite them to replace some |
|
- Use `INNER JOIN ON` instead of "comma-joins" with `WHERE` conditions - Fix vexim#276: prevent non-members from posting to private groups when they are members of other groups - modify `virtual_dom_groups` query to not assume that usernames and email addresses match
Query from example file
docs/debian-conf.d/router/250_vexim_virtual_domains
.g.id = c.group_id
:This query fixed this:
Example: mailbox
USER1@my.domain
, aliasALIAS1@my.domain
=>USER1@my.domain
, non-public groupGROUP1@my.domain
with memberALIAS1@my.domain
.With old sql query
USER1@my.domain
can't write in non-public groupGROUP1@my.domain
, onlyALIAS1@my.domain
can.With new sql query
USER1@my.domain
can write in non-public groupGROUP1@my.domain
too.The text was updated successfully, but these errors were encountered: