GithubHelp home page GithubHelp logo

ruurtjan / mailserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nunq/mailserver

0.0 1.0 0.0 65 KB

config files for a debian mailserver (+ guide)

License: Creative Commons Zero v1.0 Universal

PHP 89.83% NASL 10.17%

mailserver's Introduction

debian mailserver

notes on setting up a mailserver on debian using postfix, dovecot and rspamd (+ ufw, unbound)

you should (have)

  • a clean, updated debian install
  • a non-root user
  • dns records setup as described in dns-setup.md
  • replace example.com in the config files with your domain.tld
  • read write-up.md so you actually kind of know what you're doing.

further reading

useful tools

other

no guarantees that any of this will work

  • i mainly wrote this for myself
  • no explanation for why an option is configured that way is provided, ever

todo

  • MTA-STS
  • DNSSEC
  • DANE

backing up your Maildir

the folder needs to be accessible to $SSH_USER for this to work. since mail users are just regular users on the system (and authenticated with pam), you may need to rsync each user's ~/Maildir to a directory which is accessible by $SSH_USER.

rsync -e 'ssh -p $PORT' -avzud --delete $SSH_USER@$IP:/path/to/accessible/Maildir/ ~/Documents/backups/mailbackup/

mailserver's People

Contributors

nunq avatar

Watchers

 avatar

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.