UBC Physics & Astronomy
mbox.phas.ubc.ca
142.103.236.69 - 192.168.1.69 (server)
IBM Service until Mar 27, 2006 - call 1-800-426-7378
Local system engineers: Dave Peterson 604-297-2410(o), 604-551-5116(c) or Duncan Furniss
F1 - Setup     Alt-F1 - Sysboot

To check sendmail version:  /usr/sbin/sendmail -d0.1 -bv root
ServeRAID Adapter Quick Reference
UPS STATUS 
RAID STATUS - login and run /usr/RaidMan/RaidMan.sh    Currently three drives in Raid 5 plus one hot spare.
BIOS SETUP
Current Setup:
2 x 2.4 GHz   /   RAID 5 array on CH1 using 3 disks (1,2,3) with one hot spare(0)  /    BIOS v1.08
ServeRAID 5i Ultra320 SCSI, Firmware=v6.10.24, BIOS=v6.10.24, Driver=v6.10.52
Logical Drive 1 -> RAID 5 140012 MB
System serial numberKPMH959
Machine type8670   (model is 31X)
System memory6000MB
Processors, processor slots2, 2
Date and time10/04/2003, 12:01:16
System BIOS version1.08
ROM diagnostics build level15
Integrated System Management ProcessorRevision 14

How to route mail to unknown users to one account?
If you want to route all mail to unknown users to one account (instead of giving the standard error reply), you can put in your .mc file the following:
define(`LUSER_RELAY',`local:someuser@your.domain')
or in some cases:
define(`LUSER_RELAY',`local:someuser')

DISASTER RECOVERY
  1. Install a new server.
  2. Load RHEL - currently running RHEL AS 3.
  3. Install updates using up2date.
  4. Copy over backup files from alpha:/home/backups/mail (these files are rsync'd daily). Checklist follows:
    • /etc/aliases
    • /etc/crontab
    • /etc/exports
    • /etc/hosts
    • /etc/hosts.allow
    • /etc/named.conf
    • /etc/php.ini
    • /etc/xinetd.d/imap
    • /etc/xinetd.d/imaps
    • /etc/xinetd.d/ipop2
    • /etc/xinetd.d/ipop3
    • /etc/xinetd.d/pop3s
    • /etc/cron.daily/dirdump.cron
    • /etc/cron.daily/rsync-backup
    • /etc/cron.daily/squirrelmail.cron
    • /root/.bashrc
    • /etc/cron.d/*
    • /etc/httpd/*
    • /etc/mail/*
    • /etc/squirrelmail/*
    • /mail/mailman/*
    • /mail/slist/*
    • /opt/sysadmin/*
    • /usr/share/ssl/*
    • /usr/share/squirrelmail/plugins/*
    • /var/lib/squirrelmail/*
    • /var/named/*
    • /var/spool/cron/*
  5. Check sendmail installation
    • DO NOT START Sendmail until /mail and /var/spool/mail are in place!!
    • /mail is actually on XserveRAID so you need to mount it.
    • start sendmail and check
  6. Check certificates - should be in place from backup.  If needed, re-created or install as per below.
  7. Check web server installation - https.
  8. Check mailman installation.
  9. (install firestarter).
  10. Install Netvault. (alpha:/home/backups/netvault)
  11. Check vsftpd installation (/etc/vsftpd/vsftpd.conf).  Needed for (sqmail) vacation program.
  12. Check NFS exports to warp/hyper.
  13. Check hosts.allow file.
Additional, non-critical items to take care of:
  1. Install APCUPSD (it is in /usr/local/src which is backed up
  2. Start nscd.
        [root@mail root]# df -h
        Filesystem            Size  Used Avail Use% Mounted on
        /dev/sda3             9.7G  4.8G  4.4G  53% /
        /dev/sda1              99M   68M   26M  73% /boot
        /dev/sda2             9.7G   33M  9.1G   1% /chroot
        /dev/sdb1             962G  229G  723G  25% /mail
        /dev/sda6             114G   28G   81G  26% /var/spool/mail
        none                  4.0G     0  4.0G   0% /dev/shm
        

[root@mail root]# chkconfig --list | grep on
microcode_ctl   0:off   1:off   2:on    3:on    4:on    5:on    6:off
gpm             0:off   1:off   2:on    3:on    4:on    5:on    6:off
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
random          0:off   1:off   2:on    3:on    4:on    5:on    6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmonitor       0:off   1:off   2:on    3:off   4:off   5:off   6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
nscd            0:off   1:off   2:off   3:on    4:on    5:on    6:off
apmd            0:off   1:off   2:on    3:off   4:off   5:off   6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
ip6tables       0:off   1:off   2:on    3:off   4:off   5:off   6:off
pcmcia          0:off   1:off   2:on    3:off   4:off   5:off   6:off
irqbalance      0:off   1:off   2:off   3:on    4:on    5:on    6:off
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
portmap         0:off   1:off   2:off   3:on    4:on    5:on    6:off
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off
rhnsd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
xinetd          0:off   1:off   2:off   3:on    4:on    5:on    6:off
sysstat         0:off   1:on    2:off   3:off   4:off   5:off   6:off
snmpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpd            0:off   1:off   2:off   3:on    4:off   5:on    6:off
xfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:on    4:on    5:on    6:off
arptables_jf    0:off   1:off   2:on    3:off   4:off   5:off   6:off
named           0:off   1:off   2:on    3:on    4:on    5:on    6:off
vsftpd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
mailman         0:off   1:off   2:on    3:on    4:on    5:on    6:off
apcupsd         0:off   1:off   2:on    3:on    4:on    5:on    6:off
        rsync:  on
        imap:   on
        imaps:  on
        ipop2:  on
        ipop3:  on
        pop3s:  on

09-07-16
installed RHEL 5.3, RAID1- 2disks, RAID5 - 3 disks, one HS
Error: Failed to execute dbus-launch to autolaunch D-Bus session
Soln: yum groupinstall "X Window System" "GNOME Desktop Environment"

08-12-10
/etc/aliases file setup on mail/puremsg
In order to be able to reject mail for invalid users, we needed a list of valid local users on puremsg. To have this yet not get local delivery (we want the mail delivered to mail.phas) we use an aliases file on puremsg that points <user> to <user>@mail.phas.ubc.ca
  1. On mail we have:
    # regenerate the aliases file for rsyncing to relay/puremsg ever 15 minutes, 6am to 6pm
    4,19,34,49 6-18 * * * /opt/sysadmin/relayhost/validaliases.pl
    which creates the new alias file (/opt/sysadmin/relayhost/aliases).
  2. On puremsg we have:
    */5 * * * * /usr/local/bin/getaliases
    which rsyncs aliases.mail from mail.phas.ubc.ca:/opt/sysadmin/relayhost/aliases, checks if it is different from the installed one, and if so copies it to /etc/aliases and runs newaliases.

    This script also runs ssh to warp and copies the new aliases file on mail (/opt/sysadmin/relayhost/aliases) to /opt/sysadmin/passwd/aliases so that the addusr script on warp can check for already-used aliases.

09-05-21
Turn off mailman
root@ mbox:/mail]$ service mailman stop
root@ mbox:/mail]$ chkconfig mailman off

08-09-09
upgrade dovecot from v1.1.3 to v1.1.4
cp -a /usr/libexec/dovecot /usr/libexec/dovecot-1.1.3
cp /usr/sbin/dovecot /usr/sbin/dovecot-1.1.3
cp /usr/sbin/dovecotpw /usr/sbin/dovecotpw-1.1.3

08-10-10
modified /etc/security/limits.conf Added the following lines:
#
# 08-10-10 rdp add next lines to prevent dovecot warning:
# Dovecot Imap: Warning: fd limit 1024 is lower than what Dovecot can use
# These lines allow for processes to run with 4096 file descriptors by
# default and the user process can increase it to 8192 via ulimit.
*               hard    locks           8192
*               hard    nofile          8192
*               soft    locks           4096
*               soft    nofile          4096

08-09-09
upgrade dovecot from v1.1.1 to v1.1.3
[root@mail dovecot-1.1.1]# pwd
/usr/local/src/dovecotstuff/dovecot-1.1.3
[root@mail dovecot-1.1.3]# ./configure CPPFLAGS=-I/usr/kerberos/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var

Output...

Install prefix ...................... : /usr
File offsets ........................ : 64bit
I/O loop method ..................... : poll
File change notification method ..... : dnotify
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support ........ : no
Building with user database modules . : static prefetch passwd passwd-file nss
Building with password lookup modules : passwd passwd-file shadow pam checkpassword
Building with SQL drivers ............:

Replaced files:
/etc/dovecot.conf
/etc/logrotate.d/dovecot
/etc/pam.d/dovecot
/etc/pki/dovecot/*
/etc/rc.d/init.d/dovecot
/etc/rc.d/rc2.d/S65dovecot
/etc/rc.d/rc3.d/S65dovecot
/etc/rc.d/rc4.d/S65dovecot
/etc/rc.d/rc5.d/S65dovecot
/usr/include/dovecot
/usr/lib/dovecot/*
/usr/libexec/dovecot/*
/usr/sbin/dovecot
/usr/sbin/dovecotpw
/usr/sbin/dovecot.hold
/usr/sbin/dovecotpw.hold
/usr/sbin/dovecot.notstripped
/usr/sbin/dovecotpw.notstripped
/usr/share/doc/dovecot/*
/usr/var/lib/dovecot/*
/usr/var/run/dovecot/*
/var/lib/dovecot/*
/var/lock/subsys/dovecot
/var/log/dovecot-deliver.log
/var/log/dovecot.log
/var/run/dovecot/*


08-09-02
bacula client setup on mail
[root@mail bacula-2.4.2]# ./configure --with-python --with-openssl --with-x --prefix=/opt/bacula --exec-prefix=/opt/bacula --sysconfdir=/opt/bacula/etc --with-scriptdir=/opt/bacula/scripts --with-dump-email=root@localhost --with-job-email=root@localhost --with-smtp-host=localhost --enable-client-only

[root@mail bacula-2.4.2]# make install

[root@mail bacula-2.4.2]# make install-autostart-fd

08-08
Dovecot conversion notes


08-07-30
switched to using dovecot deliver as lda around 9pm
Here is a graph showing the effect of the switch to dovecot. This graph shows a more detailed comparison of the load.

08-07-27
switched to using dovecot for imap/pop

08-06-24
/etc/xinetd.d/imaps
I changed lines in the above file from:
	log_on_success  += HOST DURATION PID
	log_on_failure	-= HOST
to
	log_on_success  += HOST DURATION PID USERID
	log_on_failure	+= HOST USERID
with disasterous effects. Remote users (ChemPhys, Ampel, home users, etc) started getting large delays and timeouts when trying to read their email and when sending (because of write to Sent folder). I think it was the USERID specification which made it look for an auth server every time. Dumb move on my part.

08-04-02
- installed python V2.5.2 in /usr/local from source
08-04-01
-installed Date::Calc perl module:
# cpan
cpan> install Date::Calc
- also upgraded cpan module:
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> quit
08-01-19
-installed 2x2GB memory SIMMS to replace 2x1GB SIMMS thus increasing total memory to its max of 8GB.
-moved /var/spool/mail to /dev/sda6 (partition on local RAID5 array).
- removed links:
/var/spool/mail -> /mail/inboxes
/var/mail -> /mail/inboxes

06-08-23
Installed php-eaccelerator. Installed from rpm from DagWeirs:
wget http://dag.wieers.com/packages/php-eaccelerator/php-eaccelerator-4.3.2_0.9.3-4.1.el3.rf.i386.rpm
[root@mail src]# rpm -ivh php-eaccelerator-4.3.2_0.9.3-4.1.el3.rf.i386.rpm
After rpm install, just restarted apache server and voila! Checked /var/cache/php-eaccelerator directory to make sure was working. Also looked at http://www.phas.ubc.ca/sysadmin/WWW-admin/phpinfo.php
06-06-06
- Edited /etc/logrotate.conf to save 8 weekly rotations (was 4) of log data and turn compression on.
06-05-09
- after upgrading squirrelmail via up2date, it stopped working. Needed to set permissions on /etc/squirrelmail and /usr/share/squirrelmail to owner:apache,
chown -R apache:apache /etc/squirrelmail; chown -R apache:apache /usr/share/squirrelmail
06-02-02
Added new file sysadmin-backup to /etc/cron.daily:
#!/bin/sh
#
# Script to backup syadmin web files
#  from www.phas.ubc.ca to mail.phas.ubc.ca
#
# This rsync is initiated from mail
#
RSCMD=/usr/bin/rsync
$RSCMD -a 192.168.1.10::w3/www/html/sysadmin /var/www/html
05-12-20
-used fdisk to partition new Xserve RAID disk (/dev/sdb):
[root@mail inboxes]# fdisk -l

Disk /dev/sda: 146.8 GB, 146813222912 bytes
254 heads, 63 sectors/track, 17919 cylinders
Units = cylinders of 16002 * 512 = 8193024 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    103981+  83  Linux
/dev/sda2            14      1293  10241280   83  Linux
/dev/sda3          1294      2573  10241280   83  Linux
/dev/sda4          2574     17919 122783346    f  Win95 Ext'd (LBA)
/dev/sda5          2574      2828   2040223+  82  Linux swap
/dev/sda6          2829     17919 120743059+  83  Linux

Disk /dev/sdb: 2199.0 GB, 2199023254528 bytes
64 heads, 32 sectors/track, 2097151 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1   1000000 1023999984   83  Linux
/dev/sdb2       1000001   2097151 1123482624   83  Linux
- used mke2fs to make the filesystems:
[root@mail inboxes]# mke2fs -j -m 1 /dev/sdb2
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
140443648 inodes, 280870656 blocks
2808706 blocks (1.00%) reserved for the super user
First data block=0
8572 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
05-12-13
After installing the new Apple Fiber channel cards (HBAs) in both alpha and mail and rebooting, the HBAs were "dead" even though they were recognized as new hardware on the re-boot and the drivers were installed. Turns out I needed to:
  1. Modify /etc/modules.conf to add the following two lines:
    alias eth0 e1000
    alias eth1 e1000
    alias scsi_hostadapter ips
    alias usb-controller usb-ohci
    alias scsi_hostadapter1 mptbase
    alias scsi_hostadapter2 mptscsih
  2. Make copies of /boot/initrd-2.4.21-37.EL.img and /boot/initrd-2.4.21-37.ELsmp.img
  3. Run the following commands to make new initrd (initial RAM disk images) with the drivers installed:
    [root@mail boot]# mkinitrd -v -f /boot/initrd-2.4.21-37.EL.img 2.4.21-37.EL
    [root@mail boot]# mkinitrd -v -f /boot/initrd-2.4.21-37.ELsmp.img 2.4.21-37.ELsmp
  4. I then rebooted and the HBAs were recognized.
05-11-03
- installed new version of squirrelmail, squirrelmail-1.4.5-1.noarch.rpm
- started running nscd
05-05-06
- Copying old addressbook over to new sqmail:
cd /var/lib/squirrelmail/prefs/
cp /var/www/shtml/sqmail/data/waltham.abook
05-05-04
- Installed new squirrelmail from an rpm from www/squirrelmail.org site.  Uses the same file locations as the rpm from redhat.
- edited /etc/httpd/conf.d/php.conf to change "LimitRequestBody" from 524288 to 10485760.
- installed plugin vacation_local to use for vacation/.forward handling (in ftp mode).
05-05-02
- Edited /etc/xinetd.d/imap[s] and changed the cps line from 500 5 to 5000 2.  This controls the number of connections per second and the wait-to-restart time.  I also added the line flags = NOLIBWRAP.  According to documents on the squirrelmail website, this could increase connection performance by up to 10%.
05-04-27
- Solved a problem with WebMail hanging by renaming the person's preference folder on the mail server in the directory: /mail/sqmail/data   (eg.mv xiangli.pref xiangli.pref.save).

05-04-12
-changed mailman configuration (/mail/mailman/Mailman directory):

[root@mail Mailman]# diff Defaults.py Defaults.py.orig
86,87c86,87
< DEFAULT_EMAIL_HOST = 'mail.phas.ubc.ca'
< DEFAULT_URL_HOST = 'mail.phas.ubc.ca'
---
> DEFAULT_EMAIL_HOST = 'mail.physics.ubc.ca'
> DEFAULT_URL_HOST = 'mail.physics.ubc.ca'

Then restarted mailman (service mailman restart).

05-03-02
-changed hostname to mail.phas.ubc.ca, regenerated server,key and server.crt files as per (04-01-14) below.

05-02-01
-edited /etc/php.ini and changed to the following:
 
register_argc_argv = Off   
This change was needed because sending of mail stopped working from within Squirrelmail.  In /var/log/https/error_log there was the error:
sh: line 1: /sendmail: No such file or directory

05-01-25
-edited /etc/php.ini and changed to the following:
  safe_mode = On
  memory_limit = 12M

  display_errors = Off
  register_argc_argv = On
  upload_max_filesize = 20M

 
The memory limit was upped from 8M due to Plotkin reporting: "*Fatal error*: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7254 bytes) in */var/www/shtml/sqmail/functions/imap_general.php* on line *157*" when running webmail.

04-10-18

-Fri Oct 15 
WARNING: Kernel Errors Present
VFS: Error -5 occured while...: 16Time(s)  These appear to be due to some users not having quotas set.  I will look into this...

04-07-07
- Got contacted by two users that they were unable to send email (to outside users) from pine on physics.  I was able to send email OK from mozilla on my personal machine.  I logged out and logged in to physics and ran pine.  I was unable to send email - got a message "Connetion failed to localhost.25  Connection timed out.".  I logged out and went back to mozilla on my PC and was still able to send mail OK.  I logged on to physics as root and restarted sendmail.  That appears to have fixed the problem.

04-05-18
- Around 9am the mail server stopped accepting mail for forwarding.  Incoming mail was fine but if you tried to send a message from pine or mozilla, it just hung forever or timed out.  I tried re-starting MailScanner (sendmail) to no avail.  I finally rebooted and it fixed the problem.

04-05-07
- Installed 2x2GB memory modules.  Had to remove 2x256MB modules.  Also, turned on HYPERTHREADING.

04-04-08
- Updated the SCSI BIOS and FIRMWARE with the help of the IBM tech to v6.10.24.  It is important to update the drivers first and then do the BIOS and FIRMWARE or you may not be able to boot your system since the new BIOS/FIRMWARE may not know about the older drivers.  To do the update, you just need to create the 2 Update Xpress CDs from the IBM website and then boot from them.

[root@mail home]# df -h (as of 04-04-13)
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             9.7G  4.1G  5.1G  45% /
/dev/sda1              99M   46M   48M  49% /boot
/dev/sda2             9.7G   33M  9.1G   1% /chroot
/dev/sda6             114G   43G   66G  40% /mail
none                  1.3G     0  1.3G   0% /dev/shm
none                  1.3G   16K  1.3G   1% /mail/MailScanner/incoming

04-04-05
- I ran the RaidMan software today (/usr/RaidMan/RaidMan.sh) and it reported a mismatch between the driver software and the firmware and bios.  Firmware=v5.11.05, BIOS=v5.11.05, Driver=v6.10.52.  Called IBM tech support th find best way to recify this situation (ref # 40-LWSQW).

04-04-05
- Mary Ann has set up a job in /etc/cron.d/spam that runs monthly.  It runs the script /opt/sysadmin/spam/spam.sh which moves SPAMassassinated folders to SPAMassassinated.old.

04-03-24
- Need to run sa-learn under UID of each user since sa-learn doesn't have an option to specify what bayes database files to work with.  Solution: created script, /usr/local/bin/spamlearn:
#! /bin/bash
# script to run sa-learn on users' SA-spam and SA-ham files...
sa-learn --mbox --spam mail/SA-spam > /dev/null
cp /dev/null mail/SA-spam
sa-learn --mbox --ham  mail/SA-ham > /dev/null
cp /dev/null mail/SA-ham
exit 0
Then, just create a cron entry for each user, that contains an entry like:
2 21 * * * /usr/local/bin/spamlearn
To script this, you can use the following command to add a crontab entry for a user:
crontab -u <username> /var/spool/cron/rap
To delete a crontab file for a user, use the command:
crontab -u <username> -r
The user does not need to have a shell for this crontab file to work.

04-03-17
- Goal: get smtp auth working so users can send email (relay) through mail.physics.ubc.ca as long as they are securely authenticated.  Things I needed to do:
1. Created /etc/sysconfig/saslauthd and put the following line in it:
MECH=shadow
2. Edited /usr/lib/sasl2/Sendmail.conf and put in the following line:
pwcheck_method:saslauthd
3. chkconfig saslauthd on
4. service saslauthd start
5. Edited /etc/mail/sendmail.mc and enabled/edited the following lines:
define(`confAUTH_OPTIONS', `A p y')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confCACERT_PATH',`/usr/share/ssl/certs')
define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
define(`confSERVER_CERT',`/usr/share/ssl/certs/imapd.pem')
define(`confSERVER_KEY',`/usr/share/ssl/certs/imapd.pem')
FEATURE(delay_checks)dnl

6. Found good reference at http://www.joreybump.com/code/howto/smtpauth.html.
7. I tested this setup on W3, using the command "sendmail -bD -X /tmp/test.log" to make user everything worked ok.  Log looked like this:
02477 >>> 250 2.0.0 i2HMs7Vq002477 Message accepted for delivery
02479 === CONNECT mail.physics.ubc.ca.
02477 <<< QUIT
02477 >>> 221 2.0.0 w3.p02477 >>> 220 w3.physics.ubc.ca ESMTP Sendmail 8.12.10/8.12.10; Wed, 17 Mar 2004 14:54:07 -0800
02477 <<< EHLO w3.physics.ubc.ca
02477 >>> 250-w3.physics.ubc.ca Hello [192.168.0.100], pleased to meet you
02477 >>> 250-ENHANCEDSTATUSCODES
02477 >>> 250-PIPELINING
02477 >>> 250-8BITMIME
02477 >>> 250-SIZE
02477 >>> 250-DSN
02477 >>> 250-ETRN
02477 >>> 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
Note: LOGIN PLAIN not available yet since we are not yet in an encrypted session
02477 >>> 250-STARTTLS
02477 >>> 250-DELIVERBY
02477 >>> 250 HELP
02477 <<< STARTTLS
02477 >>> 220 2.0.0 Ready to start TLS
02477 <<< EHLO w3.physics.ubc.ca
02477 >>> 250-w3.physics.ubc.ca Hello [192.168.0.100], pleased to meet you
02477 >>> 250-ENHANCEDSTATUSCODES
02477 >>> 250-PIPELINING
02477 >>> 250-8BITMIME
02477 >>> 250-SIZE
02477 >>> 250-DSN
02477 >>> 250-ETRN
02477 >>> 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Note: LOGIN PLAIN now available becasue we are now in an encrypted session
02477 >>> 250-DELIVERBY
02477 >>> 250 HELP
02477 <<< AUTH CRAM-MD5
02477 >>> 334 PDY2Njc1MzgzMi41ODIyMjk1QHczLnBoeXNpY3MudWJjLmNhPg==
02477 <<< cmFwIDU2MjE5YjYxMTI2YmQ4NzEzNDRhZjZmNGNjMmQwOGQ1
02477 >>> 535 5.7.0 authentication failed
02477 <<< AUTH PLAIN AHJhcAAzMS4vRjByZA==
02477 >>> 235 2.0.0 OK Authenticated
02477 <<< MAIL FROM:<rap@w3.physics.ubc.ca>
02477 >>> 250 2.1.0 <rap@w3.physics.ubc.ca>... Sender ok
02477 <<< RCPT TO:<rap@physics.ubc.ca>
02477 >>> 250 2.1.5 <rap@physics.ubc.ca>... Recipient ok
02477 <<< DATA
02477 >>> 354 Enter mail, end with "." on a line by itself
02477 <<< Message-ID: <4058D70F.5050301@w3.physics.ubc.ca>
02477 <<< Date: Wed, 17 Mar 2004 14:54:07 -0800
02477 <<< From: Ron <rap@w3.physics.ubc.ca>
02477 <<< User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
02477 <<< X-Accept-Language: en-us, en
02477 <<< MIME-Version: 1.0
02477 <<< To: Ron Parachoniak <rap@physics.ubc.ca>
02477 <<< Subject: test 5
02477 <<< Content-Type: text/plain; charset=us-ascii; format=flowed
02477 <<< Content-Transfer-Encoding: 7bit
02477 <<<
02477 <<< test 5
02477 <<<
02477 <<< .
02477 >>> 250 2.0.0 i2HMs7Vq002477 Message accepted for delivery

04-03-12

- I enabled vsftpd so that various squirrelmail plugins would work (eg vacation program).
- The mail server seems to be io bound lately; I don't have a baseline to know if this just happened or has always been like this.  Here is the top output and iostat for reference:

iowait numbers can easily hit 80% esp when a backup is going on...

 15:40:28  up 39 days,  8:01,  2 users,  load average: 1.73, 1.34, 1.22

249 processes: 248 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total   11.2%    0.0%    7.0%   0.3%     0.3%   29.3%   51.5%
           cpu00   13.4%    0.0%    7.7%   0.5%     0.5%   32.9%   44.6%
           cpu01    9.1%    0.0%    6.3%   0.1%     0.1%   25.7%   58.4%
Mem:  2568148k av, 2545004k used,   23144k free,       0k shrd,  323552k buff
                   1952520k actv,  470516k in_d,   12268k in_c
Swap: 2040212k av,  262368k used, 1777844k free                 1870740k cached
 
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
26654 madumais  21   0 26576  18M  1972 S     3.0  0.7   0:00   1 spamd
26674 knecht    21   0 23436  15M  1996 S     2.8  0.6   0:00   1 spamd
26669 root      21   0 15500 6072  1492 S     1.0  0.2   0:00   1 MailScanner
 4320 auwarter  15   0   788  632   500 S     0.8  0.0   0:01   1 imapd
26657 elliotmh  21   0  1700 1696  1432 S     0.6  0.0   0:00   1 imapd
26659 root      24   0  3388 3388  1908 S     0.6  0.1   0:00   1 pyzor
26676 root      24   0  3284 3284  1908 S     0.5  0.1   0:00   0 pyzor
    7 root      15   0     0    0     0 DW    0.4  0.0 391:35   1 kswapd
26642 root      15   0  1312 1312   824 R     0.3  0.0   0:00   0 top
    4 root      15   0     0    0     0 SW    0.2  0.0  96:32   1 keventd
   20 root      15   0     0    0     0 SW    0.1  0.0  47:27   1 kjournald
26660 root      19   0  3024 2536  1880 S     0.1  0.0   0:00   1 sendmail
    1 root      17   0   496  464   440 S     0.0  0.0   2:38   1 init
    2 root      RT   0     0    0     0 SW    0.0  0.0   0:00   0 migration/0
    3 root      RT   0     0    0     0 SW    0.0  0.0   0:00   1 migration/1
    5 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd/0
    6 root      34  19     0    0     0 SWN   0.0  0.0   0:00   1 ksoftirqd/1
    9 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 bdflush
    8 root      15   0     0    0     0 SW    0.0  0.0  10:08   0 kscand
   10 root      15   0     0    0     0 SW    0.0  0.0   4:02   0 kupdated
   11 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 mdrecoveryd
   17 root      25   0     0    0     0 SW    0.0  0.0   0:00   1 scsi_eh_0
   72 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 khubd
  633 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald
  634 root      15   0     0    0     0 SW    0.0  0.0   0:00   1 kjournald
  635 root      15   0     0    0     0 SW    0.0  0.0  44:03   0 kjournald
 1760 root      15   0   504  476   424 S     0.0  0.0  42:58   1 syslogd
 1764 root      15   0   372  316   312 S     0.0  0.0   0:00   1 klogd
 1774 root      15   0   372  364   312 S     0.0  0.0   2:55   1 irqbalance
 1782 rpc       15   0   520  504   444 S     0.0  0.0   0:08   1 portmap
 1801 rpcuser   15   0   596  524   520 S     0.0  0.0   0:00   1 rpc.statd
 1927 root      15   0   716  480   476 S     0.0  0.0   0:07   1 sshd
 1941 root      17   0   664  624   524 S     0.0  0.0  12:12   0 xinetd
 1951 ntp       15   0  2568 2568  2204 S     0.0  0.0   2:36   1 ntpd
 1968 root      15   0  4484  480   384 S     0.0  0.0   0:39   0 rpc.rquotad
 1972 root      15   0     0    0     0 SW    0.0  0.0   0:12   1 nfsd
 1979 root      15   0     0    0     0 SW    0.0  0.0   0:10   1 nfsd

[root@mail vsftpd]# iostat -d -k -x /dev/sda6 15
Linux 2.4.21-9.ELsmp (mail.physics.ubc.ca)      03/12/2004
 
Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util
/dev/sda6   12.83   8.57 198.93  72.13  276.42  647.01   138.21   323.51     3.41     0.08    0.03   0.00   0.08
/dev/sda6    0.00  12.28  39.97  88.65  318.63  807.42   159.31   403.71     8.75    16.76   13.04   0.87  11.21
/dev/sda6    0.00   0.00   2.19  59.63   16.94  477.05     8.47   238.52     7.99     3.52    5.70   0.42   2.60
/dev/sda6    0.00   0.94  28.31  92.80  226.51  749.86   113.26   374.93     8.06    10.99    9.08   1.14  13.76
/dev/sda6    1.27   0.00 762.39  51.95 6109.34  415.62  3054.67   207.81     8.01   196.32   24.11   0.63  51.02
/dev/sda6    0.08   0.24  82.07 140.34  657.21 1125.35   328.61   562.67     8.01    31.11   13.99   1.83  40.75
/dev/sda6    0.00   0.14   0.00  27.33    0.00  219.74     0.00   109.87     8.04     1.57    5.76   0.25   0.69
/dev/sda6    0.00   0.24  54.49 218.92  435.89 1753.27   217.95   876.64     8.01    22.69    8.30   1.29  35.33
/dev/sda6    0.00   0.35 238.58 194.35 1909.99 1557.60   955.00   778.80     8.01    99.90   23.07   1.16  50.39
/dev/sda6    0.00   3.05  82.07 105.95  655.36  872.62   327.68   436.31     8.13    58.18   30.96   0.82  15.33
/dev/sda6    0.00  68.44  27.78 117.24  222.25 1486.55   111.13   743.27    11.78    15.60   10.76   1.13  16.44
/dev/sda6    0.00   3.46   3.53 144.39   28.23 1185.60    14.11   592.80     8.21    21.66   14.64   0.62   9.17
/dev/sda6    0.00  27.94  19.01 107.02  152.06 1098.44    76.03   549.22     9.92    56.46   44.80   0.87  10.92

[root@mail root]# vmstat 15
procs                      memory      swap          io     system         cpu
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  2 256820  35960 323552 1873824    4    0     2     0    4     4  1  4  2 4
 0  1 256812  31900 323552 1873912   51    0   226  1157  389  8048 14 10 62 15
 2  0 256096  41884 323552 1876908   45   55   926   962  488  3739  8  6 67 19
 2  1 249800  30692 323552 1876456   50    0   146   803  255  4890 19  9 66  6
 0  0 249800  46904 323556 1877516    1    0    25  1156  302  4289 10  7 76  7
 0  0 248580  44244 323556 1878328    5    0    58   544  228  2218  6  3 86  5
 0  0 248580  45272 323556 1878712    2    0    25   873  250  2227  4  3 88  5
 0  0 248580  45736 323556 1878720    6    0     6   247  160   254  1  0 96  2
 0  0 244592  50736 323556 1878724    4    0     4   188  148   284  2  1 95  1
 0  0 244592  48040 323556 1880188   14    0   369   596  315  2801  9  5 81  5
 0  0 240324  40080 323556 1881368   19    0    98   647  266  2176  8  5 80  6
 0  0 240272  49632 323556 1885944    9   83  2120   947  738  4975 13  7 62 18
 0  0 239920  46452 323556 1886032    9    0    14   407  189  1024  5  3 91  2
 0  0 239788  34444 323556 1886972    3    0    61   591  246  3730  9  4 82  5
 0  0 239136  42732 323556 1886172   22    0    38   572  229  3952  8 10 78  5
 0  0 239136  41980 323556 1886496   32    0    53   331  191   312  1  1 96  2


04-01-29
- I installed the package mailscanner-mrtg-0.07.02-1.noarch.rpm. You access it from http://mail.physics.ubc.ca/mailscanner-mrtg/  .  I also installed   net-snmp-utils-5.0.9-2.30E.1.i386.rpm which I downloaded from the rhn site.  This was needed for the mailscanner-mrtg package (snmpwalk was req'd).
-  As of Red Hat 8.0, UTF-8 was enabled as the default font encoding for the system. This was done by switching the value of "LANG" in /etc/sysconfig/i18n from e.g. "en_US" to "en_US.UTF8".  This change can be undone by removing the ".UTF-8" part of the "LANG" setting.  I did this.

04-01-28
- I turned on dubugging for spamassassin to try to figure out why the bayesian stuff wasn't working.  I was getting messages like the following:
mail spamd[12508]: debug: using "/home/apiyenga/.spamassassin" for user state dir
mail spamd[12508]: debug: lock: 12508 created /home/apiyenga/.spamassassin/bayes.lock.mail.physics.ubc.ca.12508
mail spamd[12508]: debug: lock: 12508 trying to get lock on /home/apiyenga/.spamassassin/bayes with 0 retries
mail spamd[12508]: debug: lock: 12508 link to /home/apiyenga/.spamassassin/bayes.lock: link ok
mail spamd[12508]: debug: bayes: 12508 tie-ing to DB file R/W /home/apiyenga/.spamassassin/bayes_toks
mail spamd[12508]: debug: unlock: 12508 unlink /home/apiyenga/.spamassassin/bayes.lock
mail spamd[12508]: Cannot open bayes databases /home/apiyenga/.spamassassin/bayes_* R/W: tie failed:

I finally spotted messages like the following:
mail spamd[12107]: debug: auto-learning failed: Can't locate Mail/SpamAssassin/PerMsgLearner.pm
in @INC (@INC contains: lib ../lib /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 422.

I checked the directory /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin and found the permissions were not set to rx for others.  I changed the permissions and viola! the bayes stuff started working. Whew!

- changed startup for spamd in /etc/init.d/spamassassin to -m20 from -m5

- Note, our virus scanner, mcafee,  is checked for updates hour via the script in /etc/cron.hourly

Installed DCC (distributed checksum clearinghouse), DCC version 1.2.29 from http://www.dcc-servers.net/dcc/source/dcc-dccd.tar.Z
To install it, I just ran ./configure, make, make install.  I then checked the spamassassin debug log and it appears to be working OK.

04-01-27
- Tried to install DB_File perl module as follows:
>perl -MCPAN -e shell
>install DB_File

It failed with an error about the /usr/bin/make failing.  Seemed to be something to do with db.h so I decided to install the following rpms that I obtained from https://rhn.redhat.com
db4-devel-4.1.25-8.i386.rpm
db4-utils-4.1.25-8.i386.rpm
Tried the above perl and install commands again and they worked OK.
- Installed perl module Net::DNS
>perl -MCPAN -e shell
>install Net::DNS
>quit

Tested  spamassassin by turning on the debugging flag (-D)  in /etc/init.d/spamassassin.  It showed that the bayes checks were not running due to some permission problems.  I decided to try to build spamassin from scratch again:
>perl -MCPAN -e shell
>install Mail::SpamAssassin
It failed with the error:  Makefile:94: *** missing separator. Stop.

I finally found a solution on the web:
echo $LANG
en_US.UTF-8
export LANG=en_US
Spamassin compiled and installed (using the perl and install commands above) after this.  This bug is described on the following link https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682

04-01-26

- Uninstalled current version of spamassassin (2.55) using rpm -e spam...
- Installed new spamassain as follows:
rpm -Uvh perl-Mail-SpamAssassin-2.63-1.i386.rpm
rpm -Uvh spamassassin-2.63-1.i386.rpm
I got both these rpms from the rpm link on the spamassassin website:  http://spamassassin.apache.org/downloads.cgi

04-01-14
- Moved /var/spool/mail to /mail/inboxes and set up links to it from /var/spool/mail and /var/mail
- Moved /var/spool/[mqueue, mqueue.in, MailScanner] to /mail/[mqueue, mqueue.in, MailScanner] and created links from /var/spool
- Edited /etc/cron.daily/clean.quarantine to enable it and to set new quarantine directory
- downloaded the vacation program from http://rpmfind.net//linux/RPM/PLD/dists/ra/PLD/i686/PLD/RPMS/vacation-1.2.6.1-3.i686.html
and installed it.

04-01-17
Commissioned new mailserver!

04-01-14
My goal here is to get imap over ssl working.  I need first to generate my server keys and certificates and my CA (Certifying Authority) key and certificate.

Create an RSA private key without a passphrase for the mail server:
edited /usr/share/ssl/openssl.conf and set defaults (including expiry of 3650 days).
cd /etc/httpd/conf
/usr/bin/openssl genrsa 1024 > /etc/httpd/conf/ssl.key/server.key
chmod go-rwx /etc/httpd/conf/ssl.key/server.key
Generate a CSR (certificate signing request) using the server RSA private key (didn't actually do this since I am doing a self-signed certificate:
umask 77
/usr/bin/openssl req -new -key /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.csr/server.csr
Create a self-signed (CA) certificate (x509 structure) using the RSA key of our CA:
umask 77
/usr/bin/openssl req -new -key /etc/httpd/conf/ssl.key/server.key -x509 -days 3650 -out /etc/httpd/conf/ssl.crt/server.crt
Make the imapd.pem file so we can connect to the imap server securely:
cd /usr/share/ssl/certs
make imapd.pem

04-01-08
Installed MailScanner-4.25-14 from source (not rpm).
Installed razor-agents-2.36 and razor-agents-sdk-2.03 from source.
Installed pyzor-0.4.0 from source.
Installed Mailman-2.1.4 from source. Used config line:
./configure --prefix=/mail/mailman --with-cgi-gid=apache --with-mail-gid=mail
Added lines to apache configuration file, /etc/httpd/conf/httpd.conf:
Alias /pipermail/ "/mail/mailman/archives/public/" ScriptAlias /mailman/ "/mail/mailman/cgi-bin/"
Tested these were working by setting the two "Debug" statements in /etc/MailScanner/MailScanner.conf to "yes".

Note that we should be able to help spamassassin along by using sa-learn (see man page).

03-04-10

Installed boot loader on "First Sector of Boot Partition".


Testing Sendmail

Using telnet

  1. telnet servername portnumber
    If the command works, you receive a response from the SMTP server that is similar to the following:
    220 site.contoso.com Microsoft Exchange Internet Mail Connector 
    
    Note There are different versions of SMTP servers, and you may receive different responses from the receiving server. What is important is that you receive the 220 response with the FQDN of the server and the version of SMTP. Additionally, all versions of Microsoft SMTP include the term "Microsoft" in the 220 response.
  2. Start communication by typing the following command:
    EHLO test.com
    
    Note You can use the HELO command, but EHLO is a verb that exists in the Extended SMTP verb set. It is a good idea to use EHLO, unless you believe that there is a problem with the Extended SMTP Verbs.
    If the command is successful, you receive the following response:
    250 OK
    
  3. Type the following command to tell the receiving SMTP server who the message is from:
    MAIL FROM:Admin@test.com
    
    Note This address can be any SMTP address that you want, but it is a good idea to consider the following issues:
    1. Some SMTP mail systems filter messages based on the MAIL FROM: address and may not permit certain IP addresses to connect or may not permit the IP address to send e-mail to the SMTP mail system if the connecting IP address does not match the domain where the SMTP mail system resides. In this example, that domain is test.com.
    2. If you do not use a valid e-mail address when you send a message, you cannot determine if the message had a delivery problem, because the non-delivery report (NDR) cannot reach an IP address that is not valid. If you use a valid e-mail address, you receive the following response from the SMTP server:
      250 OK - MAIL FROM Admin@test.com
      
  4. Type the following command to tell the receiving SMTP server whom the message is to.

    Note It is a good idea to always use a valid recipient SMTP address in the domain that you are sending to. For example, if you are sending to john@domain.com, you must be certain that john@domain.com exists in the domain. Otherwise, you will receive an NDR.

    Type the following command with the SMTP address of the person you want to send to:

    RCPT TO: User@Domain.Com
    
    You receive the following response:
    250 OK - Recipient User@ Domain.Com
    
  5. Type the following command to tell the SMTP server that you are ready to send data:
    DATA
    
    You receive the following response:
    354 Send data. End with CRLF.CRLF
    
  6. You are now ready to start typing the 822/2822 section of the message. The user will see this part of the message in their inbox. Type the following command to add a subject line:
    Subject: test message
    

    Press ENTER two times. You do not receive a response from this command.

    Note The two ENTER commands comply with Request for Comments (RFC) 822 and 2822. 822 commands must be followed by a blank line.

  7. Type the following command to add message body text:
    This is a test message you will not see a response from this command.
    
  8. Type a period (.) at the next blank line, and then press ENTER. You receive the following response:
    250 OK
    
  9. Close the connection by typing the following command:
    QUIT
    
    You receive the following response:
    221 closing connection
    
  10. Verify that the recipient received the message that you sent. If any error event messages appear in the application event log, or if there are problems receiving the message, check the configuration or the communication to the host.
To make sure your sendmail binary is compiled with Milter support just run :
    * sendmail -d0.13 -bv root | grep MILTER (works for sendmail 8.10.x, 8.11.x,8.12.x).
    * or sendmail -d0.1 -bv root | grep MILTER (works for sendmail 8.12.x) 

Few Milter solutions are multi-purpose ones : most of them try to address one given need 
(virus-scanning, antispam, ...). Remember you can use several Milters (several 
INPUT_MAIL_FILTER definitions in the .mc file) if a single one does not offer all the 
features you need.

Opensource milters:
http://milter.free.fr/intro/index.html


Testing IMAPD
IMAPD Testing
[root@mail root]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] localhost.localdomain IMAP4rev1 2003.338rh at Thu, 27 Sep 2007 14:34:47 -0700 (PDT)
A01 CAPABILITY
* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS STARTTLS AUTH=LOGIN
A01 OK CAPABILITY completed
A02 LOGOUT
* BYE mail.phas.ubc.ca IMAP4rev1 server terminating connection
A02 OK LOGOUT completed
Connection closed by foreign host.

Re-building imap to permit plaintext authentication only in SSL/TLS sessions
NOTE: I didn't use this since when I tried I had problems with otrs (pop login).I ended up using the default RHEL version along with iptables to limit port access.
download src.rpm file from redhat
rpm -Uvh imap-2002d-14.src.rpm

The source files are put in /usr/src/redhat/SOURCES and
the spec file is put in /usr/src/redhat/SPECS

cd /usr/src/redhat/SPECS

# The following SSL types are bundled:
# unix  SSL support using OpenSSL
# nopwd SSL support using OpenSSL, and plaintext authentication permitted only
#       in SSL/TLS sessions

Modify the spec file to change the line:
SSLTYPE=unix \
to
SSLTYPE=nopwd \

[root@mail SPECS]# vi imap.spec
[root@mail SPECS]# rpmbuild -ba imap.spec
error: Failed build dependencies:
        krb5-devel is needed by imap-2002d-14
        openssl-devel is needed by imap-2002d-14
        /usr/include/security/pam_modules.h is needed by imap-2002d-14
[root@mail SPECS]# up2date krb5-devel
Fetching Obsoletes list for channel: rhel-i386-as-3...
...
Installing...
   1:krb5-devel             ########################################### [100%]
[root@mail SPECS]# up2date openssl-devel
Fetching Obsoletes list for channel: rhel-i386-as-3...
...
Installing...
   1:openssl-devel          ########################################### [100%]
[root@mail SPECS]# up2date pam-devel
Fetching Obsoletes list for channel: rhel-i386-as-3...
...
Installing...
   1:pam-devel              ########################################### [100%]

[root@mail SPECS]# rpmbuild -ba imap.spec
building went OK.

Now you may install the new programs using the new rpm files...
rpm -Uvh /usr/src/redhat/RPMS/i386/imap-2002d-14.i386.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/imap-devel-2002d-14.i386.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/imap-utils-2002d-14.i386.rpm

BIOS SETUP and Boot Info:
LSI Logic Corp MPT IM BIOS
MPTBIOS-IM-5.03.07
IBM Build:
HBA
ID
LUN
Vendor
Product
0
7
0
LSI
LSI 1030 [  402] 1000E00
0
8
0
IBM
32P0032a S320 1 1
1
7
0
LSI
LSI 1030 [  402] 1000E00
BIOS Version 1.08

System Summary (from ServerGuide):
       Item                                        Details
---------------------------------------------------------------------
System serial number                               KPMH959
Machine type                                       8670
System memory                                      2550MB
Processors, processor slots                        2, 2
Date and time                                      10/04/2003, 12:01:16
System BIOS version                                1.08
ROM diagnostics build level                        15
Integrated System Management Processor             Revision 14               
ServeRAID-5i Adapter                               Firmware 5.11.05
                                                   1 Logical Drive
System Partition                                   Created




For more assistance contact Ron Parachoniak, rap@phas.ubc.ca ( Sysadmin )

webmaster@phas.ubc.ca [Dept. Home Page] last updated: June 28, 2005