Chapter 10. The Userbases

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.

10.1. MySQL Plain

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:

id

Not read by PowerMail but may well be used to link mailboxes to other information.

mbox

Full name of this mailbox and also the email address that corresponds to it.

password

Password needed to access this mailbox.

Note

See Section 9.1 for how to encode passwords in plaintext or as a hash.

quotaMB

Quota of this mailbox, in megabytes. 0 stands for unlimited.

isForward

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.

fwdDest

If this mailbox is forwarded, this should contain a single email address to which email should be forwarded.