/media/sda-magnetic/david/Extern-Magnetic-2022-06-29/Extern01/Dokumente-11-2021-07-05/informatik-math/informatik2/lex-yacc-bash-etc/all00094.txt


# client
# sender
# recipient
# relay

smtpd_client_restrictions = 
smtpd_sender_restrictions = 
smtpd_recipient_restrictions = 
smtpd_relay_restrictions = 
smtpd_data_restrictions = 
smtpd_end_of_data_restrictions = 
smtpd_etrn_restrictions = 
smtpd_helo_restrictions = 

mynetworks = 
myhostname = 
smtpd_helo_required = yes

# permit_mynetworks
# check_policy_service

# unknown
# reject_unknown_client
# reject_unknown_client_hostname
# reject_unknown_reverse_client_hostname
# reject_unknown_hostname
# reject_unknown_helo_hostname
# reject_unknown_sender_domain 
# reject_unknown_recipient_domain 

# hostname 
# reject_unknown_client_hostname
# reject_unknown_reverse_client_hostname
# reject_unknown_helo_hostname
# reject_unknown_hostname
# reject_invalid_hostname
# reject_non_fqdn_hostname

# non_fqdn 
# reject_non_fqdn_hostname
# reject_non_fqdn_sender
# reject_non_fqdn_recipient

# sender
# reject_non_fqdn_sender
# reject_unknown_sender_domain

# recipient
# reject_non_fqdn_recipient
# reject_unknown_recipient_domain

# unauth
# reject_unauth_pipelining
# reject_unauth_destination 

a CAPABILITY
a LOGIN "user" "password"
a LIST "" *
a SELECT INBOX
a FETCH 1 RFC822
a STORE 1 +FLAGS (\Seen \Deleted)
a CLOSE
a EXPUNGE
a SEARCH
a LOGOUT

HELO/EHLO
MAIL
DATA 
RST 
VRFY
EXPN
NOOP
QUIT
MAIL FROM:
RCPT TO:

Return-Path:
Recevied:
From:
To:
Subject:
Date:
Message-ID:
User-Agent:
MIME-Version:
Content-Transfer-Encoding:
Content-Type:
Importance:
Reply-To:
X-Delivered-To:
X-Priority:
X-Assp-...:

/etc/dovecot/dovecot.conf
/etc/dovecot/conf.d/
/etc/dovecot/conf.d/10-...conf
/etc/dovecot/conf.d/15-...conf
/etc/dovecot/conf.d/20-...conf
/etc/dovecot/conf.d/90-...conf
/etc/dovecot/conf.d/auth-...conf
/etc/dovecot/conf.d/10-auth.conf
/etc/dovecot/conf.d/10-director.conf
/etc/dovecot/conf.d/10-logging.conf
/etc/dovecot/conf.d/10-mail.conf
/etc/dovecot/conf.d/10-master.conf
/etc/dovecot/conf.d/10-ssl.conf
/etc/dovecot/conf.d/10-tcpwrapper.conf
/etc/dovecot/conf.d/20-pop3.conf
/etc/dovecot/conf.d/20-imap.conf

apt-get install drbd8-utils
apt-get install xfsprogs 

nano /etc/drbd.d/drbd1.res 

ressource r0 {
    # ...
    on ituenix1 {
        disk /dev/loop1;
        adress 192.168.178.20:1111;
    }
}

dd if=/dev/zero of=dbrd1.img bs=1024k count=1024 
losetup /dev/loop1 drbd1.img

modeprobe drbd
drbdadm up r0
cat /proc/drbd

modeprobe drbd
drbdadm up r0
drbdadm -- --overwrite-data-of-peer primary r0
cat /proc/drbd

/etc/ha.d/authkeys
/etc/ha.d/ha.cf
/etC/ha.d/haressources

/etc/ha.d/authkeys

auth 1
1 md5 password

/etc/ha.d/ha.cf

on ituenix1 ituenix2 

ucast eth0 192.168.178.20
ucast eth0 192.168.178.21

auto_failback on

ping 192.168.178.32

debugfile /var/log/ha-debug 
logfile /var/log/ha-log 

deadtime 5

/etC/ha.d/haressources

ituenix1 192.168.178.20 apache2 

apt-get install postfix dovecot-core dovecot-imapd dovecot-pop3d apache2 libapache2-mod-php php php7.0 mariadb-server php-mysql php-intl php7.0-intl php-mbstring php-gd php-curl php-zip php-xml php-cli php-cgi