StuRa:Server/srs14: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
== Konfiguration ==
== Konfiguration ==


=== Dienste ===
'''/etc/rc.conf'''
<pre>
apache24_enable="YES"
mailman_enable="YES"
dovecot_enable="YES"
postfix_enable="YES"
</pre>


=== Mailkonten ===
=== Mailkonten ===
Zeile 15: Zeile 25:
==== Angestelten ====
==== Angestelten ====
: Rossberg
: Rossberg
  cd /home/rossberg && tar -cvf rossberg.tar .mailfilter Mail .mail_aliases .rhosts
  remote: cd /home/rossberg && tar -cvf rossberg.tar .mailfilter Mail .mail_aliases .rhosts
cd /home/rossberg && tar -xvf rossberg.tar


==== Aliases ====
==== Aliases ====
/etc/aliases.stura
'''/etc/aliases.stura'''
 
newaliases


=== Postfix ===
=== Postfix ===
/usr/local/etc/postfix/main.cf
'''/usr/local/etc/postfix/main.cf'''
 
'''/usr/local/etc/postfix/master.cf'''


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


/usr/local/etc/postfix/header_checks
'''/usr/local/etc/postfix/rbl_override'''


/usr/local/etc/postfix/rbl_override
'''/usr/local/etc/postfix/relay_recipients'''


/usr/local/etc/postfix/relay_recipients
'''/usr/local/etc/postfix/transport'''


/usr/local/etc/postfix/transport
postmap rbl_override relay_recipients transport header_checks


==== postgrey ====
==== postgrey ====


/usr/local/etc/postfix/postgrey_whitelist_clients
'''/usr/local/etc/postfix/postgrey_whitelist_clients'''


/usr/local/etc/postfix/postgrey_whitelist_recipients
'''/usr/local/etc/postfix/postgrey_whitelist_recipients'''


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


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


=== Apache ===
=== Apache ===


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


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


=== Dovecot ===
=== Dovecot ===


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


=== Mailman ===
=== Mailman ===
: Mailmanumzug :[[http://www.vuksan.com/linux/mailman_moving_lists.html]]
: Mailmanumzug :[[http://www.vuksan.com/linux/mailman_moving_lists.html]]


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

Version vom 9. Februar 2018, 14:53 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

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