Re: [Exim] A router entry request

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: John A. Buck
CC: exim-users
Subject: Re: [Exim] A router entry request
On Wed, 12 Apr 2000, John A. Buck wrote:

> The problem I am trying to solve is that there are many accounts
> on my server running various scripts and it seems that there are
> some sending out emails from 'nobody@???' and I get
> multiple complaints each day about these messages. I have searched
> for the offending scripts and have been unsuccessful so far.
> This router seems to be the way to stop this behavior until I can
> determine the root cause.


... provided they are sending the mail out through your MTA ...

> What I don't know how to do is create this router from scratch.
> Can anyone provide the necessary router section I need to add to the config?


nullify:
driver = domainlist
senders = nobody@???
transport = devnull
route_list = *

and then you need a transport:

devnull:
driver = appendfile
file = /dev/null
user = exim

I have not tested this; it is off the top of my head.

> Is this routers placement in the config file important or can it just go
> at the end of the existing routers?


It is highly important. They are run in order, so this one should
probably go *first*.

> Also - (probably a stupid newbie question) - will I need to compile the
> program after making this change or will it be effective by restarting Exim?


Just SIGHUP the Exim daemon.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.