Wednesday, March 01, 2006
Xorg auto configuration in Debian/Ubuntu land.
This script does auto configuration and writes a new xorg.conf make sure you backup your existing xorg.conf before running this. I used this to update xorg.conf when putting a system image on different hardware, so far it always chooses reasonable resolution and color depth.
#!/bin/sh
# Based on the script found in http://ftp.linux.org.uk/~dan/livecd
# which is referenced from http://www.linuxjournal.com/article/7246
# Changes made so that the script works with xorg as opposed to xfree
# Mods by Pete Cain
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
debconf-communicate << EOF
SET xserver-xorg/autodetect_mouse true
SET xserver-xorg/autodetect_monitor true
SET xserver-xorg/autodetect_video_card true
FSET xserver-xorg/autodetect_mouse seen true
FSET xserver-xorg/autodetect_monitor seen true
FSET xserver-xorg/autodetect_video_card seen true
EOF
sh /var/lib/dpkg/info/xserver-xorg.config configure
dexconf -o /etc/X11/xorg.conf
Qmail - Valid user Checking part 2
A few updates on this:
contrary to my previous post qpsmtpd and be used as a drop in replacement for qmail-smtpd.
I found whilst magicmail was doing well checking users it may have been dropping email. I suspect (and I haven't checked) that magic mail uses more memory than qmail-smptd and was using more than the 4Mb softlimit I have set in the run script.
I also find that I have to support the old style smtpd as well as TLS. Need TLS for squirelmail and the old style for a stupid app that needs to send out email via our server but won't do TLS. There is a patch for qmail-smptd that supports both styles of connection, but its a matter of getting that to work thru magicmail or qpsmtpd.
contrary to my previous post qpsmtpd and be used as a drop in replacement for qmail-smtpd.
I found whilst magicmail was doing well checking users it may have been dropping email. I suspect (and I haven't checked) that magic mail uses more memory than qmail-smptd and was using more than the 4Mb softlimit I have set in the run script.
I also find that I have to support the old style smtpd as well as TLS. Need TLS for squirelmail and the old style for a stupid app that needs to send out email via our server but won't do TLS. There is a patch for qmail-smptd that supports both styles of connection, but its a matter of getting that to work thru magicmail or qpsmtpd.