Re: Exim catch-all recipient
On Tue, Aug 21, 2001 at 04:20:09PM -0500, Brooks R. Robinson wrote:
> Greetings,
> Okay, I give up. I've RTFM. I've tried. I've played. How do you get
> Exim to redirect mail from an unknown non-user to a given account instead of
> bouncing it. I need a catch-all recipient, and I can't figure it out. An
> example for that added clarity spam@mydomain.com gets bounced. I want it
> (spam@mydomain.com) sent to (valid) webmaster@mydomain.com or some other
> user.
Did you read at the end of exim.conf and chaper 6 and 32 of spec.txt.gz?
One simple idea is
*@yourdomain.com dropall@yourdomain.com T
or
*@yourdomain.com ${lookup{$1}lsearch*{/etc/email-addresses} {$value}fail} T
at the end of exim.conf should do it, I think.
Of course * entry should exist for /etc/email-addresses in second
erxample.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +
Reply to: