#!/opt/local/bin/zsh

sudo dscl . -create /Groups/_fetchmail
sudo dscl . -create /Groups/_fetchmail UniqueID 31 
sudo dscl . -create /Users/_fetchmail
sudo dscl . -create /Users/_fetchmail UserShell /bin/false
sudo dscl . -create /Users/_fetchmail RealName "Fetchmail Mail Client"
sudo dscl . -create /Users/_fetchmail UniqueID 31
sudo dscl . -create /Users/_fetchmail PrimaryGroupID 31
sudo dscl . -create /Users/_fetchmail NFSHomeDirectory /opt/local/var/run/fetchmail

sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add _fetchmail _dovecot

#vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
#vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :

