Skip to content
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

Not able to use SetQuota function #9

Open
avinash-ghadshi opened this issue Jul 21, 2023 · 1 comment
Open

Not able to use SetQuota function #9

avinash-ghadshi opened this issue Jul 21, 2023 · 1 comment

Comments

@avinash-ghadshi
Copy link

avinash-ghadshi commented Jul 21, 2023

/* [START] Set Quotas for INBOX */
	resources := map[string]uint32{
		"STORAGE": uint32(100 * 1024), // 100 KB quota limit
	}
	err = qc.SetQuota(mailboxName, resources)
	if err != nil {
		log.Println(err.Error())
		return
	}
	/* [END] Set Quotas for INBOX */
It gives below error
**Invalid quota list in Setquota**
@avinash-ghadshi
Copy link
Author

avinash-ghadshi commented Jul 24, 2023

Invalid quota list in Setquota

It seems SETQUOTA command is executed as
TAG1 SETQUOTA user/avinash STORAGE 102400

not as
TAG1 SETQUOTA user/avinash (STORAGE 102400)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant