email:install_a_full_mail_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
email:install_a_full_mail_server [2016/11/11 16:28] – peter | email:install_a_full_mail_server [2019/11/27 21:53] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Email - Install a full mail server ====== | ||
- | |||
- | ===== Requirements ===== | ||
- | |||
- | * Multiple domains using this for email (e.g. @company.com, | ||
- | * Webmail on your server (for anyone in the org to access email). | ||
- | * Aliases / redirects for some email addresses (e.g. so you can redirect " | ||
- | * DO NOT create "linux users" for every email user – it’s a huge security hole, and a massive pain in the ass for the sysadmin. | ||
- | * DO NOT do mail-relaying. | ||
- | |||
- | ===== What is needed ===== | ||
- | |||
- | * Web server [Nginx] | ||
- | * Database server (MySQL) | ||
- | * Email server (MTA) (Exim4) | ||
- | * IMAP server (Dovecot) | ||
- | * Webmail server (Roundcube) | ||
- | |||
- | |||
- | The database server will be used to manage ALL logins and usernames/ | ||
- | |||
- | |||
- | ===== Installation ===== | ||
- | |||
- | You need to install ALL of: | ||
- | |||
- | * apt-get install apache2-mpm-prefork\\ (Some of these email servers require PHP; PHP is crappy and requires mpm-prefork (the ' | ||
- | |||
- | * apt-get install mysql-client\\ (should auto-install something like: mysql-common + mysql-client-5.5) | ||
- | | ||
- | * apt-get install mysql-server\\ (should auto-install something like: mysql-server-5.5 + mysql-server-core-5.5) | ||
- | |||
- | * apt-get install exim4 | ||
- | * apt-get install exim4-base | ||
- | * apt-get install exim4-config | ||
- | * apt-get install exim4-daemon-heavy\\ (there' | ||
- | | ||
- | * apt-get install dovecot-core | ||
- | * apt-get install dovecot-imapd | ||
- | * apt-get install dovecot-mysql | ||
- | * apt-get install roundcube | ||
- | * apt-get install roundcube-core | ||
- | * apt-get install roundcube-mysql | ||
- | |||
- | |||
- | ===== References ===== | ||
- | |||
- | |||
- | http:// | ||
- | |||
- | https:// | ||
- | |||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | |||
email/install_a_full_mail_server.1478881737.txt.gz · Last modified: 2020/07/15 09:30 (external edit)