# cat main.cf 
myhostname = ina.leonerd.org.uk
myorigin = leonerd.org.uk
mydomain = leonerd.org.uk

# Rewrite mailer-daemon -> postmaster -> root -> leo, etc.
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

relayhost = mail.leonerd.org.uk

# No local delivery thus forcing all mail to go to relay
mydestination = 
local_transport = error:local delivery is disabled
inet_interfaces = loopback-only

# crontab -l
20 * * * * echo "Test of hourly cron"


Return-Path: <[email protected]>                                                                                      
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on cel.leo                                                      
X-Spam-Level:                                                                                                           
X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00                                                   
        autolearn=ham version=3.3.2                                                                                     
X-Original-To: [email protected]                                                                                      
Delivered-To: [email protected]                                                                                               
Received: from ina.leonerd.org.uk (ina.leo [192.168.42.27])                                                             
        by cel.leonerd.org.uk (Postfix) with ESMTP id 0A75E1BDC3                                                        
        for <[email protected]>; Fri, 21 Oct 2011 15:19:36 +0100 (BST)                                                
Received: by ina.leonerd.org.uk (Postfix, from userid 0)                                                                
        id DA832645F; Fri, 21 Oct 2011 15:20:01 +0100 (BST)                                                             
From: Cron Daemon <[email protected]>                                                                                 
To: [email protected]                                                                                                 
Subject: Cron <root@ina> echo "Test of hourly cron"                                                                     
Content-Type: text/plain; charset=UTF-8                                                                                 
X-Cron-Env: <SHELL=/bin/sh>                                                                                             
X-Cron-Env: <HOME=/root>                                                                                                
X-Cron-Env: <PATH=/usr/bin:/bin>                                                                                        
X-Cron-Env: <LOGNAME=root>                                                                                              
Message-Id: <[email protected]>                                                               
Date: Fri, 21 Oct 2011 15:20:01 +0100 (BST)                                                                             
X-Find-Mail-Folder:                                                                                                     
                                                                                                                        
Test of hourly cron