Giter Club home page Giter Club logo

Comments (11)

hardware avatar hardware commented on September 25, 2024

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.

hsaklecha avatar hsaklecha commented on September 25, 2024

And how can i connect this postfixadmin to mail server running in another docker container where should i provide the path

from postfixadmin.

hardware avatar hardware commented on September 25, 2024

You don't need to connect this container to mail server, MariaDB is used for this purpose.

from postfixadmin.

hsaklecha avatar hsaklecha commented on September 25, 2024

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.

hardware avatar hardware commented on September 25, 2024

i can send you my docker-compose.yml

Yes.

from postfixadmin.

hsaklecha avatar hsaklecha commented on September 25, 2024

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.

hardware avatar hardware commented on September 25, 2024

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.

hsaklecha avatar hsaklecha commented on September 25, 2024

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.

hardware avatar hardware commented on September 25, 2024

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.

hsaklecha avatar hsaklecha commented on September 25, 2024

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.

hardware avatar hardware commented on September 25, 2024
# 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.