neutron icon indicating copy to clipboard operation
neutron copied to clipboard

Unsure on config for "sub-slug-URI"

Open ozra opened this issue 9 years ago • 6 comments

I've installed from deb, and I've reverse-proxied from nginx on mysite.tld/mailn - but when visiting the page, it tries to load js from mysite.tld/src/... (apparantly developer-mode?) instead of mysite.tld/mailn/src/.... I didn't figure out where to tell neutronmail that it's on a sub-slug (/mailn/), since it doesn't seem to investigate its path it self.

Also, the packager page (https://packager.io/gh/emersion/neutron) shows all builds as failed since 4 months back, so I don't know if I'm running the latest version (couldn't figure out how to get the neutronmail binary to tell me the version either)

ozra avatar Sep 09 '16 09:09 ozra

I don't think the WebClient (https://github.com/ProtonMail/WebClient) supports being served from a custom path.

Yeah, packager builds fail and I don't know why...

emersion avatar Sep 09 '16 09:09 emersion

Ok, I'll just put it on it's own domain. Would you recommend me to build it from source, or is the package "up to date enough"?

ozra avatar Sep 09 '16 10:09 ozra

Hmm, I don't seem to be able to "sign up". I'm using my imap user and passwd. After the captcha, it XHR's and fails: (log output from neutronmail)

[Macaron] 2016-09-09 13:08:20: Started POST /api/users for 127.0.0.1
[Macaron] 2016-09-09 13:08:20: Completed /api/users 500 Internal Server Error in 19.180886ms

Any ideas?

ozra avatar Sep 09 '16 11:09 ozra

Wait a minute, sorry: I added conf.json to "/etc/neutronmail", but I removed it again, because neutronmail refused to start because of:

/etc/neutronmail/conf.d/config.json: line 2: Memory:: command not found

That might have a lot to do with it. So what's up with that? (I've only changed the domain etc. and kept the rest of the example config as is)

ozra avatar Sep 09 '16 11:09 ozra

You can specify the config file path with --config=/path/to/config.json.

emersion avatar Sep 19 '16 09:09 emersion

There was no problem with the path. There is a problem with the contents: line 2: Memory:: command not found

ozra avatar Sep 19 '16 11:09 ozra