Linux
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
Dist Switch
by dervish on Jul.26, 2011, under CentOS, Linux
Switched to CentOS 6 as my primary Linux OS. Fedora is getting the boot after many, many, years of use. Fedora 15 just has too many things that are wrong with it. In all fairness, some of the issues are with the path Gnome and Linux has taken in general. It was a good run.
TPVMLPD: Device type not supported
by dervish on Jun.28, 2011, under Linux, VMware
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2001254
Linux virtual machine reports the error: TPVMLPD: Device type not supported
Symptoms
- Virtual machine running Linux reports the error:TPVMLPD: Device type not supported
Resolution
- Take a backup of the vmware-tools startup script using the command:cp /etc/init.d/vmware-tools /etc/init.d/vmware-tools.backup
- Open the /etc/init.d/vmware-tools script using a text editor. For example, to open the script using the vi editor, run this command:vi /etc/init.d/vmware-tools
- Comment this entry:#/usr/bin/tpvmlpd
- Run this command to restart VMware Tools:/etc/init.d/vmware-tools restart
Google Toolbar Disabled by Firefox 5
by dervish on Jun.27, 2011, under Linux, Windows
How to re-enable the Google Toolbar in Firefox 5.
Solution: Change maxVersion in the install.rdf file to 5.*. Do a search if your not sure where the file is located.
Linux:
– Edit ~user/.mozilla/firefox/mhznvz4j.default/extensions/\{3112ca9c-de6d-4884-a869-9855de68056c\}/install.rdf
– Change <em:maxVersion>4.*</em:maxVersion> to <em:maxVersion>5.*</em:maxVersion> and save.
– Start Firefox. Toolbar should start normally.
Windows:
The same ./extensions/\{3112ca9c-de6d-4884-a869-9855de68056c\}/install.rdf file can be edited in Windows to restore the Google Toolbar.
Or:
about:config
nightly.disableCheckCompatibility=false
extensions.checkCompatibility=false
Move LVM Volume Group To New Larger Drive
by dervish on May.09, 2011, under Linux
Shutdown server and add new drive to system, then after power on:
fdisk /dev/sdb # set partion type to 8e
pvcreate /dev/sdb1
vgextend Volume00 /dev/sdb1
pvmove -n /dev/mapper/Volume00-external /dev/sda2 /dev/sdb1
lvextend -L +47G /dev/mapper/Volume00-external
ext2online /dev/mapper/Volume00-external
sdb=New Drive, Volume00=Volume Group, Volume00-external=Logical Volume
Support Commands: lvdisplay, vgdisplay sfdisk -s, df