ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Mail/SetupMail
Revision: 809
Committed: 2006-07-03T04:07:36-07:00 (18 years, 11 months ago) by douglas
File size: 457 byte(s)
Log Message:
Hmm...

File Contents

# Content
1 #!/usr/local/bin/bash
2 # Setup Mail
3 #
4 # Douglas Thrift
5 #
6 # $Id$
7
8 for mailbox in INBOX Sent\ Items Drafts Spam/{Assassin,False\ {Negative,Positive}}; do
9 mailboxpath="$HOME/.imap_mail/$mailbox"
10 if [[ ! -f "$mailboxpath" ]]; then
11 mkdir -pv "`dirname "$mailboxpath"`"
12 mailutil create "$mailbox"
13 fi
14 done
15
16 if [[ `whoami` == douglas ]]; then
17 install -pv SpamUpdate ~/bin/SpamUpdate
18 else
19 mkdir -pv ~/bin
20 ln -fsv ~douglas/bin/SpamUpdate ~/bin/SpamUpdate
21 fi

Properties

Name Value
svn:executable *
svn:keywords Id