[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: default destination in exim?



On 2004-02-18, Chris penned:
>
> I found this (below) here: 
> http://www.debian.org/doc/manuals/debian-reference/ch-tune.en.html#s-mta
><quote>
> 9.6.1.3 A catchall for nonexistent email addresses (Exim)
>
> In /etc/exim/exim.conf (Woody or later), in the DIRECTORS part, at the
> end (after the localuser: director) add a catch-all director that
> matches all addresses that the previous directors couldn't resolve (per
> Miquel van Smoorenburg):
>
> catchall:
>   driver = smartuser
>   new_address = webmaster@mydomain.com

Yes!  This is what I needed!

>
> If one wants to have more a detailed recipe for each virtual domain,
> etc., add the following at the end of /etc/exim/exim.conf (per me, not
> well tested):
>
>      *@yourdomain.com ${lookup{$1}lsearch*{/etc/email-addresses} \
>              {$value}fail} T
>
> Then have an "*" entry in /etc/email-addresses.
></quote>
>
> Maybe it is of use to you. I get a bit uncomfortable reading exim
> documentation, but I think this is what you want.
> I just tried adding only the catchall-director in exim.conf (nothing
> extra in /etc/aliases or /etc/email-addresses) on a woody box and I
> could sent mail to an unknown user. Delivery is made using the
> new_address.

I get horribly uncomfortable reading exim documentation, but you have
found exactly the bit I needed.  Thank you *so* much.

-- 
monique



Reply to: