-root:x:0:0:root:/root:/bin/bash
+root:x:0:0:root Stralsund:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
adm:x:3:4:adm:/var/adm:/bin/false
--- /dev/null
+/^root@profitbricks\.com$/ frank.brehm@profitbricks.com
+/^root@profitbricks\.localdomain$/ frank.brehm@profitbricks.com
+/^root@.*dc1\.de\.profitbricks.net$/ frank.brehm@profitbricks.com
+/^ppd@.*dc1\.de\.profitbricks.net$/ frank.brehm@profitbricks.com
+/^vcb@.*dc1\.de\.profitbricks.net$/ frank.brehm@profitbricks.com
+/.*@.*dc1\.de\.profitbricks.net$/ @profitbricks.com
+/^bind@profitbricks\.com$/ frank.brehm@profitbricks.com
+/.*@localhost$/ @profitbricks.com
+/.*@.*profitbricks\.localdomain$/ @profitbricks.com
+/.*@.*\.pb.local$/ @profitbricks.com
+/.*@stralsund.profitbricks.com$/ @profitbricks.com
+/.*@samara.profitbricks.com$/ @profitbricks.com
+
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
+#relayhost = [mail.pb.local]
+relayhost = [smtp.googlemail.com]
# REJECTING UNKNOWN RELAY USERS
#
#
readme_directory = no
home_mailbox = .maildir/
+mydomain = pb.local
+canonical_maps = pcre:/etc/postfix/canonical
+myorigin = profitbricks.com
+smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
+smtp_sasl_auth_enable = yes
+smtp_tls_cert_file = /etc/postfix/postfix.pem
+smtp_sasl_security_options = noanonymous
+smtp_tls_enforce_peername = no
+smtp_tls_key_file = /etc/postfix/postfix.pem
+smtp_use_tls = yes
+tls_random_source = dev:/dev/urandom
--- /dev/null
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDVyqLn5YIkyll4
+zLi5GBRf8cr4rWV6iUFnlSH/RdLR9XXGXFlMInsx3hc3v4jkUS6zyIOzDuxV7jlA
+eKd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IIBIjANBgkqhkiG9w0B
+AQEFAAOCAQ8AMIIBCgKCAQEA1cqi5+WCJMpZeMy4uRgUX/HK+K1leolBZ5Uh/0XS
+0fV1xlxZTCJ7Md4XN7+I5FEus8iDsw7sVe45QHinU/NtJUWGqWfanflrHbuKPTL7
+CcgrwRdti6hYs+MYuiK+Y9/mZoR895kuu0Pq41QBzgyVzlurWw8yPXDgw1lNqzeS
+NopRg//Og5tduKV5OVla11CxNqL6+yGH+86I2va2+dxh8DMuQMSd+HssleWiivSO
+50U7TE+s7PQIojELkuvv0MYaYda1p/gBybOOFhLEFvESLHoSmPKUh4YMNTFZatZL
+gnW5AB6ww3jbKhJB1Hug9m8s8lbP+UGRrjGDX1RT8VjnfwIDAQABoxUwEzARBglg
+hkgBhvhCAQEEBAMCBkAwDQYJKoZIhvcNAQEFBQADggEBAKV21eXL5S6bdXW1pxdF
+RbXZT2iakpO/cLjmlkcWTkgquyOnpcJRhD/wXNJmkD8ZaobxLnpemQ7ve1RjOOCb
+Dvkzz28A3yyJ316k01Pa2O7yHA+XnlYdNYnYonW9NA5dur3Zc48SYp8+6RC3kqzQ
+pmuK4CFi5MN6t6kNF0Sze+qRlrcArtXuW/7fxGk1SZ5rutfGzzSzYT2BVK3DvQFB
+FsRJBLg3xJodZ4KO5gvbB2xraYgV5vDVr/HsbMCotF7UAcHT5gpLP5Kg23aDR90F
+xmHeuemL7ZV1vOgX4EEE2lV5OHrw9lfzjTOpd9sziKsUVQyJzbI1Q7mt2xEIPxfX
+YoM=
+-----END CERTIFICATE-----
+-----BEGIN DH PARAMETERS-----
+MEYCQQDPOMC0amsMEDcf47cl1l+MbVjeXkzw1QGq2sZCuMXaysftE1ZJRcVqzreS
+MyK0pOrAp4ucU6fzy75K6hbBQnJTAgEC
+-----END DH PARAMETERS-----
--- /dev/null
+mail.brehm-online.com vmail:uhu
+smtp.googlemail.com frank.brehm@profitbricks.com:EMsiWgsus
--- /dev/null
+#!/bin/bash
+#
+# This is a short script to quickly generate a self-signed X.509 key for
+# Postfix over SSL. Normally this script would get called by an automatic
+# package installation routine.
+
+test -x /usr/bin/openssl || exit 0
+
+CADir="/etc/ssl/CA-fbrehm/postfix"
+prefix="/usr"
+pemfile="$CADir/postfix.pem"
+randfile="$CADir/postfix.rand"
+conffile="$CADir/postfix-cert.cnf"
+pemfile_orig="/etc/postfix/postfix.pem"
+days=3650
+
+if [ -f $pemfile ]; then
+ echo "$pemfile already exists."
+ exit 1
+fi
+
+if [ ! -f $conffile ] ; then
+ echo "$conffile does not exists!"
+ exit 2
+fi
+
+cp /dev/null $pemfile
+chmod 600 $pemfile
+chown root $pemfile
+
+cleanup() {
+ rm -f $pemfile
+ rm -f $randfile
+ exit 1
+}
+
+dd if=/dev/urandom of=$randfile count=1 2>/dev/null
+/usr/bin/openssl req -new -x509 -days $days -nodes \
+ -config $conffile -out $pemfile -keyout $pemfile || cleanup
+/usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup
+/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup
+rm -f $randfile
+cp -pv $pemfile $pemfile_orig
+
+
+# vim: ts=4 et
--- /dev/null
+
+RANDFILE = /usr/share/postfix.rand
+
+[ req ]
+default_bits = 2048
+encrypt_key = yes
+distinguished_name = req_dn
+x509_extensions = cert_type
+prompt = no
+
+[ req_dn ]
+C=DE
+ST=Berlin
+L=Berlin
+O=Berlin
+OU=Local Postfix SSL key
+CN=stralsund.pb.local
+emailAddress=frank.brehm@profitbricks.com
+
+
+[ cert_type ]
+nsCertType = server
+
--- /dev/null
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDVyqLn5YIkyll4
+zLi5GBRf8cr4rWV6iUFnlSH/RdLR9XXGXFlMInsx3hc3v4jkUS6zyIOzDuxV7jlA
+eKdT820lRYapZ9qd+Wsdu4o9MvsJyCvBF22LqFiz4xi6Ir5j3+ZmhHz3mS67Q+rj
+VAHODJXO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K1leolBZ5Uh/0XS
+0fV1xlxZTCJ7Md4XN7+I5FEus8iDsw7sVe45QHinU/NtJUWGqWfanflrHbuKPTL7
+CcgrwRdti6hYs+MYuiK+Y9/mZoR895kuu0Pq41QBzgyVzlurWw8yPXDgw1lNqzeS
+NopRg//Og5tduKV5OVla11CxNqL6+yGH+86I2va2+dxh8DMuQMSd+HssleWiivSO
+50U7TE+s7PQIojELkuvv0MYaYda1p/gBybOOFhLEFvESLHoSmPKUh4YMNTFZatZL
+gnW5AB6ww3jbKhJB1Hug9m8s8lbP+UGRrjGDX1RT8VjnfwIDAQABoxUwEzARBglg
+hkgBhvhCAQEEBAMCBkAwDQYJKoZIhvcNAQEFBQADggEBAKV21eXL5S6bdXW1pxdF
+RbXZT2iakpO/cLjmlkcWTkgquyOnpcJRhD/wXNJmkD8ZaobxLnpemQ7ve1RjOOCb
+Dvkzz28A3yyJ316k01Pa2O7yHA+XnlYdNYnYonW9NA5dur3Zc48SYp8+6RC3kqzQ
+pmuK4CFi5MN6t6kNF0Sze+qRlrcArtXuW/7fxGk1SZ5rutfGzzSzYT2BVK3DvQFB
+FsRJBLg3xJodZ4KO5gvbB2xraYgV5vDVr/HsbMCotF7UAcHT5gpLP5Kg23aDR90F
+xmHeuemL7ZV1vOgX4EEE2lV5OHrw9lfzjTOpd9sziKsUVQyJzbI1Q7mt2xEIPxfX
+YoM=
+-----END CERTIFICATE-----
+-----BEGIN DH PARAMETERS-----
+MEYCQQDPOMC0amsMEDcf47cl1l+MbVjeXkzw1QGq2sZCuMXaysftE1ZJRcVqzreS
+MyK0pOrAp4ucU6fzy75K6hbBQnJTAgEC
+-----END DH PARAMETERS-----
####################################################################
[ CA_default ]
-dir = ./demoCA # Where everything is kept
+dir = /etc/ssl/CA-fbrehm # Where everything is kept
certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept
database = $dir/index.txt # database index file.
# crlnumber must also be commented out to leave a V1 CRL.
# crl_extensions = crl_ext
-default_days = 365 # how long to certify for
+default_days = 3650 # how long to certify for
default_crl_days= 30 # how long before next CRL
default_md = default # use public key default MD
preserve = no # keep passed DN ordering
# For the CA policy
[ policy_match ]
countryName = match
-stateOrProvinceName = match
-organizationName = match
+stateOrProvinceName = optional
+organizationName = optional
organizationalUnitName = optional
commonName = supplied
emailAddress = optional
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
-countryName_default = AU
+countryName_default = DE
countryName_min = 2
countryName_max = 2
stateOrProvinceName = State or Province Name (full name)
-stateOrProvinceName_default = Some-State
+stateOrProvinceName_default = Berlin
localityName = Locality Name (eg, city)
+localityName_default = Berlin
0.organizationName = Organization Name (eg, company)
-0.organizationName_default = Internet Widgits Pty Ltd
+0.organizationName_default = ProfitBricks GmbH
# we can do this but it is not needed normally :-)
#1.organizationName = Second Organization Name (eg, company)
#1.organizationName_default = World Wide Web Pty Ltd
organizationalUnitName = Organizational Unit Name (eg, section)
-#organizationalUnitName_default =
+organizationalUnitName_default = storage department
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_max = 64