modified neomail 1.24

"David Mathog" <[email protected]> Wed, 02 Feb 2005 08:18:19 -0800
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
I've made a few mods over the last couple of years to our
local copy of neomail 1.24.  Perhaps some of these might
be of interest to other people.  If so, you can download it here
(look for #Mathog comments and variables related to those
comments).

ftp://saf.bio.caltech.edu/pub/software/linux_or_unix_tools/neomail_citmods.pl
ftp://saf.bio.caltech.edu/pub/software/linux_or_unix_tools/refresh.gif

Some of the mods were:

1.  treat all folders starting with sent the same as sentmail (because
break up sentmail by year, sent2003, etc.)
2.  add a toggle so that only unread messages are shown (to use this
rename the original refresh.gif newrefresh.gif and then drop the
one provided in to replace refresh.gif.)  This results in a red and
a blue refresh icon.  Click the blue one and it toggles back and forth
between showing all messages and just showing unread ones.  The red
refresh works like the original refresh.  I added this because there
are generally a couple of hundred messages in my inbox that I've saved
(yes, that's bad form) and malformed email dates were dropping in on
the 14th page where they were hard to find.
3.  Some changes to the login method, mine uses an apache module on
the server to filter logins by username/password on that server (https,
of course).  This eliminates the use of explicit username/password
coming in on the URL.  It's done this way in httpd.conf:

<Directory "/usr/local/apache/cgi-bin/local_auth">
  Options FollowSymLinks
# has to be through https
    RewriteEngine        on
    RewriteCond          %{HTTPS} !=on
    RewriteRule          (.*)$
https://%{SERVER_NAME}/cgi-bin/local_auth/$1 [R]
#
# BOTH of the following conditions must be met. Only run these tests if
# it is already https.  Otherwise it will prompt for a password before
# the secure connection is established.
# has to be from local AND a valid user (using mod_auth_sys)
#
    Satisfy all

    Order deny,allow
    Deny from all
#put alloed local network addresses here
    Allow from XXX.XXX.XXX.XXX/16

    AuthType             basic
    AuthName             "Local password protected area"
    Require              valid-user

</Directory>


Regards,

David Mathog
[email protected]
Manager, Sequence Analysis Facility, Biology Division, Caltech


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl