]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/hackbard/sendmail/sendmail.setup
another udev-fix
[hdw-linux/hdw-linux.git] / packages / hackbard / sendmail / sendmail.setup
1 setup_block()   {
2         useradd -u 2000 -g mail -d /var/mail smmsp || true
3         chmod 1777 /tmp
4         chmod 1777 /var/mail
5         mkdir -p /var/spool/mqueue
6         chown smmsp /var/spool/clientmqueue
7         [ -f /var/spool/clientmqueue/sm-client.st ] && \
8                 chown smmsp /var/spool/clientmqueue/sm-client.st
9                 }
10
11 uninstall_block()       {
12         userdel smmsp || true
13                         }