summaryrefslogtreecommitdiff
path: root/package/postfix/files/postfix.postinst
blob: 2d9a719a3f9507a60aaa7dd143aef2aad22c83f4 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf 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