Giter Site home page Giter Site logo

jkaberg / mailinabox-sogo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mail-in-a-box/mailinabox

17.0 17.0 5.0 2.13 MB

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

Home Page: https://mailinabox.email/

License: Creative Commons Zero v1.0 Universal

Shell 21.61% Nginx 0.27% HTML 24.30% Python 53.83%

mailinabox-sogo's People

Contributors

0xfelix avatar apeman76 avatar aspdye avatar biermeester avatar bizonix avatar brocktice avatar dhpiggott avatar fieu avatar h8h avatar hjjg avatar hnk avatar ikarus23 avatar jkaberg avatar joshdata avatar m4rcs avatar mariusbluem avatar mikenon avatar milani avatar mkropat avatar nomandera avatar nstanke avatar ponychicken avatar portabletech avatar randallsquared avatar schlypel avatar sfplayer1 avatar skosch avatar vdavez avatar yodax avatar zealot128 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

mailinabox-sogo's Issues

named and nsd4 bind to the same port

Startup of nsd4 fails because named (bind9) and nsd4 are bound to the same udp port: 53.

Any insight into what could be going on would be appreciated.

Thanks!

from running: netstat -anp udp | grep 53

tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      1804/named
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      1804/named
tcp6       0      0 :::53                   :::*                    LISTEN      1804/named
tcp6       0      0 ::1:953                 :::*                    LISTEN      1804/named
udp        0      0 127.0.0.1:53            0.0.0.0:*                           1804/named
udp6       0      0 :::53                   :::*                                1804/named

Waiting for the Mail-in-a-Box management daemon to start...

I can't seem to get the installer scripts to run. I think I've narrowed it down to management.sh but I'm not positive.

After attempting to start mailinabox.service I get the following output:

root@box:~/mailinabox-sogo# sudo service mailinabox status
โ— mailinabox.service - Management daemon for Mailinabox
   Loaded: loaded (/etc/systemd/system/mailinabox.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Tue 2016-12-13 09:46:39 PST; 18s ago
  Process: 23030 ExecStart=/usr/bin/python3 /root/mailinabox-sogo/management/daemon.py (code=exited, status=1/FAILURE)
 Main PID: 23030 (code=exited, status=1/FAILURE)

Dec 13 09:46:39 box systemd[1]: mailinabox.service: Main process exited, code=exited, status=1/FAILURE
Dec 13 09:46:39 box systemd[1]: mailinabox.service: Unit entered failed state.
Dec 13 09:46:39 box systemd[1]: mailinabox.service: Failed with result 'exit-code'.
Dec 13 09:46:39 box systemd[1]: mailinabox.service: Service hold-off time over, scheduling restart.
Dec 13 09:46:39 box systemd[1]: Stopped Management daemon for Mailinabox.
Dec 13 09:46:39 box systemd[1]: mailinabox.service: Start request repeated too quickly.
Dec 13 09:46:39 box systemd[1]: Failed to start Management daemon for Mailinabox.

How can I capture more in-depth logs about this particular service?

install problem

Hi,

I downloaded a fresh copy of ubuntu 16.04tls
steps:
1 sudo apt-get update
2 sudo apt-get upgrade
3 git clone https://github.com/jkaberg/mailinabox-sogo
4 cd mailinabox-sogo
5 sudo setup/start.sh

after a while i see some errors:
Waiting for the Mail-in-a-Box management daemon to start...
Waiting for the Mail-in-a-Box management daemon to start...
AND SO ON...

i checked the logfile:

Jan 11 07:14:36 mailinabox systemd[1]: Started Management daemon for Mailinabox.
Jan 11 07:14:36 mailinabox python3[25186]: Traceback (most recent call last):
Jan 11 07:14:36 mailinabox python3[25186]: File "/home/nike/mailinabox-sogo/management/daemon.py", line 16, in
Jan 11 07:14:36 mailinabox python3[25186]: env = utils.load_environment()
Jan 11 07:14:36 mailinabox python3[25186]: File "/home/nike/mailinabox-sogo/management/utils.py", line 13, in load_environment
Jan 11 07:14:36 mailinabox python3[25186]: return load_env_vars_from_file("/etc/mailinabox.conf")
Jan 11 07:14:36 mailinabox python3[25186]: File "/home/nike/mailinabox-sogo/management/utils.py", line 20, in load_env_vars_from_file
Jan 11 07:14:36 mailinabox python3[25186]: for line in open(fn): env.setdefault(*line.strip().split("=", 1))
Jan 11 07:14:36 mailinabox python3[25186]: File "/usr/lib/python3.5/codecs.py", line 321, in decode
Jan 11 07:14:36 mailinabox python3[25186]: (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 11 07:14:36 mailinabox python3[25186]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 108: invalid start byte
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Unit entered failed state.
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Failed with result 'exit-code'.
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Service hold-off time over, scheduling restart.
Jan 11 07:14:36 mailinabox systemd[1]: Stopped Management daemon for Mailinabox.
Jan 11 07:14:36 mailinabox systemd[1]: Started Management daemon for Mailinabox.
Jan 11 07:14:36 mailinabox python3[25203]: Traceback (most recent call last):
Jan 11 07:14:36 mailinabox python3[25203]: File "/home/nike/mailinabox-sogo/management/daemon.py", line 16, in
Jan 11 07:14:36 mailinabox python3[25203]: env = utils.load_environment()
Jan 11 07:14:36 mailinabox python3[25203]: File "/home/nike/mailinabox-sogo/management/utils.py", line 13, in load_environment
Jan 11 07:14:36 mailinabox python3[25203]: return load_env_vars_from_file("/etc/mailinabox.conf")
Jan 11 07:14:36 mailinabox python3[25203]: File "/home/nike/mailinabox-sogo/management/utils.py", line 20, in load_env_vars_from_file
Jan 11 07:14:36 mailinabox python3[25203]: for line in open(fn): env.setdefault(*line.strip().split("=", 1))
Jan 11 07:14:36 mailinabox python3[25203]: File "/usr/lib/python3.5/codecs.py", line 321, in decode
Jan 11 07:14:36 mailinabox python3[25203]: (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 11 07:14:36 mailinabox python3[25203]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 108: invalid start byte
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Unit entered failed state.
Jan 11 07:14:36 mailinabox systemd[1]: mailinabox.service: Failed with result 'exit-code'.
Jan 11 07:14:37 mailinabox systemd[1]: mailinabox.service: Service hold-off time over, scheduling restart.
Jan 11 07:14:37 mailinabox systemd[1]: Stopped Management daemon for Mailinabox.
Jan 11 07:14:37 mailinabox systemd[1]: Started Management daemon for Mailinabox.
Jan 11 07:14:37 mailinabox python3[25208]: Traceback (most recent call last):
Jan 11 07:14:37 mailinabox python3[25208]: File "/home/nike/mailinabox-sogo/management/daemon.py", line 16, in
Jan 11 07:14:37 mailinabox python3[25208]: env = utils.load_environment()
Jan 11 07:14:37 mailinabox python3[25208]: File "/home/nike/mailinabox-sogo/management/utils.py", line 13, in load_environment
Jan 11 07:14:37 mailinabox python3[25208]: return load_env_vars_from_file("/etc/mailinabox.conf")
Jan 11 07:14:37 mailinabox python3[25208]: File "/home/nike/mailinabox-sogo/management/utils.py", line 20, in load_env_vars_from_file
Jan 11 07:14:37 mailinabox python3[25208]: for line in open(fn): env.setdefault(*line.strip().split("=", 1))
Jan 11 07:14:37 mailinabox python3[25208]: File "/usr/lib/python3.5/codecs.py", line 321, in decode
Jan 11 07:14:37 mailinabox python3[25208]: (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 11 07:14:37 mailinabox python3[25208]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 108: invalid start byte
Jan 11 07:14:37 mailinabox systemd[1]: mailinabox.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 07:14:37 mailinabox systemd[1]: mailinabox.service: Unit entered failed state.
Jan 11 07:14:37 mailinabox systemd[1]: mailinabox.service: Failed with result 'exit-code'.
Jan 11 07:14:37 mailinabox systemd[1]: mailinabox.service: Service hold-off time over, scheduling restart.
Jan 11 07:14:37 mailinabox systemd[1]: Stopped Management daemon for Mailinabox.
Jan 11 07:14:37 mailinabox systemd[1]: Started Management daemon for Mailinabox.
Jan 11 07:14:37 mailinabox python3[25212]: Traceback (most recent call last):
Jan 11 07:14:37 mailinabox python3[25212]: File "/home/nike/mailinabox-sogo/management/daemon.py", line 16, in
Jan 11 07:14:37 mailinabox python3[25212]: env = utils.load_environment()
Jan 11 07:14:37 mailinabox python3[25212]: File "/home/nike/mailinabox-sogo/management/utils.py", line 13, in load_environment
Jan 11 07:14:37 mailinabox python3[25212]: return load_env_vars_from_file("/etc/mailinabox.conf")
Jan 11 07:14:37 mailinabox python3[25212]: File "/home/nike/mailinabox-sogo/management/utils.py", line 20, in load_env_vars_from_file

what is going on?
I have the same issue from the website mailinabox with ubuntu 14.04 from joshua.

Installer: packages 'unrar' & 'rar' not found

When running the setup, the installation fails for a missing package "unrar".

The package to be used instead is named "unrar-free".

edit: changing the line in setup/clamsmtpd.sh to unrar-free solved that one, but the next one "rar" i did not find

SSL Certbot

The LetsEncrypt Certbot is now failing to function, I believe this is because of a change in retrieval method as they do every so often.

Issues with webmail (can't change name or password, logging in redirects to 127.0.0.1)

I installed your fork in a Virtual Machine and it's working pretty well. NSD4 and TLS Cert generation aren't working but I just went around that by using my own cert and an external DNS.

However I'm having issues with SOGo and I can't find a solution for this when searching.
Setting the name and password from the admin interface works great but when a user tries to do this themselves they get an "Unhandled policy error: 21862" message.

Also another problem is that the domain redirects to 127.0.0.1 on login and the domain has to be inputted manually.

Future

  • create a new management with proper ORM support (for SQL migrations), blueprints and whatnot.
  • look into more automation (update spamlists, antivirus defenitions, blocklists...)

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.