Instructions for web alpine by L.Chiappetti

After innumerable years of happy use of alpine (and formerly pine) on Linux (and Unix) as local mail user agent on my personal workstation, and occasional use of a local imap server accessed remotely by a PC-(al)pine installation on a remote laptop, I recently (July 2011) decided to give a try to web alpine.

I never had a real need to use a web mailer (for long lasting missions I preferred to carry a laptop with PC-alpine and activate a local imap server on my personal workstation, for short trips I can live without email ... or eventually ssh or telnet), but this summer I wanted to check my mail from a public Internet point, and wished to do it being able to access my long list of folders and using an interface as close as possible to the one I'm used to (which I consider more or less ideal). So I rejected the idea to use one of the common imap servers of the institute, with the squirrel web mailer, but spent some time experimenting with web alpine in early July 2011.

I did my test. I have the impression that, due to the dismissal of alpine by UW, web alpine remains a half-cooked job (well, may be 80% cooked), particulary for what concerns the installation and user documentation. It is a pity since it looks rather promising to me.

Starting point

I used this PDF document by Mike Brudenell as starting point.

This is an account of what I did involving all peculiarities and troubles encountered.

Prerequisites

Procedure

Following Mike Brudenell notes and the steps described therein (I use the names in such document in boldface and number them in order of occurrence in such document).
  1. Obtaining the software is implicit in the prerequisites
  2. Use the correct tclsh interpreter is OK in my case (/usr/bin/tclsh exists and is in the path)

  3. Compile the software in my case was not implicit in my prerequisite installation. I discovered it later. My alpine installation had no TCL support built in.
    To play safe I did a complete clone of my alpine-2.00 tree (which I left alone) into alpine-2.00bis, cd to there and did The version of TCL is site dependent and should be discovered by trial and error.

  4. Install the software
    The name and commands for this step are somewhat misleading as explained below.

    All operations below are done in the web subdirectory of the alpine (alpine-2.00bis for me) or its subdirectories unless otherwise stated.

  5. Configure web server to serve up Web Alpine in my case is

  6. Configure Web Alpine alpine.tcl in my case is
    the editing of file /poseidon/WWW/Primary/Webalpine/web/config/alpine.tcl
    in which I changed the following lines (some are obvious, some are less obvious and perhaps more critical)

  7. Configure Web Alpine conf.yorkmail in my case is (consistently with the above configuration)
    in directory /poseidon/WWW/Primary/Webalpine/web/config copying the default pine.conf untouched to test.conf
    The final customization will be done later in my personal "remote .pinerc" (which is very important and for which see below).

  8. Configure Web Alpine Create and link to detach directory in my case is
    mkdir /var/spool/web-alpine /var/spool/web-alpine/detach
    chown wwwrun:www /var/spool/web-alpine /var/spool/web-alpine/detach
    chmod 550 /var/spool/web-alpine
    chmod 750 /var/spool/web-alpine/detach
    cd /poseidon/WWW/Primary/Webalpine/web
    rm detach
    ln -sn /var/spool/web-alpine/detach detach

    also this ?
    cd /poseidon/WWW/Primary/Webalpine/web/cgi
    rm detach
    ln -sn /var/spool/web-alpine/detach detach

  9. Fix bugs in the distribution and do other customizations which are not listed in Mike Brudenell's doc.

  10. Restart Apache and test in my case is

User customization

My personal .pinerc I use with normal alpine is somewhat unusual. In order to emulate at least the first two categories of things, or in general to have web alpine working, I had to manually edit the last container in the remote pinerc file as follows:

The other differences between .pinerc and the remote pinerc occur without any specific action on my part.

The real story

The above gives a linear flow (or better tries to reconstruct an ideal linear flow), but things did not go exactly like that, and I worked by trial and error.

More or less annoying features

In the standard view, when clicking on a message to view its content, this is not displayed (an empty HTML frame appears). The apache error log gives a number of errors in newview.tcl.

The wished sorting (by arrival with most recent message last) is not honoured. Folder indices are in reverse order (although clicking on the date column header gives the wished order). This seems to apply to all folders in the standard view, and only to inbox in the HTML view.

In the HTML view long address lists (FROMORTO) are not truncated.

In the HTML view the colours in the header sometimes behave in a funny way, i.e. the background extends to only part of a line, or the header gray background continues in the message body. This seems to occur after an attachment index, like if the end of the header is not detected correctly.

There is no direct correspondence to the "aggregate command set", although the standard interface provides a way to select manually groups of messages and move, copy or delete them in block.

For the rest web alpine in HTML mode provides a decent way to access one's mail while away to alpine users.






























































sax.iasf-milano.inaf.it/~lucio/temp/Urtiga/Services/webalpine.html :: original creation 2018 ago 29 11:06:50 CEST :: last edit 2018 Aug 29 11:06:50 CEST