summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2001-08-12 19:41:26 +0000
committerjeff <jeff>2001-08-12 19:41:26 +0000
commit4d513ff5a17bd3b697502b54c9516577a0a8d3e4 (patch)
treed296582946bc41064ba86bc87ae8954791d02c2d /httemplate
parent67e59b7ab85227889ca127b875b4138f018c844d (diff)
merging vpopmail support branch
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/docs/config.html3
-rw-r--r--httemplate/docs/upgrade8.html27
2 files changed, 30 insertions, 0 deletions
diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html
index 49be7200b..9526f697e 100644
--- a/httemplate/docs/config.html
+++ b/httemplate/docs/config.html
@@ -101,6 +101,9 @@ All further configuration files and directories are located in
<li><a name="usernamemax">usernamemax</a> - Maximum username length (default is the size of the SQL column, probably specified when fs-setup was run)
<li><a name="usernamemax">username-letter</a> - The existance of this file will turn on the requirement that usernames contain at least one letter.
<li><a name="usernamemax">username-letterfirst</a> - The existance of this file will turn on the requirement that usernames start with a letter.
+ <li><a name="username_policy">username_policy</a> - This file controls the mechanism for preventing duplicate usernames in passwd/radius files exported from svc_accts. This should be one of 'prepend domsvc' 'append domsvc' or 'append domain'
+ <li><a name="vpopmailmachines">vpopmailmachines</a> - Your vpopmail pop toasters, one per line. Each line is of the form "machinename vpopdir vpopuid vpopgid". Eg: poptoaster.domain.tld /home/vpopmail 508 508 Note: vpopuid and vpopgid are values taken from the vpopmail machine's /etc/passwd
+
</ul>
</body>
diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html
index 702da5a1b..1a5c998c6 100644
--- a/httemplate/docs/upgrade8.html
+++ b/httemplate/docs/upgrade8.html
@@ -61,6 +61,30 @@ $ perl Makefile.PL
$ make
$ su
# make install UNINST=1</pre>
+ <li>Apply the following changes to your database:
+<pre>
+CREATE TABLE svc_forward (
+ svcnum int NOT NULL,
+ srcsvc int NOT NULL,
+ dstsvc int NOT NULL,
+ dst varchar(80),
+ PRIMARY KEY (svcnum)
+);
+ALTER TABLE svc_acct ADD domsvc integer NOT NULL;
+ALTER TABLE svc_domain ADD catchall integer;
+ALTER TABLE part_svc ADD svc_acct__domsvc integer NULL;
+ALTER TABLE part_svc ADD svc_acct__domsvc_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_domain__catchall integer NULL;
+ALTER TABLE part_svc ADD svc_domain__catchall_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_forward__srcsvc integer NULL;
+ALTER TABLE part_svc ADD svc_forward__srcsvc_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_forward__dstsvc integer NULL;
+ALTER TABLE part_svc ADD svc_forward__dstsvc_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_forward__dst integer NULL;
+ALTER TABLE part_svc ADD svc_forward__dst_flag char(1) NULL;
+
+</pre>
+
<li>If you are using PostgreSQL, apply the following changes to your database:
<pre>
CREATE UNIQUE INDEX agent_pkey ON agent ( agentnum );
@@ -112,4 +136,7 @@ ALTER TABLE cust_main ADD COLUMN ship_fax varchar(12) NULL;
ALTER TABLE cust_main ADD COLUMN comments varchar NULL;
</pre>
<li>Run bin/dbdef-create.
+ <li>create a service based on svc_forward
+ <li>Run bin/fs-migrate-svc_acct_sm
+ <li>create the conf.dbsrc/user_policy as appropriate for your site
</body>