Setup your @planetofnix.com email
Once you have been granted wheel access on the pon server, you will be able to configure an email address for yourself. This is done as a challenge to confirm your knowledge of how the email system is setup so you can assist users with email configuration issues.
We use opensmtpd and Dovecot for the email system. To configure an email account for yourself, you'll have to modify the following 3 files located in /etc/mail on the pon server. You'll need to use doas to give yourself write permissions on them.
table passwd passwd:/etc/mail/passwd table virtuals file:/etc/mail/virtuals table users file:/etc/mail/users
Use the existing lines in these files as a template for your own entry. You can generate the password hash needed for the /etc/mail/passwd file using this command:
encrypt -p
This will prompt for a password and spit out a bcrypt password hash.
NOTE: you need to restart smtpd after adding your account for it to take effect
doas rcctl restart smtpd
Setup your email client and send a test message to support@planetofnix.com
Setup Shared support@ mailBoxes
The support@planetofnix.com email address has some shared mailboxes you need to connect to. This is done using symbolic links. Create them like this - replace username with your mailbox below.
cd /var/vmail/planetofnix.com/username/Maildir # #Make sure you are in the correct directory before running the commands below. #REPLACE username above with your username. # ln -s /var/vmail/planetofnix.com/support/Maildir/ .shared.support ln -s /var/vmail/planetofnix.com/support/Maildir/.INBOX.Documentation .shared.support.Documentation ln -s /var/vmail/planetofnix.com/support/Maildir/.INBOX.TeamLogs .shared.support.TeamLogs ln -s /var/vmail/planetofnix.com/support/MailDir/.INBOX.User\ Support .shared.support.User\ Support ln -s /var/vmail/planetofnix.com/support/MailDir/.INBOX.Abuse\ Reports .shared.support.Abuse\ Reports
You may have to refresh or subscribe to the new mailboxes. Your mail client will have a process for this.