Comments (3)
the problem is because I can not use dns from container, I try add net:host then it will start for me.
docker-compose.sh up -d
mailserver_mariadb_1 is up-to-date
Creating mailserver_mail_1
ERROR: Conflicting options: -h and the network mode (--net)
from mailserver.
Hi,
If you only use the network mode option (--net), it should work with host's networking stack without hostname option (-h), that means the host server's FQDN is configured properly. What are you trying to do exactly ? Put the content of your docker-compose.yml please.
from mailserver.
I just use this to make the nat working and no gmail error anymore.
/sbin/sysctl net.ipv4.ip_forward=1
/sbin/iptables -A INPUT -i docker0 -j ACCEPT
/sbin/iptables -A FORWARD -s 0.0.0.0/0 -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s 172.17.0.0/16 -o eth0 -j MASQUERADE
from mailserver.
Related Issues (20)
- Missing root CAs - Untrusted TLS connection HOT 2
- Docker swarm HOT 1
- Outgoing mail marked as spam HOT 1
- Postfixadmin create superadmin account HOT 4
- Postfix missing interdem HOT 1
- Running in Docker Swarm HOT 2
- Prevent redis DB size runaway HOT 8
- CVE-2019-11500 - Critical Dovecot vulnerability HOT 7
- Typo in LDAP virtual alias map (true vs yes) HOT 1
- Traefik acme are file detected, but not extracted to pem file HOT 2
- Can spoof inbound mail on local network HOT 3
- DBHOST and REDIS_HOST cannot be IPs HOT 1
- dkim/$DOMAIN/private.key is world readable HOT 1
- New format of acme.json in Traefik 2.0 HOT 7
- How to create a "blackhole" account / an account where mails are automatically discarded? HOT 1
- clamav-unofficial-sigs cron has curl failures HOT 1
- docker compose functionality HOT 4
- Question:Deployment on working Server
- Status of this repo / docker image HOT 62
- Postfixadmin mails refused HOT 1
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 mailserver.