![]() |
|
|||||
![]() |
| **works with iManager 2.12.1 on VPSv2 servers!
** Increase functionality of iManager on your FreeBSD v2 Virtual Server with iManagerPro.
New features in iManagerPro for iManager 2.12.4
What does the above mean? It means that you
can now allow your client to add/modify/delete their own email accounts.
As the Server Admin, you will define how many pop accounts and mail forwards
that the client will be able to create (by making updates to the /etc/domainmaps
file). You will also be able to optionally specify the maximum amount
of disk space the POP accounts will be able to consume, and to create
a unique login prefix for each privileged user. The client will only have
update privileges for their domain, they will not have visibility to anyone
else's email.
iManagerPro makes the assumption that you are using the most recent version of sendmail loaded (if the most recent version of sendmail is not loaded, vinstall sendmail). iManagerPro makes the assumption that every domain will have a catch-all defined for it in the /etc/mail/virtusertable file. If you do not typically define catchalls, iManagerPro will set up a "trash_mail" catchall for you the first time the domain admin creates an email address. Undefined catchalls will be mapped to a trash_mail alias. Setup an alias to have trash_mail go to the trash: trash_mail: /dev/nulliManagerPro will map unwanted catchall email to this default address (which will in turn, send it to the trash). All new POP accounts will be mapped in the /etc/mail/virtusertable file. Preparing Your Files: If you are installing iManagerPro on a server that does not have mail accounts set-up, you must first initiate the virtusertable. You can do this by logging into imanager as the admin user, and creating a virtusertable entry (it can be a bogus one, or a valid one, it does not matter. The point is simply that there must be at least one entry before iManagerPro will work). If you are installing iManagerPro on a server that already has email addresses defined, and you do not normally define POP accounts in virtusertable, you will first need to define your server's current POP accounts in the virtusertable file before granting update privileges to your client.Installation Instructions for iManagerPro: Installation is a very easy 3 step procedure - copy the imanagerproV2.zip file to your server, unzip the file and run 'vinstall imanagerpro'. 1. Logged
on as root, Upload the imanagerproV2.zip file to the / directory
on your server.
2. Unzip imanagerproV2.zip There are 3 files that will be unzipped onto your server: - imanagerproV2.tar
- this is a complete copy of iManager 2.12.4 along with all iManagerPro
files. 3. run the vinstall program - 'vinstall imanagerpro' This will untar iManager 2.12.4 along with all iManagerPro files and set proper permissions and ownership. iManagerPro modifies the following iManager files: /usr/local/etc/htdocs/imanager/library/imanager.pl /usr/local/etc/htdocs/imanager/library/passwd.pl /usr/local/etc/htdocs/imanager/library/init.pl /usr/local/etc/htdocs/imanager/library/iroot.pl /usr/local/etc/htdocs/imanager/library/fm_browse.pl /usr/local/etc/htdocs/imanager/library/fm_util.pl Unless you have edited
any of the files above, it is safe to allow them to be overwritten. All other
files being loaded are new files created specifically by iManagerPro
Defining Privileged Users: After unzipping imanagerproV2.zip, edit the new /etc/domainmaps file, so you can map a privileged user to a domain name, and assign quotas for the number of forwards and pops that the user will be able to maintain for their domain. You can edit the file directly through iManager, or through any text editor. The domainmaps file takes on the following format:
iManagerPro converted to other languages iManagerPro can easily be converted to other languages by translating the /imanager/strings/en/imanagerpro file. Currently, the following languages are supported by iManager (please let us know if you can convert iManagerPro to other languages).
|
|||||||
| # # >>>>>>>>>> The program "vnewaliases" must be run after # >> NOTE >> this file is updated for any changes to # >>>>>>>>>> show through to your virtual sendmail. # # Basic system aliases -- these MUST be present. # Add your own aliases here |
% unzip imanagerproV2.zip
Archive: imanagerproV2.zip
inflating: usr/local/etc/httpd/htdocs/imanager/library/fm_protect.pl
inflating: usr/local/etc/httpd/htdocs/imanager/library/Apache/Htpasswd.pm
inflating: usr/local/etc/httpd/htdocs/imanager/library/forwards.pl
inflating: usr/local/etc/httpd/htdocs/imanager/library/mapmanager.pl
inflating: usr/local/etc/httpd/htdocs/imanager/library/ipro.pl
inflating: usr/local/etc/httpd/htdocs/imanager/library/pop3.pl
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/fm_protect.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/forwards_add.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/forwards_edit.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/forwards_remove.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/forwards_view.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/ipro.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/mapmanager.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/pop3_add.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/pop3_edit.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/pop3_remove.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/wizards/pop3_view.cgi
inflating: usr/local/etc/httpd/htdocs/imanager/strings/en/imanagerpro
inflating: etc/domainmaps
replace usr/local/etc/httpd/htdocs/imanager/library/fm_browse.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/fm_browse.pl
replace usr/local/etc/httpd/htdocs/imanager/library/fm_util.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/fm_util.pl
replace usr/local/etc/httpd/htdocs/imanager/library/imanager.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/imanager.pl
replace usr/local/etc/httpd/htdocs/imanager/library/passwd.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/passwd.pl
replace usr/local/etc/httpd/htdocs/imanager/library/init.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/init.pl
replace usr/local/etc/httpd/htdocs/imanager/library/iroot.pl? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: usr/local/etc/httpd/htdocs/imanager/library/iroot.pl
|
#Format of each line is: # #user:domain,maxForwards,maxPOPS,(optional)mailQuota,(optional)loginPrefix,(optional)loginGroup # #Lines preceded with '#' are comment lines. # # #In the first example below, the user "mark" would be allowed to #maintain the email accounts for "serverpros.com". He has a max number of 20 forwards #and 10 POP accounts. Quota for each POP mailboxes is 3MB. Login names will be automatically #created with the prefix of "server" followed by an incremented number (server1, server2, etc). #There is no loginGroup specified, so, his group will be the same as his POP login id: # #The loginPrefix can also include a '?' giving the privileged user the ability to append to the #end of the loginPrefix when creating POP3 userids. For example, if I put precise_? as the #loginPrefix, then all userid's that the admin creates will start with precise_ and end with #whatever the admin enters for the userid (for example, precise_mark, precise_john, #precise_brad, etc.). # #If no loginPrefix is specified, the domain admin is free to create any POP3 userid that they like, #so long as it is available and the syntax is correct. # #A single domain admin can administer multiple domains. Just make separate entries using the #same userid for each line. For example, to give 'mark' the ability to manage both serverpros.com #and precisionpros.com, just add two entries like in the examples below. # #example entries: #mark:serverpros.com,20,10,3,server, #mark:precisionpros.com,20,10,3,precise_?, |
|
Example 1 mark@precisionpros.com mark2 These are all POP accounts as defined by the script; the script counts
each one as a separate POP account. It becomes confused, when you go
to edit "mark2", because it is not sure which virtmap entry
to work with. |
Example 2 mark@precisionpros.com mark2 If the virtmap file on your server has entries like those at left (Example 1, more than one address mapped to the same POP account) the file will need to be changed to route the multiple addresses to userid@domainname.com, as in example 2. Order in the virtmap file is important! Make sure that the multiple address are defined after the main one as in example 2 (meaning, you should not have mark@precisionpros.com mark2 defined after mark_sharkey@precisionpros.com mark2@precisionpros.com |
|
User "mary" should have a virtmap entry like this: mary@mydomain.com mary User "james" should have a virtmap entry like this: james@hisdomain.com james |