ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Mail/SetupMail
Revision: 818
Committed: 2006-07-03T21:51:44-07:00 (18 years, 11 months ago) by douglas
File size: 479 byte(s)
Log Message:
Woo!

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 mkdir -pv -m 0700 ~/.imap_mail
10 if [[ ! -f "$HOME/.imap_mail/$mailbox" ]]; then
11 echo -n "Creating $mailbox..."
12 mailutil create -verbose "$mailbox"
13 echo "done."
14 fi
15 done
16
17 mkdir -pv ~/bin
18
19 if [[ `whoami` == douglas ]]; then
20 install -pv SpamUpdate ~/bin/SpamUpdate
21 else
22 ln -fsv ~douglas/bin/SpamUpdate ~/bin/SpamUpdate
23 fi

Properties

Name Value
svn:executable *
svn:keywords Id