Comments (2)
In Docker Compose, this parameter works absolutely fine. Here is an example:
version: "3.8"
services:
maildev:
image: "maildev/maildev:latest"
container_name: "maildev"
hostname: "maildev"
command: ["--mail-directory=/maildir"]
volumes:
- maildev-data:/maildir
restart: always
networks:
- network-internal
depends_on:
- php
volumes:
maildev-data:
name: "maildev.data"
Be sure to change the directory permissions to the user node
afterwards:
docker compose exec -u root maildev sh
Within the container:
chown -R node:node maildir/
chmod -R 775 maildir/
from maildev.
We are using it like this:
services:
maildev:
image: "maildev/maildev:latest"
command: [ "/usr/src/app/bin/maildev", "--web-user", "xx", "--web-pass", "xxx", "--web", "80", "--smtp", "25", "--outgoing-port", "465", "--outgoing-host", "xx", "--outgoing-user", "xx", "--outgoing-pass", "xx", "--outgoing-secure", "--incoming-user", "xx", "--incoming-pass", "xx", "--auto-relay", "--auto-relay-rules", "/etc/mailrelay.json" ]
if im now adding --mail-directory=/maildir
i get : Error: unknown option `--mail-directory'
maybe its related to : #420
from maildev.
Related Issues (20)
- the port 1025 doesn't work
- [Vulnerability] Arbitrary File Write leading to Remote Code Execution (RCE) HOT 4
- maildev does not allow STARTTLS advertising
- Health check not working with --wait param of docker compose HOT 1
- ERR_SSL_NO_SUITABLE_SIGNATURE_ALGORITHM without using TLS
- Health check problem with MAILDEV_BASE_PATHNAME, MAILDEV_WEB_USER and MAILDEV_WEB_PASS HOT 1
- Critical Security vulnerabilitie in Docker image
- Config params for testing purposes
- Limiting messages amount HOT 1
- Error on DATA input when sending mail over SMTP
- Cannot connect to the internet from Keycloak docker container HOT 1
- Unhealthy maildev container in docker compose HOT 19
- docker: open /var/lib/docker/tmp/GetImageBlob4135723857: no such file or directory.
- Bad sender address syntax for valid addresses
- Perfomance: is it possible to speed up? HOT 1
- "To" displays "true" instead of the recipient's email address
- MAILDEV_INCOMING_SECURE breaks the SMTP server HOT 2
- Auto relay doesn't auto relay
- [Docker Image] Error permission /tmp
- Enable "Relay to" option but disable "Relay" to actual recipient
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 maildev.