source: trunk/debathena/config/nmh-config/debian/inc.debathena @ 25809

Revision 25809, 961 bytes checked in by jdreed, 12 years ago (diff)
Clean up the Cyrus retirement message and provide a link
  • Property svn:executable set to *
Line 
1#!/bin/bash
2if ! [ -e ~/.config/debathena/nmh-in-path ]; then
3    mkdir -p ~/.config/debathena >/dev/null 2>&1 && echo yes > ~/.config/debathena/nmh-in-path
4fi
5
6if ! [ -e ~/.config/debathena/nmh-cyrus-warned ]; then
7    cat <<EOF >&2
8If you are seeing this message, you are using POP to connect to MIT's
9legacy mail ("Cyrus") infrastructure.
10
11Please note that MIT is planning to retire the Cyrus IMAP/POP servers
12in December 2013.  You will be contacted individually prior to your
13scheduled migration.  After your migration, you will no longer be able
14to use "inc" to check your e-mail, and will have to migrate to a
15different e-mail client such as Pine.
16
17For more information, please see http://debathena.mit.edu/inc
18(You will only receive this message once.)
19EOF
20    mkdir -p ~/.config/debathena >/dev/null 2>&1 && touch ~/.config/debathena/nmh-cyrus-warned
21fi
22
23exec -a inc /usr/bin/mh/inc.debathena-orig -host "${ATHENA_USER:-$USER}.mail.mit.edu" -sasl "$@"
Note: See TracBrowser for help on using the repository browser.