PowerMail comes with a number of userbases. Some of those are documented here. The default userbase is currently 'text'. Which userbase to employ should be configured in power.conf by setting the userbase parameter.
This is purely a mail table with no hooks into the PowerDNS Platform. Use it if email is entirely separate from your DNS products.
This is the userbase that corresponds to the schema as shown in Chapter 4. It is called 'mysqlplain'.
The fields in the mboxes table are described below:
Not read by PowerMail but may well be used to link mailboxes to other information.
Full name of this mailbox and also the email address that corresponds to it.
Password needed to access this mailbox.
![]() | See Section 9.1 for how to encode passwords in plaintext or as a hash. |
Quota of this mailbox, in megabytes. 0 stands for unlimited.
If true, this mailbox is a forward to the address specified in fwdDest. Will only work if an SMTP forwarder has been defined, see Section 9.2.
If this mailbox is forwarded, this should contain a single email address to which email should be forwarded.
This userbase needs to be able to find the MySQL database and connect to it with the proper credentials. For this purpose, the following entries can be set in power.conf or, if desired, powersmtp.conf and powerpop.conf:
Database name to connect to. Defaults to 'powermail'.
Location of MySQL installation. Defaults to 127.0.0.1.
Password to connect with. Defaults to the emtpy string.
User to connect as. Defaults to the empty string, which means 'current unix username'.