1sudo service dovecot stop 2sudo groupadd -g 5000 vmail 3sudo useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail 4sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf 5sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass 6sudo service dovecot start 7