Posts tagged: Software

How to get postfix to deliver root’s mail locally when using a smarthost

By , 2015-12-09 10:40

When setting up Postfix on Ubuntu/Debian as “Internet Site with smarthost” to use an external smtp relay, automatic e-mails intended for “root” (such as cron job error reports) get sent out to the smarthost with a To: address of This can cause a problem as the smarthost doesn’t know where to deliver these messages to, since has no MX record.

The fix for this is (go figure) in the Postfix README:

Delivering some but not all accounts locally

A drawback of sending mail as “” (instead of “”) is that mail for “root” and other system accounts is also sent to the central mailhost. In order to deliver such accounts locally, you can set up virtual aliases as follows:

1 /etc/postfix/
2     virtual_alias_maps = hash:/etc/postfix/virtual
4 /etc/postfix/virtual:
5     root     root@localhost
6     . . .


Execute the command “postmap /etc/postfix/virtual” after editing the file.

Oddly, just adding the line

root: root@localhost

to /etc/aliases doesn’t work. You really need to do the steps outlined in the manual.

Resetting Adium to use user account icon

By , 2010-06-01 21:47

A clean Adium profile wiill by default use your Mac’s user icon as the “display picture” for your IM accounts. Changing your DP once breaks this association.

To fix : Edit ~/Library/Application Support/Adium 2.0/Users/Default/Account Status.plist and delete the “User Icon” Data value.

That’s it!

Custom theme by me. Based on Panorama by Themocracy