Domains: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:


That's roughly it.  You now have a domian called "testdomain.com" that can have up to 100 email accounts, with 100 aliases, 100 forwards, 100 autoresponders, 100 mailing lists, and each user can have a mailbox of 15M.
That's roughly it.  You now have a domian called "testdomain.com" that can have up to 100 email accounts, with 100 aliases, 100 forwards, 100 autoresponders, 100 mailing lists, and each user can have a mailbox of 15M.
== [[Alias Domains]] ==

Latest revision as of 22:55, 26 March 2024

Add a domain at the command line:

/home/vpopmail/bin/vadddomain testdomain.com pwnewdomain

This creates a new domain called "testdomain.com" with password of "pwnewdomain" for the postmaster account. This gets the general framework set up for the domain. Now lets finishing configuring it:

/home/vpopmail/bin/vmoddomlimits -P 100 -A 100 -F 100 -R 100 -L 100 -q 15000000 testdomain.com

This sets some limits on the domain so the person managing it doesn't run rampant. I'll run through the limits in order. The -P flag allows the domain to have up to 100 POP accounts. The -A flag allows the domain to have up to 100 aliases. The -F flag allows the domain to have up to 100 forwards. The -R flag allows the domain to have up to 100 autoresponders. The -L flag allows the domain to have up to 100 mailing lists. Lastly, the -q flag sets the quota (max mailbox size) for each user - it's defined in bytes, so 15000000 is roughly 15M. There are additional flags you can set to add other restrictions to domains. Check out the vmoddomlimits page for more info.

That's roughly it. You now have a domian called "testdomain.com" that can have up to 100 email accounts, with 100 aliases, 100 forwards, 100 autoresponders, 100 mailing lists, and each user can have a mailbox of 15M.

Alias Domains