First you have to decide which user and group to use for the POPular programs. If you are (for testing purposes) running the proxy and the backend server on the same machine, both have to use the same user and group, otherwise you can use different users and groups though it is not recommended. Choose a user and group that are not used for anything else on the system. Don't use 'root'. All mailbox directories and mail message files must belong to the user and group you choose. This manual will use the user and group name 'pop'.
The following script can be used to set up the default directories used by POPular. If you want to use any other directories, change the script and call the programs with the proper options.
#!/bin/sh POPULAR_USER=pop POPULAR_GROUP=pop mkdir -p /etc/popular chmod 0755 /etc/popular mkdir -p /etc/popular/capa chmod 0755 /etc/popular/capa mkdir -p /var/log/popular chown $POPULAR_USER /var/log/popular chgrp $POPULAR_GROUP /var/log/popular chmod 0755 /var/log/popular mkdir -p /var/run/popular chown $POPULAR_USER /var/run/popular chgrp $POPULAR_GROUP /var/run/popular chmod 0755 /var/run/popular |