Creating a Mailbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
# <code>echo '''''password-for-user''''' > /srv/'''''example.com'''''/mailboxes/'''''user'''''/password</code> | # <code>echo '''''password-for-user''''' > /srv/'''''example.com'''''/mailboxes/'''''user'''''/password</code> | ||
The user should then be able to log into the server using the full email address as the username, and the password you used above. If the website is hosted on the same server, you can access the webmail via <code> | The user should then be able to log into the server using the full email address as the username, and the password you used above. If the website is hosted on the same server, you can access the webmail via <code>https://'''''example.com'''''/webmail</code>, again using the full email address and password. | ||
Remember, you may also need to [[Configuring DNS|configure DNS]] before mail is directed to the server. | Remember, you may also need to [[Configuring DNS|configure DNS]] before mail is directed to the server. |
Revision as of 14:45, 3 July 2019
Creating an email mailbox is relatively easy, and only needs a directory creating in the right location.
Example
In this example, the email address to be created is user@example.com
replace the bold with the relevant username and domain you want.
- Choose a complex password for the user. The user can change this later via webmail.
- Log into your server running Sympl as the
sympl
user. mkdir -p /srv/example.com/mailboxes/user
echo password-for-user > /srv/example.com/mailboxes/user/password
The user should then be able to log into the server using the full email address as the username, and the password you used above. If the website is hosted on the same server, you can access the webmail via https://example.com/webmail
, again using the full email address and password.
Remember, you may also need to configure DNS before mail is directed to the server.