Creating a Mailbox: Difference between revisions

From Sympl Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
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>http://'''''example.com'''''/webmail</code>, again using the full email address and 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 <code>https://'''''example.com'''''/webmail</code>, again using the full email address and password.
 
Overnight, the password will be automatically encrypted, but you can also reset it by repeating the final step.


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.


== See Also ==
== See Also ==
* [[Mailbox Configuration Options]]
* [[Configuring an Email Client]]
* [[Configuring an Email Client]]
* [[Mailbox Configuration Options]]
* [[Email Configuration Options]]
* [[Email Configuration Options]]
* [[Configuring DNS]]
* [[Configuring DNS]]
[[Category:Basic Administration]] [[Category:Mail]]

Latest revision as of 14:13, 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.

  1. Choose a complex password for the user. The user can change this later via webmail.
  2. Log into your server running Sympl as the sympl user.
  3. mkdir -p /srv/example.com/mailboxes/user
  4. 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.

Overnight, the password will be automatically encrypted, but you can also reset it by repeating the final step.

Remember, you may also need to configure DNS before mail is directed to the server.

See Also