This is for the people that don't do documentation and are ready to deploy now.
If you have a mailserver running already, move PowerMail to another IP address. To do so, edit the files in /etc/powermail.
Now start the daemons:
# /etc/init.d/pplistener start pplistener: started # /etc/init.d/pplistener status pplistener: pplistener functioning ok: +OK OK! # /etc/init.d/powersmtp start powersmtp: started # /etc/init.d/powersmtp status powersmtp: PowerSMTP functioning ok: 200 OK! # /etc/init.d/powerpop start powerpop: started # /etc/init.d/powerpop status powerpop: PowerPOP functioning ok: +OK OK!
To check if all is well, run pptool:
# pptool status 127.0.0.1 223 mb, 452547 inodes, load: 0.15, read/write access 223 mb available for writing
This means that mail storage is online and functioning. Now check if the database connection is functioning:
# pptool orphans No orphans!This verifies that a connection could be made to the 'userbase'. More about orphans and the userbase later. Now deliver yourself a message. Depending on your setup, you may choose to deliver it by hand over SMTP or to move an MX record to your actual server, and use a regular mailing agent. After delivering a message, we can execute pptool again:
$ pptool dir 127.0.0.1 1 mailbox Mailbox # backends info@example.com 1 $ pptool list info@example.com 127.0.0.1 done listing 'info@example.com', 1 messages 1022754059:211363:snapcount.0.1 127.0.0.1:1101 157 * NOT REDUNDANT! 1 messages, 100% non-redundant 0 kilobytes netTo retrieve the message, connect to the popserver and login as 'info@example.com', and the message will be there.
To add users, edit /etc/powermail/mailboxes. There is no need to inform PowerMail of your changes, they are picked up automatically.
For more details, see the next chapter. If everything is clear already, head on to Section 10.5 and Chapter 6. Otherwise read the rest of the documentation for further explanation.