Comments (7)
This looks to be an issue with wildduck itself, moving the issue.
In the meantime you can add the new cors configuration, or use an older version.
from wildduck-dockerized.
I've merged the latest wildduck config with the config in this repo. But I'll still have to find another way to do this in the future, so I'm keeping this issue open with another title.
from wildduck-dockerized.
I looked into it a little. You could say that its an issue in the default configuration of the docker container (see
) or an issue of wildduck itself as its not expecting cors not be undefined. Eiter could get fixed quite easilyby appending
[cors]
origins = ["*"]
or by adding a nullish check
origins: [].concat(config.api.cors?.origins ?? ['*']),
from wildduck-dockerized.
Anyone upgrading wildduck with their old config would get the error as well, so definitely a wildduck issue heheh.
I don't have much time right now, but feel free to send in a pr with a fix if you can fix it 😁
from wildduck-dockerized.
alright
from wildduck-dockerized.
WildDuck is meant to be managed in a way where production config is merged (not replaced) with the default config. So the cors (or any other) key should be available if it is listed in the default config. wildduck-dockerized uses a fixed config which is a problem in this case as there are going to be new keys added to the config in the future as well. It should probably be kept up to date to reflect the new keys or it should merge config files.
from wildduck-dockerized.
Hmm, I wasn't aware of this. That sounds like a bit of a nightmare to me. IMO a new required config option is a breaking change. I'll have to redo the way wildduck-dockerized manages the configs if that's the case.
from wildduck-dockerized.
Related Issues (20)
- Problem with login to wildduck webmail
- Error within wildduck HOT 2
- Traefix Error. Unable to find the IP address for the container HOT 2
- How to use other https reverse proxy properly? HOT 6
- webmail component not installed properly HOT 1
- docker-compose failed to start HOT 6
- Zonemta continues to restart poorly, something to do with mongo? HOT 2
- Traefik doesn't give certificate to the API endpoint HOT 6
- Example of List-Unsubscribe header on config (or support) HOT 4
- Webmail doesn't start by docker-compose up
- Without Proxy and SSL support HOT 1
- Haraka doesn't accept tls certificates HOT 4
- arm64 Container for nodemailer/wildduck:1.41.3 not starting
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports
- Moving OLD unsecure mechanisms to Historic
- Custom SSL Certificates HOT 5
- strange happened HOT 3
- dkim not working HOT 12
- Wildduck on K8s HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wildduck-dockerized.