Comments (11)
Because this is not (by default) an external port. This port is used by your reverse proxy.
More information : https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
location / {
proxy_pass http://postfixadmin:8888;
include /etc/nginx/conf/proxy_params;
}
from postfixadmin.
And how can i connect this postfixadmin to mail server running in another docker container where should i provide the path
from postfixadmin.
You don't need to connect this container to mail server, MariaDB is used for this purpose.
from postfixadmin.
Then i get an error for login page i cannot access it i can send you my docker-compose.yml, i have my docker and maria db running and mysql instance too running and all up, but when i hit on 8888, i get an error on login page and it is not loading
from postfixadmin.
i can send you my docker-compose.yml
Yes.
from postfixadmin.
postfixadmin:
image: hardware/postfixadmin
container_name: postfixadmin
domainname: domain.tld
hostname: mail
links:
- mariadb:mariadb
environment:
- DBHOST=localhost:3306
- DBUSER=admin
- DBNAME=postfix
- DBPASS=admin
- UID=991
mariadb:
image: mariadb:10.1
container_name: mariadb
volumes:
- /mnt/docker/mysql/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=admin
- MYSQL_DATABASE=postfix
- MYSQL_USER=admin
- MYSQL_PASSWORD=admin
from postfixadmin.
If you really want to access postfixadmin container with an external port, you can add this :
postfixadmin:
ports:
- "8888:8888"
# URI : http://IPADDR:8888
Or you can use nginx as reverse proxy :
location / {
proxy_pass http://postfixadmin:8888;
include /etc/nginx/conf/proxy_params;
}
from postfixadmin.
I have use docker run command and passed port with -p and now i can access it from server where i have hosted it, now how to use the login page, as when i hit on login page i get an error for help page.
Error :
DEBUG INFORMATION:
Connect: Network unreachable
how to access logs for this?
And do we need a domain which will be used to send mail and where to configure if it isnt the case i can install it on my machine rather then server where mail server is hosted which is using that domain and can send mails. ?
from postfixadmin.
Please read carefully the wiki and readme.md.
https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
https://github.com/hardware/mailserver/wiki/Postfixadmin-initial-configuration
https://github.com/hardware/postfixadmin/blob/master/README.md
https://github.com/hardware/mailserver/blob/master/README.md
from postfixadmin.
We need a mailserver connection to manage domains, this postfix admin is accessing which mail server, how do i connect it to my own mail server ?
from postfixadmin.
# docker-compose.yml
extra_hosts:
- "mariadb:xx.xx.xx.xx"
xx.xx.xx.xx : IP address of your MariaDB/MySQL server.
from postfixadmin.
Related Issues (11)
- setup_password is not persisted HOT 2
- Password hashing does not work HOT 3
- Mise a jour de la base de donnée HOT 1
- postfixadmin assumes mysql database is running on localhost HOT 1
- Discussion: Official docker image HOT 2
- Error: Depends on: multibyte string - NOT FOUND HOT 6
- nginx not running HOT 3
- Getting error about module loading mysqlnd.so HOT 8
- Error about db HOT 1
- DB Port HOT 3
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 postfixadmin.