summaryrefslogtreecommitdiff
path: root/package/postfix/files/postfix.postinst
blob: 8c9fbba603c471adfa17a9e21e528b2d671824d4 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf postfix postfix NO
gid=$(get_next_gid)
add_group postfix $gid
add_user postfix $(get_next_uid) $gid /etc/postfix
gid=$(get_next_gid)
add_group postdrop $gid
add_service smtp 25/tcp