#!/bin/sh

! grep -q dovecot  ./etc/passwd && echo "dovecot:x:42:42:Dovecot unprivileged user,,,:/dev/null:/bin/false" >> ./etc/passwd
! grep -q dovecot  ./etc/group  && echo "dovecot:x:42" >> ./etc/group
! grep -q dovenull ./etc/passwd && echo "dovenull:x:43:43:Dovecot login user,,,:/dev/null:/bin/false" >> ./etc/passwd
! grep -q dovenull ./etc/group  && echo "dovenull:x:43" >> ./etc/group

