-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/apple URL does not work #5
Comments
Hi @joshms123 |
I deployed this on an edge version: docker pull ghcr.io/wdes/mail-autodiscover-autoconfig/mail-autodiscover-autoconfig:edge |
Hello, I don't seem to have access to that package. Thank you for the help so far. |
You need to use
I deployed this on my server and I have a minor UI improvement to do before releasing the final version |
I did login and it just displayed access denied. When I navigate to the packages page, it does show the deployment but when I navigate to said deployment it says 0 packages. |
Do you mean at the login stage ? |
Oops: it's |
Yes; I've also tested by pulling another public GHCR package and that worked. |
Here is part of my production docker-compose mail-autodiscover-autoconfig:
#image: wdes/mail-autodiscover-autoconfig:latest
image: ghcr.io/wdes/mail-autodiscover-autoconfig/mail-autodiscover-autoconfig:edge
mem_limit: 120M
mem_reservation: 50M
restart: on-failure:40
network_mode: host
environment:
ROCKET_PROFILE: production
ROCKET_ADDRESS: "2a10:4646:xxx::xxx"
ROCKET_PORT: "80"
ROCKET_LOG_LEVEL: normal
APPLE_MAIL_UUID: ccf622ec-1905-4c60-xxx-4fa1455cbee4
APPLE_PROFILE_UUID: 1ceeceea-bc41-4131-xxx-f8b13e429cb3
CUSTOM_DOMAINS: xxx.xxx
IMAP_HOSTNAME: imap.xxx.xxx.xxx
POP_HOSTNAME: pop.xxx.xxx.xxx
SMTP_HOSTNAME: smtp.xxx.xxx.xxx How is yours ? |
services:
mail-acd:
image: ghcr.io/wdes/mail-autodiscover-autoconfig/mail-autodiscover-autoconfig:edge |
Okay I got it, it was private.. |
That now all works. However, seems I've ran into another issue. Even though in the env my IMAP_HOSTNAME is set to a custom server, it seems to default back to imap.domain.tld (only tested in the config-v1.1.xml so far). Would you like me to move this to a new issue? |
Did you add it to |
My config is as follows: CUSTOM_DOMAINS: domain.tld
IMAP_HOSTNAME: mail.provider.tld
POP_HOSTNAME: mail.provider.tld
SMTP_HOSTNAME: mail.provider.tld However, it seems to come back with imap.domain.tld instead of mail.provider.tld. Also just read through the output of apple xml config and it has the same issue. |
Hmm, what are your front end domains? This may be related to #3 This is how it currently works:
The domain from where you access the server will make all the magic. It's very important that you get the configuration right How did you configure all this? |
Hello, |
Hello If I understand this correctly your domain must not be in I think I will implement a config file soon, it's not easy for people to understand how I currently made this work If I would make a configuration to explain the setup file it would look like
This is what this code does: https://github.com/wdes/mail-autodiscover-autoconfig/blob/main/src/util.rs#L12-L40 So your Off topic: What do you think about this config file structure ? |
Hello, |
I had tried to document that with a comment on my example ENV but it really needs to be changed and have a real configuration file that does not need paragraphs to be understood ^^ You can put an empty string it should define the ENV |
All the changes discussed above are pushed, built and ready on the |
I just published v1.5.0 🎉 |
Hello,
When navigating to /apple or /dns-zone, the application just returns 404 not found; however when navigating to mobile config (with email filled in) it downloads the profile.
The text was updated successfully, but these errors were encountered: