Coder Social home page Coder Social logo

wesley974 / mailserver Goto Github PK

View Code? Open in Web Editor NEW
36.0 10.0 11.0 18.41 MB

OpenBSD Mailserver for production

License: BSD 3-Clause "New" or "Revised" License

Ruby 8.90% HTML 5.01% Shell 2.53% JavaScript 68.02% CSS 11.10% PHP 4.39% Sieve 0.03%
openbsd mailserver gui full

mailserver's Introduction

OpenBSD Mailserver for production

A full mailserver with an admin GUI and a domain admin GUI. This works on OpenBSD 6.0.

Includes:

  • postfix
  • dovecot
  • spamassasin with automatic updates
  • clamav with automatic updates
  • packet filter
  • roundcube webmail (with sauserprefs plugin)
  • dkimproxy (sign out)
  • rmspams
  • a fully responsive theme for mobile devices (auto switch)

*The admin and account apps forked from the free mailserv project.

You get access to the account app via Roundcube (admin button).

Installation

Type this at question 'Set name(s)?': -g* -x* +xb*

From a fresh OpenBSD install...

Get git

echo installpath=ftp2.fr.openbsd.org > /etc/pkg.conf
pkg_add git

Update the box

cd /usr/local/sbin
ftp https://stable.mtier.org/openup
chmod +x openup
openup && reboot

Fetch the project

cd /var
git clone https://github.com/wesley974/mailserver

Install the GUI

Don't forget to tune your hosts file and verify your hostname!

/var/mailserver/install/install_gui.sh
/var/mailserver/install/build_db.sh

Install the mail system

By defaut, a 1024 domain key will be generated, if you wish to generate a 2048 domain key, use '/var/mailserver/install/install_system.sh -max'

/var/mailserver/install/install_system.sh 
/var/mailserver/install/enable_admin_rc.sh

USAGE

Execute the apps

/var/mailserver/install/run_gui.sh

Set the mailserver administrator

Just browse https://ip_address:4200/getting_started

Then set the email for root messages :

/var/mailserver/install/sysmail.sh

Security, backup config files

/var/mailserver/install/backup_conf.sh

Security, generate checksum (SHA256) for the config files

/var/mailserver/install/checksum_conf.sh

After an update (openup), check for modified config files :

sha256 -c /var/mailserver/install/SHA256

The mailserver app

Just browse https://ip_address:4200

Your webmail

Just browse https://ip_address

Enjoy!

Use mailserver entirely at your own risk. No one will help you. And if you like the project and if you wish updates, support it adding a star (โ˜…).

mailserver's People

Contributors

stoege avatar wesley974 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mailserver's Issues

Stable branch?

Hello there! I love to see an actively maintained OpenBSD mail server project, big fan of mailserv and glad I can run this on 5.9. Before I set this up in production, I wanted to check if I should just be following the head of master, or if there is a better stable release? Is git pull the best upgrade mechanism for future bugfixes? Thanks!

Update existing installation?

You've made several commits, considerable fixes recently.
How can we apply your recent fixes to our mailserver installation, without removing and re-installing it again?
Many thanks.

PHP error from Roundcube

PHP message: PHP Warning: config.inc.php was not found. Please migrate your config by running bin/update.sh in /var/www/roundcubemail/program/lib/Roundcube/rcube_config.php on line 214

Unlimited space mailbox?

Hello and thanks for recent updates, great effort!
On the mailserver admin panel, how can I set unlimited space for an e-mail account? When we create an account, what should we write so it won't set any specific mailbox size limit for that account?
Thanks.

OpenBSD 6.4?

Hello!
How to install on OpenBSD 6.4?
Thank you very much!

Continue with the project

I've been following this project since I learned about jumpstart, I want it to be completed and implemented.

Do not stop the project, it has a future. Need help?

bind sieve on localhost only?

Any reason to let the Pigeonhole/ManageSieve daemon listen on ALL (both local and outside IP) interfaces/IPs, through the ports 2000 and 4190? Any disadvantages of setting them to bind ONLY on localhost/loopback IP?
Thanks.

Webmail path?

Does the installation modify any settings on Nginx and/or PHP module on the system? Let's assume that mailserver was installed into a Webserver box, would there be any conflicts?
While it reads as "To access Webmail, just browse https://ip_address" in README, I'd like to ask, what if there was an -already- actively running http server on https://ip_address (or http://ip_address)?
Regular Webmail interface would be much better accessible on http://ip_address/webmail. How to achieve that?

getting_started not found?

Started installing mailserver on an OpenBSD 5.9 VPS. Everything ran smooth till the step:

"Set the mailserver administrator
Just browse https://ip_address:4200/getting_started" 

When I browse that page with server's IP address, I get HTTP 404.

/var/log/httpd.err reads as:

2016/07/03 11:13:01 [error] 4022#0: *3 open() "/var/www/roundcubemail/getting_started" failed (2: No such file or directory), client: 88.200.xx.xx, server: $

Tried rcctl restart nginx - no luck.
Any idea?
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.