[24045] in Source-Commits
/svn/athena r23649 - in trunk/debathena/config: . mutt-config mutt-config/debian
daemon@ATHENA.MIT.EDU (Gregory Nathan Price)
Sat Mar 28 21:00:17 2009
X-Barracuda-Envelope-From: price@mit.edu
Date: Sat, 28 Mar 2009 20:59:50 -0400
From: Gregory Nathan Price <price@MIT.EDU>
Message-Id: <200903290059.n2T0xoEf023203@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: price
Date: 2009-03-28 20:59:49 -0400 (Sat, 28 Mar 2009)
New Revision: 23649
Added:
trunk/debathena/config/mutt-config/
trunk/debathena/config/mutt-config/debian/
trunk/debathena/config/mutt-config/debian/changelog
trunk/debathena/config/mutt-config/debian/compat
trunk/debathena/config/mutt-config/debian/control.in
trunk/debathena/config/mutt-config/debian/copyright
trunk/debathena/config/mutt-config/debian/debathena-mutt-config.install
trunk/debathena/config/mutt-config/debian/debathena.rc
trunk/debathena/config/mutt-config/debian/rules
Log:
Add debathena-mutt-config.
Added: trunk/debathena/config/mutt-config/debian/changelog
===================================================================
--- trunk/debathena/config/mutt-config/debian/changelog 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/changelog 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1,5 @@
+debathena-mutt-config (1.0) unstable; urgency=low
+
+ * Initial release.
+
+ -- Greg Price <price@mit.edu> Sat, 28 Mar 2009 20:12:46 -0400
Added: trunk/debathena/config/mutt-config/debian/compat
===================================================================
--- trunk/debathena/config/mutt-config/debian/compat 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/compat 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1 @@
+5
Added: trunk/debathena/config/mutt-config/debian/control.in
===================================================================
--- trunk/debathena/config/mutt-config/debian/control.in 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/control.in 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1,14 @@
+Source: debathena-mutt-config
+Section: debathena-config/net
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: @cdbs@
+Standards-Version: 3.8.0
+
+Package: debathena-mutt-config
+Architecture: all
+Depends: ${misc:Depends}, debathena-msmtp-config, mutt
+Description: Mutt configuration for Debathena
+ This package configures Mutt for the Debathena system,
+ setting it to use MIT's IMAP and outgoing-SMTP servers
+ and changing some other pertinent settings.
Added: trunk/debathena/config/mutt-config/debian/copyright
===================================================================
--- trunk/debathena/config/mutt-config/debian/copyright 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/copyright 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1,31 @@
+This package was created as part of the Debathena Project
+<http://debathena.mit.edu/> of the MIT Student Information Processing
+Board.
+
+The source code was obtained from the Athena SVN repository at
+<svn://debathena.mit.edu/athena/trunk>, and is licensed as follows:
+
+ Copyright © 2009 Greg Price
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+The Debian packaging is Copyright © 2009 Greg Price, and has the same
+license as the original software.
Added: trunk/debathena/config/mutt-config/debian/debathena-mutt-config.install
===================================================================
--- trunk/debathena/config/mutt-config/debian/debathena-mutt-config.install 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/debathena-mutt-config.install 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1 @@
+debian/debathena.rc etc/Muttrc.d
Added: trunk/debathena/config/mutt-config/debian/debathena.rc
===================================================================
--- trunk/debathena/config/mutt-config/debian/debathena.rc 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/debathena.rc 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1,50 @@
+# Mutt configuration for Debathena.
+#
+# All of the following are documented on the web here:
+# http://www.mutt.org/doc/devel/manual.html
+
+
+# Set MIT IMAP as the location of the inbox and other folders.
+set folder="imap://$USER@`hesinfo $USER pobox | awk '{print $2}'`"
+set spoolfile=+INBOX
+set record=+INBOX.sent-mail
+set postponed=+INBOX.postponed-msgs
+
+# TODO can we rely on $ATHENA_USER and use it here?
+
+
+# don't always prompt to move mail to ~/mbox
+set move=no
+
+
+# Use the MIT spam score for sorting/filtering by spam value.
+set imap_headers="X-Spam-Score"
+spam "X-Spam-Score:.(.*)" "%1"
+
+
+# Pass 'To: joeuser' through to the mail system, rather than assuming
+# it means 'To: joeuser@thishost.mit.edu'.
+set use_domain=no
+
+
+# TODO is there a reasonable way to implement this?
+#set query_command = "athrun sipb mutt_ldap_query.pl %s"
+
+
+
+
+# TODO possibly enable header caching
+#set header_cache=~/.muttcache
+
+# TODO possibly
+#set imap_check_subscribed
+# Really this looks like a weirdness in upstream, for any site.
+
+# TODO auto_view?
+# or upstream in debian
+
+
+# TODO use debathena-msmtp, like -alpine-config
+
+
+# TODO deal with Etch's lack of /etc/Muttrc.d/
Added: trunk/debathena/config/mutt-config/debian/rules
===================================================================
--- trunk/debathena/config/mutt-config/debian/rules 2009-03-28 17:58:12 UTC (rev 23648)
+++ trunk/debathena/config/mutt-config/debian/rules 2009-03-29 00:59:49 UTC (rev 23649)
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
Property changes on: trunk/debathena/config/mutt-config/debian/rules
___________________________________________________________________
Name: svn:executable
+ *