From f994254d81d6fd95b7438f452914c210e302bab7 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Thu, 6 Apr 2006 17:41:26 +0000 Subject: [PATCH] 2006-04-06 [colin] 2.1.0cvs10 * manual/advanced.xml Document the wizard template and how to deploy Sylpheed-Claws effectively --- ChangeLog | 6 ++++ PATCHSETS | 1 + configure.ac | 2 +- manual/advanced.xml | 79 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c8cf5e1b..c4ea137d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-06 [colin] 2.1.0cvs10 + + * manual/advanced.xml + Document the wizard template and how to deploy + Sylpheed-Claws effectively + 2006-04-06 [colin] 2.1.0cvs9 * src/folderview.c diff --git a/PATCHSETS b/PATCHSETS index c9a24c8b9..3799d443b 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1381,3 +1381,4 @@ ( cvs diff -u -r 1.27.2.17 -r 1.27.2.18 src/addr_compl.c; cvs diff -u -r 1.28.2.15 -r 1.28.2.16 src/addrindex.c; cvs diff -u -r 1.13.2.5 -r 1.13.2.6 src/addritem.c; cvs diff -u -r 1.65.2.46 -r 1.65.2.47 src/codeconv.c; cvs diff -u -r 1.382.2.258 -r 1.382.2.259 src/compose.c; cvs diff -u -r 1.60.2.14 -r 1.60.2.15 src/filtering.c; cvs diff -u -r 1.213.2.87 -r 1.213.2.88 src/folder.c; cvs diff -u -r 1.2.2.12 -r 1.2.2.13 src/folder_item_prefs.c; cvs diff -u -r 1.207.2.91 -r 1.207.2.92 src/folderview.c; cvs diff -u -r 1.3.4.3 -r 1.3.4.4 src/localfolder.c; cvs diff -u -r 1.75.2.19 -r 1.75.2.20 src/matcher.c; cvs diff -u -r 1.83.2.66 -r 1.83.2.67 src/mimeview.c; cvs diff -u -r 1.1.2.19 -r 1.1.2.20 src/prefs_msg_colors.c; cvs diff -u -r 1.5.2.21 -r 1.5.2.22 src/prefs_spelling.c; cvs diff -u -r 1.3.2.40 -r 1.3.2.41 src/prefs_themes.c; cvs diff -u -r 1.49.2.75 -r 1.49.2.76 src/procmime.c; cvs diff -u -r 1.150.2.59 -r 1.150.2.60 src/procmsg.c; cvs diff -u -r 1.25.2.22 -r 1.25.2.23 src/stock_pixmap.c; cvs diff -u -r 1.395.2.190 -r 1.395.2.191 src/summaryview.c; cvs diff -u -r 1.96.2.106 -r 1.96.2.107 src/textview.c; cvs diff -u -r 1.43.2.42 -r 1.43.2.43 src/toolbar.c; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/common/mgutils.c; cvs diff -u -r 1.5.2.5 -r 1.5.2.6 src/common/prefs.c; cvs diff -u -r 1.4.2.6 -r 1.4.2.7 src/common/ssl_certificate.c; cvs diff -u -r 1.2.2.12 -r 1.2.2.13 src/gtk/colorlabel.c; cvs diff -u -r 1.1.2.37 -r 1.1.2.38 src/gtk/quicksearch.c; cvs diff -u -r 1.1.2.32 -r 1.1.2.33 src/plugins/pgpmime/pgpmime.c; cvs diff -u -r 1.18.2.32 -r 1.18.2.33 src/plugins/spamassassin/spamassassin.c; ) > 2.1.0cvs7.patchset ( cvs diff -u -r 1.96.2.107 -r 1.96.2.108 src/textview.c; ) > 2.1.0cvs8.patchset ( cvs diff -u -r 1.207.2.92 -r 1.207.2.93 src/folderview.c; ) > 2.1.0cvs9.patchset +( cvs diff -u -r 1.1.2.12 -r 1.1.2.13 manual/advanced.xml; ) > 2.1.0cvs10.patchset diff --git a/configure.ac b/configure.ac index 36bb67328..bcc8de2fc 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=1 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=9 +EXTRA_VERSION=10 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/manual/advanced.xml b/manual/advanced.xml index 40e88cf4f..d2e362c00 100644 --- a/manual/advanced.xml +++ b/manual/advanced.xml @@ -85,6 +85,85 @@ This is just an example of the possibilities. A good number of plugins developed for Sylpheed-Claws already exist, and more are to come. The Extending Sylpheed-Claws section gives details of them. +
+ Deploying Sylpheed-Claws + + The initial configuration wizard tries to guess various fields using information gathered from the system, such as username, hostname, and more. As it is oriented towards general use, the default values often have to be fixed. However, this wizard is customisable, in a manner designed to allow system administrators to deploy Sylpheed-Claws easily over various users of one machine, or even over multiple machines installed via some replication tool. + + + The first part consists of creating a wizard configuration template and setting the various default parameters of a new Sylpheed-Claws installation. + + + Start with a new user who does not have a ~/.sylpheed-claws directory, ideally a new user. + Start Sylpheed-Claws and go through the wizard. The values you fill in will be of no use for the future deployment, so you can click next-next-next. + Once the wizard is finished and you have Sylpheed-Claws' main window opened, configure the various defaults you want to have in the master. You can load plugins, add people or LDAP servers in the addressbook, create filtering rules, and so on. + If needed, and if the deployed Sylpheed-Claws will use MH folders, you can create subdirectories in the mailbox. + Next, quit Sylpheed-Claws. + Now, edit the newly created wizard template file, ~/.sylpheed-claws/accountrc.tmpl. In this file, you will see different variables, corresponding to the wizard's fields. You can leave some commented, in which case the usual default will be used, or specify values or variables. Not all fields can contain variables; for example, smtpauth, smtpssl and recvssl are booleans, either 0 or 1, and recvtype is an integer value. The other fields, like name, email, or recvuser, are parsed by the wizard and the variables they contain are replaced by values. This allows you to specify everything as needed for your site, even if you have strange server names or server logins. + Save this file, and delete both ~/.sylpheed-claws/accountrc, (which contains your dummy account) and ~/.sylpheed-claws/folderlist.xml, (so that the folder tree will be correctly parsed for new users). Recursively copy .sylpheed-claws to /etc/skel/; if the deployed Sylpheed-Claws will use MH folders, also copy the created Mail directory. chown all of /etc/skel/.sylpheed-claws and /etc/skel/Mail to root:root for security reasons. + Test! Create a new user, login as that user, run Sylpheed-Claws. If you filled everything as you wanted, this user will just have to fill in his passwords. + Now, if you're creating a master for a site-wide deployment, you can continue with this process. If you were just doing it for one machine, you're done! + + + Here are the different variables of the accountrc.tmpl file: + + + domain + Your domain name (example.com). If not set, it'll be extracted from the hostname. + name + The user's name. If not set, it'll be extracted from Unix login information, which is usually ok. + email + The user's email. If not set, it'll be extracted from $name and $domain. + organization + Your organization. If not set, it'll be empty. + smtpserver + The smtp server to use. If not set, it'll be smtp.$domain + smtpauth + 0 or 1. Whether to authenticate on the SMTP server. If not set, it'll be 0. + smtpuser + The login on the SMTP server. If not set, it'll be empty (same login as for reception) + smtppass + The password on the SMTP server. If not set, it'll be empty (if smtppass is empty but smtpuser is not, the user will be asked for the password). + recvtype + The type of server to receive from. 0 for POP3, 3 for IMAP4, 5 for a local MBOX file. If not set, it'll be 0 (POP3). + recvserver + The reception server. If not set, it'll be (pop|imap).$domain, depending on $recvtype. + recvuser + The login on the reception server. If not set, it'll be extracted from the Unix login information. + recvpass + The password on the reception server. If not set, it'll be empty (the user will be asked for it once per session). + imapdir + The IMAP subdirectory. If not set, it'll be empty, which is often sufficient. + mboxfile + The MBOX file to receive from if $recvtype is 5. If not set, /var/mail/$LOGIN. + mailbox + The MH mailbox to store mail in (for $recvtype 0 or 5). If not set, it'll be "Mail". + smtpssl + 0 or 1. Whether to use SSL for sending mail. If not set, it'll be 0. + recvssl + 0 or 1. Whether to use SSL for receiving mail. If not set, it'll be 0. + + + Here are the different variables you can use in the domain, name, email, organization, smtpserver, smtpuser, smtppass, recvserver, recvuser, recvpass, imapdir, mboxfile and mailbox fields: + + + $DEFAULTDOMAIN + The domain name as extracted from Unix hostname information. Often wrong. + $DOMAIN + The domain name as set in the domain variable, the first of the template file. + $USERNAME + The user's real name. + $LOGIN + The user's Unix login. + $NAME_MAIL + The user's real name as set in the name variable of the template field, in lowercase and with spaces replaced by dots. "Colin Leroy" becomes "colin.leroy". + $EMAIL + The email address as set in the email variable of the template field. + + + Be sure not to use a variable before defining it. + +
Hidden preferences -- 2.25.1