Bearbeiten von „StuRa Diskussion:Server“
Zur Navigation springen
Zur Suche springen
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 4: | Zeile 4: | ||
# Backup-Server (2W) | # Backup-Server (2W) | ||
## [[Notfallmanagment]] erstellt (30.8.11 16:00-21:30) | ## [[Notfallmanagment]] erstellt (30.8.11 16:00-21:30) | ||
# Mail-Server * Mailman (1W) | |||
# Mail-Server * | |||
## Mailingliste erweitert und Struktur angepasst (7.-8.9.11 20:00- 01:15) | ## Mailingliste erweitert und Struktur angepasst (7.-8.9.11 20:00- 01:15) | ||
## Mailman für testzwecke auf srs8 installiert (9.9. 13:00 - 16:00 , 16:30 - 21:20, 11.9. 15:15- | ## Mailman für testzwecke auf srs8 installiert (9.9. 13:00 - 16:00 , 16:30 - 21:20, 11.9. 15:15-) (Virtuellhost) | ||
# Samba-Server (2d) | # Samba-Server (2d) | ||
# Web-Server * Crypto (2d) | # Web-Server * Crypto (2d) | ||
Zeile 24: | Zeile 14: | ||
# Mirror-Server (? ... abhängig von den gemirrorten Sachen) | # Mirror-Server (? ... abhängig von den gemirrorten Sachen) | ||
#: = 3W + 8d = (gemäß der Arbeitsdefinition von [[Benutzer:Matthias Jakobi]] (als [[Bereichsleitung Administration Rechentechnik]] entspricht 1W = 5d und 1d = 10h) 3(5d) + 8d = 23d = 23(10h) = 230h | #: = 3W + 8d = (gemäß der Arbeitsdefinition von [[Benutzer:Matthias Jakobi]] (als [[Bereichsleitung Administration Rechentechnik]] entspricht 1W = 5d und 1d = 10h) 3(5d) + 8d = 23d = 23(10h) = 230h | ||
+ 6W um die eingetretene Scheiße wieder loszuwerden | + 6W um die eingetretene Scheiße wieder loszuwerden | ||
Zeile 56: | Zeile 43: | ||
? ? [X] NAMAZU2 make private archives searchable with namazu2 | | | ? ? [X] NAMAZU2 make private archives searchable with namazu2 | | | ||
? Options for python27 2.7. | ? Options for python27 2.7.2_1 ? | ||
? ?????????????????????????????????????????????????????????????????? ? | ? ?????????????????????????????????????????????????????????????????? ? | ||
? ? [X] THREADS Enable thread support ? ? | ? ? [X] THREADS Enable thread support ? ? | ||
Zeile 69: | Zeile 56: | ||
==== Apache22 srs8 ==== | ==== Apache22 srs8 ==== | ||
? Options for apache 2.2. | ? Options for apache 2.2.20 ? | ||
? ?????????????????????????????????????????????????????????????????? ? | ? ?????????????????????????????????????????????????????????????????? ? | ||
? ?[X] THREADS Enable threads support in APR ? ? | ? ?[X] THREADS Enable threads support in APR ? ? | ||
Zeile 95: | Zeile 82: | ||
? ?[X] FILE_CACHE Enable mod_file_cache ? ? | ? ?[X] FILE_CACHE Enable mod_file_cache ? ? | ||
? ?[X] MEM_CACHE Enable mod_mem_cache ? ? | ? ?[X] MEM_CACHE Enable mod_mem_cache ? ? | ||
? ?[ ] DAV Enable mod_dav ? ? | ? ?[X] DAV Enable mod_dav ? ? | ||
? ?[ ] DAV_FS Enable mod_dav_fs ? ? | ? ?[X] DAV_FS Enable mod_dav_fs ? ? | ||
? ?[ ] BUCKETEER Enable mod_bucketeer ? ? | ? ?[ ] BUCKETEER Enable mod_bucketeer ? ? | ||
? ?[ ] CASE_FILTER Enable mod_case_filter ? ? | ? ?[ ] CASE_FILTER Enable mod_case_filter ? ? | ||
Zeile 134: | Zeile 121: | ||
? ?[X] SPELING Enable mod_speling ? ? | ? ?[X] SPELING Enable mod_speling ? ? | ||
? ?[X] STATUS Enable mod_status ? ? | ? ?[X] STATUS Enable mod_status ? ? | ||
? ?[ ] UNIQUE_ID Enable mod_unique_id ? ? | ? ?[X] UNIQUE_ID Enable mod_unique_id ? ? | ||
? ?[X] USERDIR Enable mod_userdir ? ? | ? ?[X] USERDIR Enable mod_userdir ? ? | ||
? ?[ ] USERTRACK Enable mod_usertrack ? ? | ? ?[X] USERTRACK Enable mod_usertrack ? ? | ||
? ?[X] VHOST_ALIAS Enable mod_vhost_alias ? ? | ? ?[X] VHOST_ALIAS Enable mod_vhost_alias ? ? | ||
? ?[X] FILTER Enable mod_filter ? ? | ? ?[X] FILTER Enable mod_filter ? ? | ||
? ?[ ] SUBSTITUTE Enable mod_substitute ? ? | ? ?[ ] SUBSTITUTE Enable mod_substitute ? ? | ||
? ?[X] VERSION Enable mod_version ? ? | ? ?[X] VERSION Enable mod_version ? ? | ||
? ?[ ] PROXY Enable mod_proxy ? ? | ? ?[X] PROXY Enable mod_proxy ? ? | ||
? ?[ ] PROXY_CONNECT Enable mod_proxy_connect ? ? | ? ?[X] PROXY_CONNECT Enable mod_proxy_connect ? ? | ||
? ?[X] PATCH_PROXY_CONNECT Patch proxy_connect SSL support ? ? | ? ?[X] PATCH_PROXY_CONNECT Patch proxy_connect SSL support ? ? | ||
? ?[ ] PROXY_FTP Enable mod_proxy_ftp ? ? | ? ?[ ] PROXY_FTP Enable mod_proxy_ftp ? ? | ||
? ?[ ] PROXY_HTTP Enable mod_proxy_http ? ? | ? ?[X] PROXY_HTTP Enable mod_proxy_http ? ? | ||
? ?[ ] PROXY_AJP Enable mod_proxy_ajp ? ? | ? ?[ ] PROXY_AJP Enable mod_proxy_ajp ? ? | ||
? ?[ ] PROXY_BALANCER Enable mod_proxy_balancer ? ? | ? ?[X] PROXY_BALANCER Enable mod_proxy_balancer ? ? | ||
? ?[ ] PROXY_SCGI Enable mod_proxy_scgi ? ? | ? ?[ ] PROXY_SCGI Enable mod_proxy_scgi ? ? | ||
? ?[X] SSL Enable mod_ssl ? ? | ? ?[X] SSL Enable mod_ssl ? ? | ||
Zeile 154: | Zeile 141: | ||
? ?[X] REQTIMEOUT Enable mod_reqtimeout ? ? | ? ?[X] REQTIMEOUT Enable mod_reqtimeout ? ? | ||
? ?[ ] CGID Enable mod_cgid ? ? | ? ?[ ] CGID Enable mod_cgid ? ? | ||
? Options for apr-ipv6-devrandom-gdbm-db42 1.4.5.1.3.12 ? | ? Options for apr-ipv6-devrandom-gdbm-db42 1.4.5.1.3.12 ? | ||
Zeile 209: | Zeile 179: | ||
==== Postfix ==== | ==== Postfix ==== | ||
? Options for postfix 2.8. | ? Options for postfix 2.8.4,1 ? | ||
? ?????????????????????????????????????????????????????????????????? ? | ? ?????????????????????????????????????????????????????????????????? ? | ||
? ?[X] PCRE Perl Compatible Regular Expressions ? ? | ? ?[X] PCRE Perl Compatible Regular Expressions ? ? | ||
Zeile 231: | Zeile 201: | ||
? ?[ ] INST_BASE Install into /usr and /etc/postfix ? ? | ? ?[ ] INST_BASE Install into /usr and /etc/postfix ? ? | ||
==== | ==== Dovcot ==== | ||
? Options for dovecot 2.0. | ? Options for dovecot 2.0.14 ? | ||
? ?????????????????????????????????????????????????????????????????? ? | ? ?????????????????????????????????????????????????????????????????? ? | ||
? ? [X] KQUEUE kqueue(2) support ? ? | ? ? [X] KQUEUE kqueue(2) support ? ? | ||
Zeile 242: | Zeile 212: | ||
? ? [ ] LDAP OpenLDAP support ? ? | ? ? [ ] LDAP OpenLDAP support ? ? | ||
? ? [ ] PGSQL PostgreSQL support ? ? | ? ? [ ] PGSQL PostgreSQL support ? ? | ||
? ? [ | ? ? [ ] MYSQL MySQL support ? ? | ||
? ? [ ] SQLITE SQLite support ? ? | ? ? [ ] SQLITE SQLite support ? ? | ||
==== Mailman test config ==== | ==== Mailman test config ==== | ||
Zeile 306: | Zeile 276: | ||
transport_maps = hash:/usr/local/etc/postfix/transport | transport_maps = hash:/usr/local/etc/postfix/transport | ||
vacation_destination_recipient_limit = 1 | vacation_destination_recipient_limit = 1 | ||
mailman_destination_recipient_limit = 1 | <b>mailman_destination_recipient_limit = 1</b> | ||
... | ... | ||
</code> | </code> | ||
Zeile 327: | Zeile 293: | ||
<code><b> | <code><b> | ||
mailman unix - n n - - pipe | mailman unix - n n - - pipe | ||
flags=FR user=mailman:mailman argv=/usr/local/mailman/postfix-to-mailman.py | flags=FR user=mailman:mailman | ||
argv=/usr/local/mailman/postfix-to-mailman.py ${nexthop} ${user} | |||
</b></code> | </b></code> | ||
===== Create Postfix transport database ===== | ===== Create Postfix transport database ===== | ||
Zeile 406: | Zeile 370: | ||
Alias /pipermail "/usr/local/mailman/archives/public" | Alias /pipermail "/usr/local/mailman/archives/public" | ||
Alias /icons "/usr/local/mailman/icons" | Alias /icons "/usr/local/mailman/icons" | ||
<Directory "/usr/local/mailman"> | <Directory "/usr/local/mailman"> | ||
AllowOverride All | AllowOverride All | ||
Zeile 437: | Zeile 400: | ||
</code> | </code> | ||
===== | ===== The Mailman CGI Scripts ===== | ||
I am using apache 2.2 on this server so this documentation is greared towards that version. The CGI's will work under any version of apache but you will have to change the location of the files to meet your install. | |||
Copy over the icons. | |||
<code> | <code> | ||
# | # cd /usr/local/mailman/icons | ||
# mkdir -p /usr/local/www/apache22/data/icons | |||
# cp * /usr/local/www/apache22/data/icons/ | |||
</code> | </code> | ||
Create a config file for apache to read the mailman CGI setup directives from. If the new file is placed in /usr/local/etc/apache22/Includes them apache will automatically read this file on boot. | |||
NOTE: If you are using apache 1.3, then these directive would normally go into httpd.conf | |||
Create a new file called mailman.httpd.conf and place it in /usr/local/etc/apache22/Includes/ with the following information in it. | |||
===== Mailman CGI web frontend (nicht umgesetzt)===== | |||
<code> | <code> | ||
<Directory "/usr/local/mailman/cgi-bin"> | |||
Allow Override None | |||
Options None | |||
Order allow,deny | |||
Allow from all | |||
</Directory> | |||
<Directory "/usr/local/mailman/archives/public"> | |||
Allow Override None | |||
Options None | |||
Order allow,deny | |||
Allow from all | |||
</Directory> | |||
ScriptAlias /mailman "/usr/local/mailman/cgi-bin" | |||
Alias /pipermail "/usr/local/mailman/archives/public" | |||
</code> | </code> | ||
===== Integrating Mailman and Postfix (nicht umgesetzt) ===== | |||
Mailman does not work by default with the Postfix <code>luser_relay</code> directive turned on. Postfix by default has <code>luser_relay</code> already disabled but you should check your installation and make sure it was not enabled to support some thing else. | |||
Add the following directived to the Postfix main.cf file (located in /usr/local/etc/postfix on FreeBSD). | |||
<code> | <code> | ||
# echo " | recipient_delimiter = + | ||
</code> | |||
Note: Using the "+" as the delimiter works well with the VERP defaults built into mailman. | |||
Postfix returns a 450 error code for delivery to a non-existant local user. This just tells the remote mail server to delay and try again. Changing this to a 550 (the default in FreeBSD) will return a permament error. In the Postfix main.cf file add the following: | |||
<code> | |||
unknown_local_recipient_reject_code = 550 | |||
</code> | |||
Mailman can update the alias file automatically when new lists are created or removed. It does this by maintaining it's own alias file and then telling Postfix to read both the system alias file and the mailman one. Change the Postfix alias_maps directive in main.cf to include the mailman alias db as well. | |||
<code> | |||
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases | |||
</code> | |||
Create the mailman alias file and add some final configurations settings to the mailman config file. | |||
<code> | |||
# cd /usr/local/mailman/Mailman | |||
# echo "DEFAULT_EMAIL_HOST = 'epsb.net'" >> mm_cfg.py | |||
# echo "SMTPHOST = 'localhost'" >> mm_cfg.py | |||
# echo "MTA = 'Postfix'" >> mm_cfg.py | |||
# /usr/local/mailman/bin/genaliases | |||
# newaliases | |||
# cd /usr/local/mailman/data | |||
# chown mailman:mailman aliases* #keine aliases vorhanden | |||
# chmod g+w aliases* # daher das auch nicht gemacht | |||
</code> | </code> | ||
Zeile 459: | Zeile 479: | ||
* aktuell nur für altes Plone | * aktuell nur für altes Plone | ||
<code> | <code> | ||
Zeile 493: | Zeile 510: | ||
load_rc_config $name | load_rc_config $name | ||
eval "${rcvar}=\${${rcvar}:-'NO'}" | eval "${rcvar}=\${${rcvar}:-'NO'}" | ||
plone_buildout=${plone_buildout:-"/usr/local/Plone | plone_buildout=${plone_buildout:-"/usr/local/Plone"} | ||
plone_user=${plone_user:-"<b>admin fragen</b>"} | plone_user=${plone_user:-"<b>admin fragen</b>"} | ||
Zeile 546: | Zeile 563: | ||
run_rc_command "$1" | run_rc_command "$1" | ||
</code> | </code> | ||