MUSINGS

People cannot spell my name. How to add Postfix aliases.

People cannot spell my name. How to add Postfix aliases.

Under the postfix system aliases can be created so that an email addressed to a particular address can be delivered to another address. This is handy for email addresses which are often misspelled, or an alias can be used to redirect a generic email address to specific user. For example support@ can be redirected to bob@.

The process for adding aliases is as follows:

The postfix configuration file main.cf which is usually located in /etc/postfix identifies the files being used for aliases. You’re looking for the alias_database and alias_maps directives. Alternatively you can execute postconf which will identify the values in use.

In a default Ubuntu  install you are using /etc/aliases

As root perform the following: Read more about People cannot spell my name. How to add Postfix aliases.

SQL date handling, or prior to 2008 the world didn’t begin until 1753

SQL date handling, or prior to 2008 the world didn’t begin until 1753

If you ever need to transfer data between an Oracle instance and Microsoft SQL Server 2005, you’ll need to be aware of the differences between data types. In some instances this will require massaging the data so it’ll “fit” the schema at the destination, while maintaining the data integrity.

An interesting example of this is the date and time data types. Read more about SQL date handling, or prior to 2008 the world didn’t begin until 1753

Cannot edit transport rule in Exchange 2007? This is probably why.

Cannot edit transport rule in Exchange 2007? This is probably why.

A pretty cool new feature was introduced in Exchange 2007 called transport rules. Transport rules enable the administrator to define rules (funnily enough) which effect message routing or restrict content. For example any incoming message for mailbox Joe Bloggs can be redirected to mailbox Mary Smith. As with any new feature there is always some gotchas, and lucky us came across one. Read more about Cannot edit transport rule in Exchange 2007? This is probably why.

How to set what the volume control actually controls in your Android app

How to set what the volume control actually controls in your Android app

I was recently working on an Android application  and found that when debugging the volume was to low. Using the volume control on the phone would only increase the ringer volume. By accident I found that if a media sound was playing then the volume controls would control the media volume,which indicated that the default action for theRead more about How to set what the volume control actually controls in your Android app[…]