- Debian x86_64 >=8 oder Ubuntu >= 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
console.log('Loading function'); | |
var AWS = require('aws-sdk'); | |
var fs = require('fs'); | |
var https = require('https'); | |
var spawn = require('child_process').spawn; | |
var util = require('util'); | |
AWS.config.apiVersions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOMAIN=example.com | |
USERNAME=admin | |
# Configure hostname | |
sed s/"127.0.0.1 localhost"/"127.0.0.1 $DOMAIN localhost"/ -i /etc/hosts | |
sed s/HOSTNAME.*/HOSTNAME=$DOMAIN/ -i /etc/sysconfig/network | |
# Intall server and mutt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-dovecot-mysql/ | |
Ex | |
Ratione | |
GitHub • Consulting • Blog • Archives • Feed | |
A Mailserver on Ubuntu 14.04: Postfix, Dovecot, MySQL | |
By Reason May 1, 2014 Permalink | |
This long post contains a recipe for building a reasonably secure Ubuntu 14.04 mail server in Amazon Web Services, using Postfix, Dovecot, and MySQL, with anti-spam packages in the form of amavisd-new, Clam AntiVirus, SpamAssassin, and Postgrey. Local users are virtual rather than being system users. Administration of users and domains is achieved through the Postfix Admin web interface. Webmail is provided by Roundcube. |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
OlderNewer