This is an old revision of the document!


Configure exim to use clapf

Prerequisites

You must use SMTP delivery to clapf (ie. server_mode=1 in clapf.conf)

Configuring Exim

1. Edit /etc/exim/exim.conf

i) specify in the 'Main configuration settings' section that exim should listen on 127.0.0.1:10026/tcp, too:

local_interfaces = 0.0.0.0.25 : 127.0.0.1.10026

ii) create a new router below the 'dnslookup' definition:

clapf:
      	driver = manualroute
      	condition = "${if eq {$interface_port}{10025} {0}{1}}"
      	transport = clapf
      	route_list = "* localhost byname"
      	self = send
      	no_verify

iii) create a new transport called 'clapf':

      clapf:
      	driver = smtp
      	port = 10025
      	allow_localhost

2. Issue the kill -HUP <exim PID> command

For more details, please see http://www.ijs.si/software/amavisd/README.exim_v4.txt