Postfix/Dovecot Install
by dervish on Feb.23, 2012, under Linux, Red Hat
Install Postfix:
yum install postfix (RedHat)
apt-get install postfix (Debian)
Add Domains to Accept Mail For:
vi /etc/postfix/main.cf
set
mydestination = localhost.localdomain, localhost, domain.com, host
Tell Postfix to use Maildir instead of mbox format:
postconf -e "home_mailbox = Maildir/"
postconf -e "mailbox_command ="
Set MAIL variable in /etc/profile:
export MAIL=$HOME/Maildir
Restart Postfix:
service postfix restart
Mail local user and confirm mail is delivered.
Install Dovecot:
apt-get install dovecot-common dovecot-imapd dovecot-pop3d
Dragonvale: How to Breed a Panlong Dragon
by dervish on Feb.15, 2012, under Games
Fog + Lava
Mud + Blazing
If your really lucky, you’ll get a Rainbow Dragon in the process.
rocheck.sh
by dervish on Nov.17, 2011, under Scripts
#!/bin/sh
# Created 20111107 – Jamey Hopkins
# Nagios script to check base file paths for a possible read only filesystem condition
USER=`whoami`
F=”rocheck.safetodelete”
# sets paths to test
PATHS=`df -P -l -x tmpfs -x vmhgfs -x iso9660 | column -t | awk ‘{ print $6 }’ | grep -v “Mounted” | xargs echo`
# define specific paths
#PATHS=”/ /home /opt /tmp /usr /var”
if [ “$USER” != “root” ]
then
echo “Run $0 command as root”
exit
fi
for P in `echo $PATHS`
do
[ “$P” = “/” ] && P=”” # don’t process a double slash
PF=”$P/$F”
touch $PF >/dev/null 2>&1
if [ “$?” != “0” ]
then
[ “$P” = “” ] && P=”/” # add slash back if it was ro
FAIL=”$FAIL $P” # add P to string of failed paths
fi
[ -e $PF ] && rm $PF >/dev/null 2>&1
done
if [ “$FAIL” != “” ]
then
# return an error 2 status with a list of directories that failed the touch test
echo “Read Only:$FAIL”
exit 2
fi
# return a good status with the list of directories that were checked
echo “Good: $PATHS”
exit 0
Airport Extreme Error -6753
by dervish on Nov.07, 2011, under Apple, Wireless
Issue:
When connecting to a new (or newly reset) AirPort Extreme/Time Capsule, the AirPort Utility fails to connect and returns Error -6753.
Solution:
Enable IPV6 on the client machine you are trying to manage the AirPort Extreme from. If you have disabled IPV6 on the client machine, you will not be able to perform the initial configuration of the AirPort Extreme/Time Capsule.
CDC Serial Driver Missing for Samsung Galaxy S2
by dervish on Nov.01, 2011, under Android, Windows
The CDC Serial device inf provided by Microchip has a bug in it. To get an updated driver, install the Samsung’s Kies software package from here.
Samsung Mobile USB Modem Windows