StuRa:Server/srs14: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Zeile 49: Zeile 49:




  service postfix restart
  $ service postfix restart
  postfix: Postfix is running with backwards-compatible default settings
  postfix: Postfix is running with backwards-compatible default settings
  postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
  postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details

Version vom 9. Februar 2018, 14:55 Uhr

PT und bommel 2018-02-09 bauen nach der Doku Server/Jails/SRS14.

Installation

pkg update
pkg install apache24 postfix mailman dovecot postgrey maildrop

Konfiguration

Dienste

/etc/rc.conf

apache24_enable="YES"
mailman_enable="YES"
dovecot_enable="YES"
postfix_enable="YES"

Mailkonten

Angestelten

Rossberg
remote: cd /home/rossberg && tar -cvf rossberg.tar .mailfilter Mail .mail_aliases .rhosts
cd /home/rossberg && tar -xvf rossberg.tar

Aliases

/etc/aliases.stura

newaliases

Postfix

/usr/local/etc/postfix/main.cf

/usr/local/etc/postfix/master.cf

/usr/local/etc/postfix/header_checks

/usr/local/etc/postfix/rbl_override

/usr/local/etc/postfix/relay_recipients

/usr/local/etc/postfix/transport

postmap rbl_override relay_recipients transport header_checks


$ service postfix restart
postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
postfix/postfix-script: starting the Postfix mail system

postgrey

/usr/local/etc/postfix/postgrey_whitelist_clients

/usr/local/etc/postfix/postgrey_whitelist_recipients

/usr/local/etc/postfix/dist-postgrey_whitelist_clients

/usr/local/etc/postfix/dist-postgrey_whitelist_recipients

Apache

/usr/local/etc/apache24/httpd.conf

/usr/local/etc/apache24/extra/httpd-vhosts.conf

Dovecot

/usr/local/etc/dovecot/dovecot.conf

Mailman

Mailmanumzug :[[1]]
remote: cd /usr/local/mailman && tar -cvf mailman.tar archive data lists Mailman/mm_cfg.py
cd /usr/local/mailman && tar xvf mailman.tar