;; QUESTION SECTION:
;incoming.mx. IN MX
;; ANSWER SECTION:
incoming.mx. 86400 IN MX [...]
incoming.mx
March 18th, 2010 | Posted in Blog | No Comments
Postfix maximum email size
March 11th, 2010 | Posted in Blog, Linux, Postfix | No Comments
The default “message_size_limit” is set to 10240000 bytes which is approximately 10MB. To change it, add/modify the message_size_limit line in your main.cf to;
message_size_limit = 20480000
The above is roughly 20MB and is more than enough on a typical server.
Qmail smtproutes
March 11th, 2010 | Posted in Blog, Linux, Qmail | No Comments
If you ever need to route mail destined for a certain domain through a smarthost you can edit/create the following file;
/var/qmail/control/smtproutes
The contents is straight forward… to relay mail destined for domain.com through smtp.yourdomain.com add the following;
domain.com:smtp.yourdomain.com
If you want to relay ALL mail through smtp.yourdomain.com add;
:smtp.yourdomain.com
Dell OMSA reports No controllers found.
March 9th, 2010 | Posted in Blog, Linux | No Comments
During a routine scheduled upgrade window I upgraded to the latest Dell OMSA on a range of Dell PowerEdge servers running CentOS. After the upgrade, shell scripts that check the health of disks started reporting that no storage controllers can be found.
# omreport storage pdisk controller=0
Invalid controller value. Read, controller=0
No controllers found.
After some digging through [...]
Adding an ISO repository on XenServer 5.5
March 6th, 2010 | Posted in Blog, Xen | 1 Comment
In order to do advanced installs or installations where there are no templates under XenCenter and you wish to use your own custom ISO images, you can add an ISO repository. The following steps outlines what needs to be done;
mkdir -p /var/opt/xen/iso_import
Copy your ISO image to this directly, but be careful as the control domain [...]
Solaris Core Install Recipe
February 8th, 2010 | Posted in Blog, Solaris | No Comments
This is a recipe I use when installing Solaris 10 (Core only). It’s easier to install the needed software than to trim down a full install and I like the fact that I have a clean server to start off with the minimal software installed.
For disk layout, you can do whatever your comfortable with or [...]
Linux & Solaris enable/disable X on boot
February 7th, 2010 | Posted in Blog, Solaris | No Comments
Linux Disable automatic startup of X on boot Change the default run level in /etc/inittab to 3 id:3:initdefault:
Enable automatic startup of X on boot Change the default run level in /etc/inittab to 5 id:5:initdefault:
Solaris 10
Disable automatic startup of X on boot # /usr/dt/bin/dtconfig -d
Enable automatic startup of X on boot # /usr/dt/bin/dtconfig -e
Solaris 10 text mode installation
February 7th, 2010 | Posted in Blog, Solaris | No Comments
To install Solaris in text mode, do the following from OBP;
boot cdrom – w
Your solaris installation will start in text mode.
PowerDNS Multiple MySQL Backends
January 10th, 2010 | Posted in Blog, Linux, PowerDNS | No Comments
http://doc.powerdns.com/modules.html
To launch two backends of the same type, you can assign a name to each launch like this;
launch=gmysql:connection1,gmysql:connection2
gmysql-connection1-host=10.10.10.1gmysql-connection1-user=pdnsgmysql-connection1-dbname=pdns
gmysql-connection2-host=10.10.10.2gmysql-connection2-user=pdnsgmysql-connection2-dbname=pdns
Debian reset root password
October 21st, 2009 | Posted in Debian, Linux | No Comments
In order to reset the password, you need to boot your debian installation into single user mode. You can do this by following the steps below;
1. Once grub menu comes up, select the single user entry and press ‘e’2. Select the kernel … line and press ‘e’ once again3. Append ‘init=/bin/bash’ at the end of line and press [...]