thanks for your clear explanation.

However, don't you think that kind of things should be discussed in the general list instead of development list?

I feel that development list should deal with "implementation", "how to develop", "how to improve code", while functionalities should be discussed with end-users (or production users), that are interested in functionalities, and don't care about implementation.

I'm really amazed when I discover a changed feature and see that it's been done by developers without talking with end-users.



At 03/12/2003 03/12/2003 -0700, you wrote:
On Wednesday, December 3, 2003, at 10:05 AM, tonix (Antonio Nati) wrote:

sorry if I may be out of logic, just a fast look at the patch.

Here's how it works.

pw_gid is the user's limits.
if the user has V_OVERRIDE set, that's all they get.
otherwise, the domain limits are IN ADDITION to the user's limits.

For example:

If domain limit says no IMAP and user limit says no SMTP; user doesn't have access to IMAP or SMTP.

Change domain limit from no IMAP to no POP. Now user limit becomes no POP or SMTP.

We discussed this on the development list. Perhaps we need to explain it better in the documentation.

Is it correct to keep using user flags if override is off?


+ if ((! (pw->pw_gid & V_OVERRIDE))

if user not overriding domain limits

+      && (vget_limits (domain, &limits) == 0)) {
+        pw->pw_flags = pw->pw_gid | vlimits_get_flag_mask (&limits);

using mixed limits from user and domain.


Would it be more direct to use only domain limits in such a case?

No. If you do it that way, you can't impose additional limits on a single user in the domain (or, for example, add qmailadmin admin access).

+ } else pw->pw_flags = pw->pw_gid;

else use user limits.

Correct. If V_OVERRIDE is set, or the limit lookup fails, it just uses the user limits.

At 03/12/2003 03/12/2003 -0700, you wrote:
Here's the patch to fix the domain limits problem. It's in CVS now, and will be in the next release (which I'll make by the end of the week). Hopefully the email gateways won't totally screw the file up...

Thanks for including an entire copy of the patch in your response.

Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin:  Vpopmail:
Info on the Sniffter hand-held Network Tester:

------------------------------------------------------------ [EMAIL PROTECTED] Interazioni di Antonio Nati [EMAIL PROTECTED] ------------------------------------------------------------

Reply via email to