stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
3.53k stars 135 forks source link

[enhancement]: docker run without internet #533

Closed spencerswagger closed 2 weeks ago

spencerswagger commented 2 weeks ago

Which feature or improvement would you like to request?

I'd like to see this feature: Docker Image works offline

Is your feature request related to a problem?

I'm going to host a email server on the internal network. But official docker image always download some resource when booting.

Code of Conduct

williamdes commented 2 weeks ago

I agree, this also should be reflected in the Docker image build process. See: https://github.com/stalwartlabs/mail-server/pull/85#issuecomment-1742074317

mdecimus commented 2 weeks ago

Hi,

Thank for you for the suggestion but I'm closing it as it is out of scope. You can create your own Docker image that does not require external resources. For example, you can make Stalwart obtain the webadmin from the local file system and the same applies to the spam filter.

williamdes commented 2 weeks ago

you can make Stalwart obtain the webadmin from the local file system and the same applies to the spam filter.

Please note "This path specifies where the webadmin bundle is downloaded from but not where it is stored, which is your blob store." from https://github.com/stalwartlabs/mail-server/issues/524#issuecomment-2166400709

I guess I would like it to also be not fetched from internet at all.

mdecimus commented 1 week ago

I guess I would like it to also be not fetched from internet at all.

This can be done by changing the default resource URL to a local one. It is covered in the webadmin section of the documentation.