postfix.postinst 236 B

123456789
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. add_rcconf postfix postfix NO
  4. gid=$(get_next_gid)
  5. add_group postfix $gid
  6. add_user postfix $(get_next_uid) $gid /etc/postfix
  7. gid=$(get_next_gid)
  8. add_group postdrop $gid
  9. add_service smtp 25/tcp