Thx Dan - yes, all very confusing especially when the different tools use different values to create the same result! busy today, but if i get a chance i will check it out too...
_____ From: Dan McAllister [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 6:27 AM To: [email protected] Subject: Re: [qmailtoaster] Vmoddomlimits help/clarification Halmut... Actually, my point was that I had noted previously that the NOQUOTA entry was being stored in the database as 0 By forcing you to type the value NOQUOTA to enter a 0 into the field, you are hoping to make sure that the user is not of the opinion that 0 means disabled. For example, in QMAILADMIN, you can stop users from using or creating mail lists by limiting the field to 0. I'm not sure how to make it unlimited -- so my add-domain script allows up to 1000 of them. (This is probably an example of where -1 is used, but I don't believe that -1 is recognized as valid in the QMAILADMIN tool. Probably ESPECIALLY because the 0 value has different meanings in different places, the tool requires you to make a NOQUOTA entry in order to force a 0 value into the database. (In reality, the database probably does not allow for a test entry in that field!) The end result of this is, if you're using the CLI, then I don't think you can say "NOQUOTA" to the vdominfo or vmoddomlimits programs. So, say 0 for the quota values, and you GET a NOQUOTA. I'll check this out later today when I get some time. Dan Daniel McAllister, President IT4SOHO, LLC 2171 Wrens Way Clearwater, FL 33764 877-IT4SOHO: Toll Free 727-647-7646 In Pinellas 813-464-2093 In Hillsborough 727-507-9435 Fax Only "When did you do your last backup?" Ask me about unattended backup solutions... to protect your business, not just your data! Helmut Fritz wrote: Thx Dan - yeah, I know 0 is often used - but it can be used to disable or set to unlimited. Same with -1. and then in this case we have the NOQUOTA value as well... Aarrgh! :) -----Original Message----- From: Dan McAllister [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 6:17 AM To: [email protected] Subject: Re: [qmailtoaster] Vmoddomlimits help/clarification Helmut... I cannot speak for the programmers of vpopmail, but it is common for 0 to be used for the "no limit" value when populating a field like a Quota value So... what that means is that your vmoddomlimits output correctly shows that there is no limit for your domain. NOTE: If you really wanted to make the domain have a zero limit, you would need to set the value to 1 -- a 1MB limit is effectively always over quota. I hope this helps... Dan Daniel McAllister, President IT4SOHO, LLC 2171 Wrens Way Clearwater, FL 33764 877-IT4SOHO: Toll Free 727-647-7646 In Pinellas 813-464-2093 In Hillsborough 727-507-9435 Fax Only "When did you do your last backup?" Ask me about unattended backup solutions... to protect your business, not just your data! Helmut Fritz wrote: Nobody, huh??? Is this where the default limits are set? /home/vpopmail/etc/vlimits.default -----Original Message----- From: Helmut Fritz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 10:23 AM To: [email protected] Subject: [qmailtoaster] Vmoddomlimits help/clarification O.K. - so now I know to use this and not vqadmin. ;) So how do I set no quota? The wiki page shows exactly the same thing as the help for the command: -Q quota-in-megabytes ( set domain disk quota, '100' = 100 MB ) -q quota-in-bytes ( set default user quota, '10M' = 10 MB ) I get this, but I don't want a quota on some domains. I have previously created one with vqadmin and used NOQUOTA, and this is what vmoddomlimits shows when I do a -S (show current settings): [EMAIL PROTECTED] bin]# ./vmoddomlimits -S mydomain.com Domain: mydomain.com -- Max Pop Accounts: 100 Max Aliases: 100 Max Forwards: 100 Max Autoresponders: 100 Max Mailinglists: 100 GID Flags: Flags (for commandline): Flags for non postmaster accounts: pop account: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE alias: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE forward: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE autoresponder: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE mailinglist: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE mailinglist users: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE quota: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE default quota: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE Domain Quota: 0 MB Default User Quota: 0 bytes Max Domain Messages: 0 Default Max Messages per User: 0 [EMAIL PROTECTED] bin]# Note that Domain Quota has a 0, as well as default User Quota and # messages. Vqadmin has no facility to set #messages, so I am guessing that is default for every domain I create. Where do I set the defaults for domain/user and bytes/message quotas, as well as the other common settings (#accounts, mailing lists, etc.)? Is there a file these are pulled from that I can modify? What are the proper values for setting no quotas? Is it a 0 for the appropriate option (i.e. '-Q 0' or '-q 0' and '-M 0' and '-m 0')? Are there any pointers on the non-postmaster account flags (the '-g <flag>' stuff)? What would one use these for? Example? Thx any and all!!! Helmut --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
