modoboa / modoboa-installer

An installer for Modoboa
MIT License
257 stars 135 forks source link

Install on FreeBSD - anyone? #91

Closed mk-conn closed 3 years ago

mk-conn commented 7 years ago

Are there plans to make this work on FreeBSD?

tonioo commented 7 years ago

Yes, when I'll have some time. Since I'm not a FreeBSD user, I'll certainly take me more time so any help on this would be really appreciated.

marcotuna commented 7 years ago

Thumbs up for this!

marcotuna commented 7 years ago

Any updates?

tonioo commented 7 years ago

@marcotuna As I said, I'm not a freebsd user. I would really appreciate some help here...

herrbischoff commented 7 years ago

@tonioo: Sure, feel free to ask away where exactly you need assistance. I will gladly answer any question I can and help out in testing.

tonioo commented 7 years ago

@herrbischoff Great, thank you. Have you already tried a manual modoboa setup on FreeBSD?

marcotuna commented 7 years ago

I've been able to run the modoboa panel on FreeBSD but I struggled with Amavis, Postfix, Dovecot configuration which is a bit different from the one's generated from the scripts for Linux

tonioo commented 7 years ago

@marcotuna Can you tell me what are the differences please?

marcotuna commented 7 years ago

As soon as I get some time, I will post here some things that I've done. Since I've done this a few months ago I don't quite remember straight away.

herrbischoff commented 7 years ago

I recently had some time to spend on the manual FreeBSD installation. However, I got stuck on the Green Unicorn/uWSGI instructions. There are certain terms which are not clear at all.

For example, what does <modoboa dir> in the gunicorn command mean:

$ cd <modoboa dir>
$ gunicorn -c gunicorn.conf.py <modoboa dir>.wsgi:application

Also, into what folder does a uwsgi config file go?

Where Modoboa’s settings.py resides. This is also where the sitestatic and media directories reside.

Not true. settings.py is nested one folder deeper than sitestatic and media.

There are several more issues with the documentation. This part appears to be written by a person very familiar with Python deployment, whereas users like me might not be.

FWIW, I have started logging the commands needed to install the necessary dependencies on FreeBSD:

pkg install python py27-virtualenv py27-pip libxml2 libxslt libjpeg-turbo rrdtool libffi sudo bash curl postgresql96-server
sysrc postgresql_enable="YES"
service postgresql start
mkdir /home/modoboa
pw user add modoboa -d /home/modoboa
chown moboboa:modoboa /home/modoboa
su - modoboa
[...]
ozgurkazancci commented 4 years ago

Bad bump, but any update on this?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

savegame commented 3 years ago

yestoday i was install it, in FreeNAS 12 Jail (TrueNAS) ) but now has error, when try login

CSRF cookie not set.

maybe some wrong configuration ...

basbebe commented 2 years ago

+1

ozgurkazancci commented 2 years ago

+1

NuLL3rr0r commented 1 year ago

+1