question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Suggestion: Poste.io

See original GitHub issue

Hey there!

I was trying to get poste.io working, and saw 2 red-flags in their Web UI.

{
  "captainVersion": "1",
  "dockerCompose": {
    "version": "3.7",
    "services": {
      "$$cap_appname": {
        "image": "analogic/poste.io",
        "ports": [
          "25:25",
          "110:110",
          "143:143",
          "465:465",
          "587:587",
          "993:993",
          "995:995",
          "4190:4190"
        ],
        "volumes": [
          "/etc/localtime:/etc/localtime:ro",
          "$$cap_appname-data:/data",
          "/captain/generated/static/domains/$$cap_host/.well-known:/opt/www/.well-known."
        ],
        "restart": "always",
        "environment": {
          "HTTPS": "OFF",
          "LETSENCRYPT_EMAIL": "$$cap_email",
          "LETSENCRYPT_HOST": "$$cap_host",
          "VIRTUAL_HOST": "$$cap_host"
        }
      }
    }
  },
  "instructions": {
    "start": "SMTP + IMAP + POP3 + Antispam + Antivirus\nWeb administration + Web email\n...on your server in ~5 minutes\n\nRecommended: Use\"mail\" as the App Name.",
    "end": "Poste is deployed and available as $$cap_appname. \n\n IMPORTANT: It will take up to 2 minutes for Poste to be ready. Before that, you might see 502 error page.\n"
  },
  "variables": [
    {
      "id": "$$cap_email",
      "label": "Email Address",
      "description": "The email address used for Lets Encrpt certificates."
    },
    {
      "id": "$$cap_host",
      "label": "Hostname",
      "description": "The full hostname for this captain app. (usually mail.mydomain.com)"
    }
  ]
}

Could you please guide me on how I can solve these 2 issues?

image

It seems like poste.io requires the --hostname argument to work, and caprover ignores that in docker-compose.

Not sure what the Let’s encrypt warning is about.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
valoricDecommented, Feb 6, 2022

If your app is called myapp at path /#/apps/details/myapp Bildschirmfoto 2022-02-06 um 09 09 00 `

3reactions
valoricDecommented, Feb 25, 2020

When my mail client connects to poste.io it says the poste certificate does not match the hostname. So I created multiple volumes following @githubsaturn 's suggestions:

/captain/data/letencrypt/etc/live/mail.domain.de/chain.pem -> /data/ssl/ca.crt
/captain/data/letencrypt/etc/live/mail.domain.de/cert.pem -> /data/ssl/server.crt
/captain/data/letencrypt/etc/live/mail.domain.de/privkey.pem -> /data/ssl/server.key

I don’t know what will happen when caprover refreshes the certificate but the poste server is not restarted. Would be theoretically a way that caprover restarts the service on certificate renewal?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poste.io Alternatives: Top 10 Mail Servers and similar apps
The best Poste.io alternatives are mailcow: dockerized, Zimbra Collaboration Suite and Mail-in-a-box. Our crowd-sourced lists contains more than 10 apps ...
Read more >
Top 77 Similar websites like poste.io and alternatives
Top 77 Similar sites like poste.io. Similar Site Search. Find Similar websites like poste.io. poste.io alternatives.
Read more >
Poste.io ~ complete mail server
Full featured solution for your Email server. Native implementation of last anti-SPAM metods, webmail and easy administration included.
Read more >
[Support] Poste.io Free version - Docker Containers - Unraid
Application Name: Poste.io <==> "SMTP + IMAP + POP3 + Antispam + Antivirus + Web administration + Web email ... on your server...
Read more >
Poste - full mail server solution - Cloudron Forum
Would like to suggest this Poste.io - SMTP + IMAP + POP3 + Antispam + Antivirus Web administration + Web email ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found