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

Re: Exim catch-all recipient



In article <[🔎] 002701c12a87$0e80fb10$25edbdd0@robinson2000>,
Brooks R. Robinson <brooks.robinson@rides.com> 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.

In /etc/exim.conf (or /etc/exim/exim.conf if you're running woody),
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:

catchall:
  driver = smartuser
  new_address = webmaster@mydomain.com


.. that's all

Mike.
-- 
"Answering above the the original message is called top posting. Sometimes
 also called the Jeopardy style. Usenet is Q & A not A & Q." -- Bob Gootee



Reply to: