{"id":22249186,"url":"https://github.com/volker-raschek/postfixadmin-fetchmail-docker","last_synced_at":"2025-03-25T12:14:13.053Z","repository":{"id":270223704,"uuid":"906147463","full_name":"volker-raschek/postfixadmin-fetchmail-docker","owner":"volker-raschek","description":"[MIRROR]: Source files of the container image volkerraschek/postfixadmin-fetchmail ","archived":false,"fork":false,"pushed_at":"2025-02-28T20:41:24.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T23:41:24.263Z","etag":null,"topics":["container","dovecot","fetchmail","postfix","postfixadmin","postfixadmin-fetchmail"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/volkerraschek/postfixadmin-fetchmail","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/volker-raschek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-20T09:08:33.000Z","updated_at":"2025-02-28T20:41:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a450267-5cbf-4d0f-abb1-f3963728ff0a","html_url":"https://github.com/volker-raschek/postfixadmin-fetchmail-docker","commit_stats":null,"previous_names":["volker-raschek/postfixadmin-fetchmail-docker"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volker-raschek%2Fpostfixadmin-fetchmail-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volker-raschek%2Fpostfixadmin-fetchmail-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volker-raschek%2Fpostfixadmin-fetchmail-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volker-raschek%2Fpostfixadmin-fetchmail-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/volker-raschek","download_url":"https://codeload.github.com/volker-raschek/postfixadmin-fetchmail-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458703,"owners_count":20618697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","dovecot","fetchmail","postfix","postfixadmin","postfixadmin-fetchmail"],"created_at":"2024-12-03T06:25:10.008Z","updated_at":"2025-03-25T12:14:13.029Z","avatar_url":"https://github.com/volker-raschek.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostfixAdmin's fetchmail\n\n[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/postfixadmin-fetchmail-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/postfixadmin-fetchmail-docker)\n[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/postfixadmin-fetchmail)](https://hub.docker.com/r/volkerraschek/postfixadmin-fetchmail)\n\nThis project contains all sources to build the container image\n`docker.io/volkerraschek/postfixadmin-fetchmail`. The primary goal of the image\nis to fetch mails from external servers and forward them to on local running\nmail server.\n\nThe configuration file will be automatically generated based on information from\na supported database backend of\n[postfixadmin](https://github.com/postfixadmin/postfixadmin). The information\nare stored in the table `fetchmail` of the database scheme of PostfixAdmin.\n\n## Usage\n\nPossible database types are `my` for MySQL and `Pg` for postgres. Make sure that\nthe database and the SMTP server are accessible. Otherwise, adjust the enclosed\ndocker-compose or docker command accordingly. Alternatively you can use\ndocker-compose in addition to the docker commands.\n\n### PostgreSQL\n\n```bash\n$ docker run \\\n  --rm \\\n  --env DATABASE_TYPE: Pg \\\n  --env DATABASE_HOST: postgres \\\n  --env DATABASE_PORT: 5432 \\\n  --env DATABASE_NAME: postgres \\\n  --env DATABASE_USER: fetchmail \\\n  --env DATABASE_PASSWORD: MySecretPassword \\\n  --network host \\\n  volkerraschek/fetchmail:latest\n```\n\n### MySQL\n\n```bash\n$ docker run \\\n  --rm \\\n  --env DATABASE_TYPE: my \\\n  --env DATABASE_HOST: root \\\n  --env DATABASE_PORT: 3306 \\\n  --env DATABASE_NAME: mysql \\\n  --env DATABASE_USER: fetchmail \\\n  --env DATABASE_PASSWORD: MySecretPassword \\\n  --network host \\\n  volkerraschek/fetchmail:latest\n```\n\n### docker-compose\n\nThe repository contains a default `docker-compose.yml` file, which can be used\nto start the container. To set the environment variables you need a `.env` file.\nThe `.dev_env` from this repository can be used for this. This must be located\nexclusively in the same directory as the `docker-compose.yml` file and must be\nrenamed as `.env`.\n\n```yml\nversion: \"3\"\nservices:\n  fetchmail:\n    image: volkerraschek/fetchmail:latest\n    environment:\n    - DATABASE_TYPE=${DATABASE_TYPE}\n    - DATABASE_HOST=${DATABASE_HOST}\n    - DATABASE_HOST=${DATABASE_PORT}\n    - DATABASE_NAME=${DATABASE_NAME}\n    - DATABASE_USER=${DATABASE_USER}\n    - DATABASE_PASSWORD=${DATABASE_PASSWORD}\n    network_mode: host\n```\n\n## Environment variables\n\n### DATABASE_TYPE\n\nCurrently will be only postgres, mysql and mariadb supported. About the\nenvironment variable `DATABASE_TYPE` can the backend type defined. The value is\nrequired.\n\n| database type | value |\n| ------------- | ----- |\n| mysql/mariadb | `my`  |\n| postgres      | `Pg`  |\n\n### DATABASE_USER\n\nThe environment variable `DATABASE_USER` is undefined and required. The value\ncontains the database user which one fetchmail use to login.\n\n### DATABASE_PASSWORD\n\nThe environment variable `DATABASE_PASSWORD` is undefined and required. The value\ncontains the password of the database user which one fetchmail use to login.\n\n### DATABASE_HOST\n\nThe environment variable `DATABASE_HOST` is undefined and required. The value\ncontains the DNS name or IP address of the host, where the database is hosted.\n\n### DATABASE_PORT\n\nThe environment variable `DATABASE_PORT` is undefined and required. The value\ncontains the port of the host, where the database is listen on.\n\n### DATABASE_NAME\n\nThe environment variable `DATABASE_NAME` is undefined and required. The value\ncontains the name of the database against which should be logged in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolker-raschek%2Fpostfixadmin-fetchmail-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolker-raschek%2Fpostfixadmin-fetchmail-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolker-raschek%2Fpostfixadmin-fetchmail-docker/lists"}