# This patch changes all documentation references from 
# ~vpopmail/etc to (sysconfdir) throughout the code and a few doc files
# 
# Japheth Cleaver
# <cleaver@rohan.sdsu.edu>
# 

--- doc/README.ipaliasdomains.orig	2004-07-22 18:24:51.000000000 -0700
+++ doc/README.ipaliasdomains	2004-07-22 18:25:03.000000000 -0700
@@ -5,7 +5,7 @@
 address as the username
 
 If many of your users are from a single domain, then you can optionally put
-that domain into the ~vpopmail/etc/defaultdomain file. Then if a user doesnt
+that domain into the (sysconfdir)/defaultdomain file. Then if a user doesnt
 include a domain when they auth, the auth will be automatically performed 
 against the domain nominated in the defaultdomain file.
 
--- doc/README.mysql.orig	2004-12-16 20:59:52.000000000 -0800
+++ doc/README.mysql	2006-03-08 18:47:41.000000000 -0800
@@ -133,9 +133,9 @@
 	#   * Use the database called vpopmail
 	#
 
-	echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" > ~vpopmail/etc/vpopmail.mysql
-	chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
-	chmod 640 ~vpopmail/etc/vpopmail.mysql
+	echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" > (sysconfdir)/vpopmail.mysql
+	chown vpopmail.vchkpw (sysconfdir)/vpopmail.mysql
+	chmod 640 (sysconfdir)/vpopmail.mysql
 
 	# log into MySQL as the MySQL root user
 	# and then create the database for vpopmail to use
@@ -172,13 +172,13 @@
 domains / mailboxes in the vpopmail system. Make sure it contains reasonable 
 defaults for your system. 
 
-	vi ~vpopmail/etc/vlimits.default
+	vi (sysconfdir)/vlimits.default
 
 Optionally, nominate a "default domain". Users in this domain can login to 
 POP3 etc using just their username. Users from all other domains need to use 
 their full email address as their login name.
 
-	echo "yourdomain.com" > /home/vpopmail/etc/defaultdomain
+	echo "yourdomain.com" > (sysconfdir)/defaultdomain
 
 
 --------------------------------------------------------------------------
@@ -289,7 +289,7 @@
 
 There are some things you need to edit by hand to get it to work.
 
-1) Create a ~vpopmail/etc/vpopmail.mysql file and put these fields in 
+1) Create a (sysconfdir)/vpopmail.mysql file and put these fields in 
 the file (replacing them with the actual information):
 
 read_server|read port|read_user|read_password|database_name
