Ticket #1342: mutt-config2.diff
File mutt-config2.diff, 2.9 KB (added by rakavan, 11 years ago) |
---|
-
debian/debathena-mutt-config.install
1 1 debian/debathena.rc etc/Muttrc.d 2 debian/debathena-mutt-folder usr/lib/debathena-mutt-config2 debian/debathena-mutt-folders usr/lib/debathena-mutt-config -
debian/debathena-mutt-folder
1 #!/bin/sh2 user=${ATHENA_USER:-$USER}3 echo "imaps://$user@$user.mail.mit.edu/" -
debian/debathena.rc
5 5 6 6 7 7 # Set MIT IMAP as the location of the inbox and other folders. 8 set folder=`/usr/lib/debathena-mutt-config/debathena-mutt-folder` 9 set spoolfile=+INBOX 10 set record=+INBOX.sent-mail11 s et postponed=+INBOX.postponed-msgs8 # The debathena-mutt-folders script sets the folder, spoolfile, record, and 9 # postponed options based on whether the user is using Exchange or IMAP for 10 # their mail 11 source /usr/lib/debathena-mutt-config/debathena-mutt-folders| 12 12 13 13 # Use MIT's outgoing SMTP servers. 14 14 set sendmail="/usr/lib/debathena-msmtp -t" -
debian/debathena-mutt-folders
1 1 #!/bin/sh 2 2 3 user=${ATHENA_USER:-$USER} 3 echo "imaps://$user@$user.mail.mit.edu/" 4 chpobox ${user} | grep 'Type EXCHANGE' > /dev/null 2>&1 5 # grep exits 0 if the pattern matches. 6 EXCHANGE=$? 7 8 echo "set folder=\"imaps://${user}@${user}.mail.mit.edu/\"" 9 echo "set spoolfile=\"+INBOX\"" 10 11 if [ ${EXCHANGE} -eq 0 ]; then 12 # We're using an exchange server, use its setting 13 echo "set record=\"+Sent Items\""; 14 echo "set postponed=\"+Drafts\""; 15 else 16 # We're using an IMAP server, keep the old setting 17 echo "set record=\"+INBOX.sent-mail\""; 18 echo "set postponed=\"+INBOX.postponed-msgs\""; 19 fi -
debian/changelog
7 7 * Switch from control.in to control (Trac: #561) 8 8 * Bump Standards-Version to 3.9.3 9 9 * Bump compat level to 7 10 11 [ Ryan Kavanagh ] 12 * Set the appropriate record, folder, spoolfile, and postponed location 13 for Exchange users. This change introduces the debathena-mutt-folders 14 script, which supersedes the debathena-mutt-folder script 15 (Trac: #1342) 10 16 11 -- Jonathan Reed <jdreed@mit.edu> Wed, 03 Apr 2013 13:38:46-040017 -- Ryan Kavanagh <rak@debian.org> Sat, 04 May 2013 10:41:37 -0400 12 18 13 19 debathena-mutt-config (1.5) UNRELEASED; urgency=low 14 20