PostFWD example configuration

Posted on .

This is something I’ve been tweaking for a few months now. I’ve got it filtering 99% of spam before it hits content filtering.

Postfix v2.5.5 using PostFWD v1.18 as a policy daemon with PostGrey v1.31 for greylisting.

killall5

Posted on .

DO NOT run this command.

It kills everything ….

KILLALL5(8)
Manual KILLALL5(8)

NAME
killall5 -- send a signal to all processes.

SYNOPSIS
killall5 -signalnumber

DESCRIPTION
killall5 is the SystemV killall command. It sends a signal to all processes except kernel threads and the processes in its own session, so it won't kill the shell that is running the script it was called from. Its primary (only) use is in the rc scripts found in the /etc/init.d directory.

RPC over HTTP using Outlook 2003

Posted on .

1. Create or Edit an Exchange E-mail account in Outlook.

2. Click on the “More Settings” button.

rpc-over-https-using-outlook-2003-image3

3. Click on the Connection tab…

4. Tick the box to “Connect to my Exchange mailbox using HTTP” and then click the button “Exchange Proxy Settings…”

rpc-over-https-using-outlook-2003-image2

5. Enter the server name for Exchange/RPC server

rpc-over-https-using-outlook-2003-image1

6. I tick both boxes to use HTTP first so the user gets the same experience regardless of network they are on. Otherwise when only RPC over HTTP is available (the user is out of the office) Outlook takes a while to timeout its TCP connect before attempting HTTP.

7. I use Basic Authentication over SSL.

Site move


Not that anyone follows this site. I have moved the services that were once hosted on a virtual machine onto a physical box.

Learning how all this was put together again was a pain in the a**!

apt-get error “Dynamic MMap ran out of room”

Posted on .

After adding a few extra repositories to /etc/apt/sources.list I then ran an apt-get update and came accross the following error:

Fetched 8399kB in 5s (1427kB/s)
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing umbrello (NewVersion1)
E: Problem with MergeList [...]
E: The package lists or status file could not be parsed or opened.

The reason being is that the disk cache used by apt when parsing packages is now too small to handle the number of packages available.

On debian, I created a new file at /etc/apt/apt.conf.d/99user adding the following line:

APT::Cache-Limit "20000000";

Don’t forget the trailing semicolon (;).

This fix is for any distro using apt-get, like debian, ubuntu etc.