= Welcome to Group 1 - netlab 2009 - LIACS = Check [wiki:Assignment3] for hints on the assigment. Network/routing configuration {{{ $ cat /etc/network/interfaces auto lo iface lo inet loopback auto eth1 iface eth1 inet static address 132.229.136.242 netmask 255.255.255.240 gateway 132.229.136.241 up route add -net 132.229.136.8 netmask 255.255.255.248 gw 132.229.136.243 dev eth1 up route add -net 132.229.136.16 netmask 255.255.255.248 gw 132.229.136.244 dev eth1 up route add -net 132.229.136.24 netmask 255.255.255.248 gw 132.229.136.245 dev eth1 up route add -net 132.229.136.32 netmask 255.255.255.248 gw 132.229.136.246 dev eth1 up route add -net 132.229.136.40 netmask 255.255.255.248 gw 132.229.136.247 dev eth1 up route add -net 132.229.136.48 netmask 255.255.255.248 gw 132.229.136.248 dev eth1 up route add -net 132.229.136.56 netmask 255.255.255.248 gw 132.229.136.249 dev eth1 up route add -net 132.229.136.64 netmask 255.255.255.248 gw 132.229.136.250 dev eth1 up route add -net 132.229.136.72 netmask 255.255.255.248 gw 132.229.136.251 dev eth1 auto eth2 iface eth2 inet static address 132.229.136.1 netmask 255.255.255.248 }}} Relevant dhcpd configation: {{{ subnet 132.229.136.0 netmask 255.255.255.248 { range 132.229.136.2 132.229.136.6; option routers 132.229.136.1; option domain-name "grp1.netlab2009.liacs.nl"; option domain-name-servers 132.229.136.1, 132.229.16.95; } }}} = email hint = {{{ # upgrade needed for postfix $ sudo apt-get update $ sudo apt-get dist-upgrade $ reboot $ sudo apt-get install postfix $ sudo apt-get install cyrus-imapd-2.2 }}} https://help.ubuntu.com/community/Cyrus Username/password cyrus imap server at http://www.faqs.org/docs/Linux-HOWTO/Cyrus-IMAP.html saslauthd deamon draaien, met pam authenticatie = General saslauthd authentication with PAM backend (unix password file) = {{{ $ cat /etc/default/saslauthd START=yes NAME="saslauthd" MECHANISMS="pam" MECH_OPTIONS="" THREADS=5 }}} = Postfix SMTP AUTH = Add to /etc/postfix/main.conf {{{ smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains }}} {{{ $ cat /etc/postfix/sasl/smtpd.conf saslauthd_path: /var/run/saslauthd/mux pwcheck_method: saslauthd mech_list: plain login }}} Due to postfix chroot envirionment and some sasl2 weirdness in config file, duplicate {{{ $ cat /var/spool/postfix/usr/lib/sasl2/smtpd.conf saslauthd_path: /var/run/saslauthd/mux pwcheck_method: saslauthd mech_list: plain login }}} = IMAP sasl auth = Alter /etc/imapd.conf to make sure below is set {{{ sasl_mech_list: PLAIN sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb sasl_auto_transition: no }}} To run postfix with auxprop (sasl password file backend) {{{ $ adduser postfix sasl $ cat /etc/postfix/sasl/smtpd.conf pwcheck_method: auxprop mech_list: plain login $ cat /var/spool/postfix/usr/lib/sasl2/smtpd.conf pwcheck_method: auxprop mech_list: plain login }}} * BIND/Named at [wiki:BIND separate page] * Apache/trac at [wiki:ApacheWithTrac separate page] Enjoy! Johan & /Rick = XMMS Jabberd = In /etc/ejabberd/ejabberd.cfg add/alter the lines: {{{ %% Admin user {acl, admin, {user, "netlab"}}. {access, configure, [{allow, admins}]}. %% Hostname {hosts, ["kami"]}. }}} Where netlab is your user name and kami is the hostname. Use "ejabberdctl register" to create this user. At http://localhost/admin/ you should now be able to login with the user you created above. To start all over again in case of error, just whipe the database files {{{rm var/lib/ejabberd/*}}} To generate bind SRV records http://www.jms1.net/jabberd2/srv.shtml and add these to your bind zone files. Webinterface at http://grp1.netlab2009.liacs.nl:5280/admin/ {{{netlab@grp1.netlab2009.liacs.nl/netlab}}} == Starting Points == * TracGuide -- Built-in Documentation * [http://trac.edgewall.org/ The Trac project] -- Trac Open Source Project * [http://trac.edgewall.org/wiki/TracFaq Trac FAQ] -- Frequently Asked Questions * TracSupport -- Trac Support For a complete list of local wiki pages, see TitleIndex.