Git Product home page Git Product logo

mailserver's Introduction

mailserver

Mailserver running postfix, fetchmail and dovecot

Initial setup

Modify the environment variables in the docker-compose.yml.

To be able to use Active Directory accounts, create a user 'postfix' with a password in the group 'Services' in Active Directory. Use the password in the docker-compose.yml:

- ADPASSWORD=<password for postfix to access AD>

Populate the fetchmail/config/fetchmailrc file in the config folder with the accounts you want to use to retrieve mail from.

Also change the network addresses in the .yml file. The 10.x.x.x range is your own local domain, the 172.18.x.x is the docker domain in created docker network.

Issue the build command:

docker-compose build

To start and stop the containers:

docker-compose up -d

docker-compose stop

For fetchmail you need to create a fetchmailrc and .netrc file. See the examples. If you have access to git secret with a known email-address you can use git secret reveal to get the stored files.

mailserver's People

Contributors

tgiesela avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

mailserver's Issues

Postfix container crashes

Postfix crashes and gets restarted all the time

The log shows
postmap: fatal: bad string length 0 < 1: mydomain =

imho it complains, that mydomain is needed but empty.
I didn´t find a way to set mydomain. I wrote a line in the yml script like:

command: /usr/sbin/postconf -e mydomain=myowndomain.my

for some reason postconf only dumped the settings of postfix, all were default values.

Thanks

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.