SME Server Notes
My notes SME Server, formerly known as E-Smith. Originally, E-smith was produced by Mitel, later, it was more opened, and it's now hosted at Contribs.org. Note that these notes spread out over many years, and some are out of date!
There are also some more detailed posts about SME server on the Perceptus blog.
SME8.x
"SME uses tinydns as the DNS server for sme-hosted domains. For all dns lookups, it uses dnscache."
DNS instructions: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Domains
SME7.x
-
SME runs tcpsvd - TCP/IP service daemon - this appears similar to the old xinetd system for dynamically starting rarely used daemons when they are needed.
-
I see, with tcpsvd, you get one process per port - so you get more flexibility - http://smarden.org/ipsvd/benefits.html
-
I think that in SME tcpsvd looks at the files here: /var/service/ -- maybe not.
-
SME uses runsv to launch daemons - runsv will restart daemons if they're not stopped in the proper way http://smarden.org/runit/runsv.8.html
-
to stop a service, e.g. ntpd, do this (my first attempt, there are probably better ways):
-
SME7's smtp email log file: /var/log/qpsmtpd/current
-
Template System for SME conf files:
-
copy stub from /etc/e-smith/templates into /etc/e-smith/templates-custom/...
-
customize the user template
-
expand to create the real config file, e.g. /sbin/e-smith/expand-template /etc/my.cnf
-
MySQL - password /etc/openldap/ldap.pw
Older Notes
-
Red Hat Tracking:
E-smith 5 is based on RedHat 7.2 (with an older kernel)
E-smith 5.6 and SME 6 is mostly Redhat 7.3, so those RPMs usually work.
SME8 tracks Centos 5.5
-
Backup: What does the e-smith backup do? The backup to desktop will compress and uuencode the following directories to a file named esmithsg.bak: /home/e-smith /etc/e-smith/templates-custom /etc/e-smith/templates-user-custom /etc/ssh /root/.ssh /etc/passwd /etc/shadow /etc/group /etc/gshadow /etc/smbpasswd The backup to tape will backup all filesystems, level 0[*], using a program called flexbackup (flexible backup script). Both methods will backup all MySQL data.
-
Power Reducing Program:
-enabled spindown - /sbin/hdparm -S 120 /dev/hda
-installed noflushd
-disabling squid.
-not sure if this worked.
-
CVS Example: user@e-smith-server:/home/e-smith/files/ibays/cvsroot/files/
-
using Putty Agent (mainly for use with Tourtoise CVS):
-Create the key pair.
-Remember to manually copy the key from the pkeygen form!
-Use RSA1, SSH1 type key.
-create the file 'authorized_keys' in the user/.ssh folder
-change the file permissions to read only for the user only.
-
An addin to get advanced web based procmail configurations created. http://www.dungog.net/sme/howto/delegate.php
-
Squid pid file exists error was keeping me from restarting it properly. The pid file for manual removal was in /var/run/xxx.pid
-
Using an IDE CDRW on your SME Server http://contribs.org/modules/pbboard/viewtopic.php?t=3219&sid=79a34505b513294ec7a68bafc97ef9f0
-
Admin address is now in this form only: http://www.example.ca/server-manager the old port 980 does not seem to work in SME 6
-
To enable a user to SSH into the server: chsh -s /bin/bash xxxx
-
mysql password changed in SME6. Don't use root and phpmyadmin, it's a painful 76 character password. Rather, follow these instructions to create a database and user: http://www.familybrown.org/howtos/mysql-password-howto.html
-
IMAP Server: version 6.x use dovecot IMAP
tags: linux, e-smith, smeserver, contribs.org, homeserver, sme7, sme8