summaryrefslogtreecommitdiff
path: root/web/config
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-09-03 12:10:30 -0600
committerEduardo Chappa <chappa@washington.edu>2018-09-03 12:10:30 -0600
commite089a860ea48cab784e33c922a6cc9bfb092aeba (patch)
tree8a22bb4bb4575e112ddba6668d2f9ffd69002a09 /web/config
parentfd310f16dad9cc1e05752e45d905ec1b3aa3c3d0 (diff)
downloadalpine-e089a860ea48cab784e33c922a6cc9bfb092aeba.tar.xz
* WebAlpine: Update configuration files and add script to download
yui_2.9.0.zip (there is no web version anymore). In addition add sample gmail and gmx configuration files.
Diffstat (limited to 'web/config')
-rw-r--r--web/config/alpine.tcl23
-rw-r--r--web/config/gmail.conf52
-rw-r--r--web/config/gmx.conf52
-rw-r--r--web/config/pine.conf6
4 files changed, 127 insertions, 6 deletions
diff --git a/web/config/alpine.tcl b/web/config/alpine.tcl
index 531dafaf..6d68ef76 100644
--- a/web/config/alpine.tcl
+++ b/web/config/alpine.tcl
@@ -27,7 +27,13 @@ set _wp(urlprefix) webmail
# file system path to CGI application files
# directory containing web alpine application scripts and supporting tools
-set _wp(fileroot) /usr/local/libexec/alpine
+# The htdocs/ directory is located at /srv/www/htdocs. Here we copy the
+# web directory to /srv/www/Webalpine/web using "tar cf" followed by
+# "tar xf" which preserves symbolic links
+# Original configuration:
+#set _wp(fileroot) /usr/local/libexec/alpine
+set _wp(fileroot) /srv/www/Webalpine/web
+
set _wp(tmpdir) /tmp
@@ -59,6 +65,7 @@ set _wp(defconf) $_wp(conffile)
set _wp(lib) [file join $_wp(fileroot) lib]
# directory used temporarily to stage attatched and detached files
+# this directory is owned by wwwrun:www
set _wp(detachpath) [file join $_wp(fileroot) detach]
set _wp(imagepath) [file join / $_wp(urlprefix) images]
@@ -129,8 +136,8 @@ set _wp(menuargs) {width="112" nowrap valign=top}
set _wp(ispell) /usr/local/bin/ispell
# Yahoo! User Interface Library location
-#set _wp(yui) $_wp(serverpath)/$_wp(appdir)/$_wp(ui2dir)/lib/yui
-set _wp(yui) "http://yui.yahooapis.com/2.7.0"
+set _wp(yui) $_wp(serverpath)/$_wp(appdir)/$_wp(ui2dir)/lib/yui
+#set _wp(yui) "http://yui.yahooapis.com/2.7.0"
# usage reporter - input: username as first command line argument
# output: space separated integers usage and total
@@ -179,6 +186,16 @@ set _wp(indexheight) [expr {$_wp(indexheight) <= 20 ? 20 : $_wp(indexheight) >=
#
set _wp(hosts) {
{
+ Gmail
+ imap.gmail.com/ssl
+ $_wp(confdir)/gmail.conf
+ }
+ {
+ GMX
+ imap.gmx.com/ssl
+ $_wp(confdir)/gmx.conf
+ }
+ {
Deskmail
$User.deskmail.washington.edu/ssl
$_wp(confdir)/conf.deskmail
diff --git a/web/config/gmail.conf b/web/config/gmail.conf
new file mode 100644
index 00000000..4019eaf5
--- /dev/null
+++ b/web/config/gmail.conf
@@ -0,0 +1,52 @@
+#
+# Defaults that make more sense in our browser
+# oriented world...
+#
+inbox-path={imap.gmail.com/ssl}inbox
+
+smtp-server=smtp.gmail.com/submit/tls
+
+user-domain=gmail.com
+
+folder-collections="Folders on Gmail" {imap.gmail.com/ssl}[[Gmail]]/[]
+
+literal-signature=""
+
+address-book={imap.gmail.com/ssl}remote_addrbook
+
+feature-list=enable-msg-view-urls,
+ enable-msg-view-web-hostnames,
+ enable-msg-view-addresses,
+ enable-msg-view-attachments,
+ compose-rejects-unqualified-addrs,
+ enable-aggregate-command-set,
+ auto-zoom-after-select,
+ auto-unselect-after-apply,
+ quell-empty-directories
+
+normal-background-color=white
+normal-foreground-color=black
+quote1-foreground-color=000,000,153
+quote1-background-color=white
+quote2-foreground-color=051,051,255
+quote2-background-color=white
+quote3-foreground-color=051,153,255
+quote3-background-color=white
+
+rsh-open-timeout=0
+ssh-open-timeout=0
+
+index-format=ATT STATUS FROMORTO(18%) SUBJECT(70%) SMARTDATETIME(12%) SIZENARROW PRIORITY
+
+viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
+ /HDR=message-id/FG=black/BG=206\x2C206\x2C206,
+ /HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
+
+sort-key=arrival
+
+addressbook-formats=FULLNAME NICKNAME ADDRESS
+
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
+
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php
+
diff --git a/web/config/gmx.conf b/web/config/gmx.conf
new file mode 100644
index 00000000..4a0d9e3d
--- /dev/null
+++ b/web/config/gmx.conf
@@ -0,0 +1,52 @@
+#
+# Defaults that make more sense in our browser
+# oriented world...
+#
+inbox-path={imap.gmx.com/ssl}inbox
+
+smtp-server=mail.gmx.comssl
+
+user-domain=gmx.com
+
+folder-collections="Folders on GMX" {imap.gmx.com/ssl}[]
+
+literal-signature=""
+
+address-book={imap.gmx.com/ssl}remote_addrbook
+
+feature-list=enable-msg-view-urls,
+ enable-msg-view-web-hostnames,
+ enable-msg-view-addresses,
+ enable-msg-view-attachments,
+ compose-rejects-unqualified-addrs,
+ enable-aggregate-command-set,
+ auto-zoom-after-select,
+ auto-unselect-after-apply,
+ quell-empty-directories
+
+normal-background-color=white
+normal-foreground-color=black
+quote1-foreground-color=000,000,153
+quote1-background-color=white
+quote2-foreground-color=051,051,255
+quote2-background-color=white
+quote3-foreground-color=051,153,255
+quote3-background-color=white
+
+rsh-open-timeout=0
+ssh-open-timeout=0
+
+index-format=ATT STATUS FROMORTO(18%) SUBJECT(70%) SMARTDATETIME(12%) SIZENARROW PRIORITY
+
+viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
+ /HDR=message-id/FG=black/BG=206\x2C206\x2C206,
+ /HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
+
+sort-key=arrival
+
+addressbook-formats=FULLNAME NICKNAME ADDRESS
+
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
+
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php
+
diff --git a/web/config/pine.conf b/web/config/pine.conf
index e9f4c29c..79f8bd34 100644
--- a/web/config/pine.conf
+++ b/web/config/pine.conf
@@ -42,11 +42,11 @@ viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
/HDR=message-id/FG=black/BG=206\x2C206\x2C206,
/HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
-sort-key=date
+sort-key=arrival
addressbook-formats=FULLNAME NICKNAME ADDRESS
-rss-news=http://uwnews.org/apps/uwnews/public/rss.aspx?q=uwnAllCategories&numToShow=10
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
-rss-weather=http://www.weather.gov/xml/current_obs/KBFI.rss
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php