{"id":13847602,"url":"https://github.com/harobed/docker-php-ssmtp","last_synced_at":"2025-06-24T07:37:51.916Z","repository":{"id":137219974,"uuid":"122547518","full_name":"harobed/docker-php-ssmtp","owner":"harobed","description":"This Docker image add ssmtp service to official Docker Php7 Apache image.","archived":false,"fork":false,"pushed_at":"2018-02-23T22:19:13.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T04:35:05.353Z","etag":null,"topics":["apache","docker","php","postfix","smtp"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harobed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-02-22T23:22:59.000Z","updated_at":"2024-07-19T03:19:07.000Z","dependencies_parsed_at":"2023-07-20T05:30:17.817Z","dependency_job_id":null,"html_url":"https://github.com/harobed/docker-php-ssmtp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harobed/docker-php-ssmtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harobed%2Fdocker-php-ssmtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harobed%2Fdocker-php-ssmtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harobed%2Fdocker-php-ssmtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harobed%2Fdocker-php-ssmtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harobed","download_url":"https://codeload.github.com/harobed/docker-php-ssmtp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harobed%2Fdocker-php-ssmtp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261630645,"owners_count":23187221,"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":["apache","docker","php","postfix","smtp"],"created_at":"2024-08-04T19:00:23.014Z","updated_at":"2025-06-24T07:37:51.895Z","avatar_url":"https://github.com/harobed.png","language":"PHP","funding_links":[],"categories":["Docker"],"sub_categories":[],"readme":"# Php7 + Apache + SSMTP\n\nThis image add [ssmtp](https://wiki.archlinux.org/index.php/SSMTP) service to official\n[Docker Php7 Apache image](https://github.com/docker-library/php/blob/fd8e15250a0c7667b161c34a25f7916b01f72367/7.2/stretch/apache/Dockerfile).\n\nWith *ssmtp** you can use buildin [mail](http://php.net/manual/en/function.mail.php) Php function\nto send mails via smtp server configured by `SSMTP_*` environment variables.\n\nThis image enable also [Apache Rewrite mod](http://httpd.apache.org/docs/current/mod/mod_rewrite.html), *RewriteEngine* can be used in [.htaccess](www/.htaccess).\n\n`docker-compose.yml` example to connect `apache` service to `postfix`:\n\n```\nversion: '3'\nservices:\n  apache:\n    image: harobed/php-ssmtp:7-apache\n    environment:\n      - SSMTP_HOST=postfix\n      - SSMTP_PORT=25\n      - SSMTP_FROM_HOSTNAME=example.com\n      - SSMTP_USE_TLS=Yes\n      - SSMTP_USE_STARLTLS=Yes\n      - SSMTP_AUTH_USER=user\n      - SSMTP_AUTH_PASSWORD=password\n    ports:\n      - 80\n\n  postfix:\n    image: harobed/versatile-postfix:latest\n    command: exemple.com user:password\n    environment:\n      - DISABLE_DKIM=1\n\nnetworks:\n  default:\n    driver: bridge\n```\n\nSee [Dockerfile](Dockerfile) to see environment variable default values.\n\n\n## How to test\n\n```\n$ git clone https://github.com/harobed/docker-php-ssmtp.git\n$ cd docker-php-ssmtp\n$ docker-compose up -d\n$ echo \"Browse to http://`docker-compose port apache 80`\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharobed%2Fdocker-php-ssmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharobed%2Fdocker-php-ssmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharobed%2Fdocker-php-ssmtp/lists"}