Re: [exim] not generating undeliverable mail messages

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: Phill Harvey-Smith, exim-users
Subject: Re: [exim] not generating undeliverable mail messages


--On 9 January 2007 11:27:52 +0000 Phill Harvey-Smith
<phill@???> wrote:

>
> We are having problems with spam email bounces generated from
> undeliverable addresses on the servers that we route for, the problem
> being that protein has no way of knowing if users at the system it
> forwards for exist, so has to accept all mail for them and attempt
> delivery, which of course if it fails generates a bounce message, often
> containing spam. What I would prefferably like to do is just drop these
> on the floor and generate no bounce back.
>
> Does anyone have any idea how I would go about doing this, or have a
> better sugestion as to what would be a better course of action.
>


You need a recipient ACL that looks something like this:

accept
    set acl_m_last_rcpt = $local_part
    domains = +local_domains
    # reject if tests below "endpass" fail
    endpass
    message = unknown user
    # here we do a callforward to see if we can deliver to the recipient
    verify = recipient/defer_ok/callout=600s




--
Ian Eiloart
IT Services, University of Sussex