Re: [Exim] How to get rid of bounces on a secondary MX?

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: Re: [Exim] How to get rid of bounces on a secondary MX?
On Sat, 17 Feb 2001 21:30:48 +0100, Marc Haber
<exim-users.exim.org@???> wrote:
>I am more inclined to have a nifty director/router that has a list of
>known-bad recipients and that fails these addresses directly on the
>machine that is MX. That way, the remote MTA will generate the bounce
>and I won't see it. Saves traffic, too.


Okay, I tried this:
<router>
|mydomain_bounce:
|    domains = mydomain.example.com
|    local_parts = lsearch;CONFDIR/bounce_mydomain
|    driver = queryprogram
|    command = "/bin/echo FORCEFAIL $local_part@$domain - no such user"


This seems to work when I try exim -bh, but the recipients are failed
with "550 cannot route to <$local_part@$domain>". Can I pass my own
error message to the remote side of the SMTP connection?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29