Re: Exim catch-all recipient

2001-08-22 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Brooks R. Robinson [EMAIL PROTECTED] 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 [EMAIL PROTECTED] gets bounced.  I want it
([EMAIL PROTECTED]) sent to (valid) [EMAIL PROTECTED] 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 = [EMAIL PROTECTED]


.. 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



Exim catch-all recipient

2001-08-21 Thread Brooks R. Robinson
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 [EMAIL PROTECTED] gets bounced.  I want it
([EMAIL PROTECTED]) sent to (valid) [EMAIL PROTECTED] or some other
user.

TIA,

Brooks



Re: Exim catch-all recipient

2001-08-21 Thread Jason Majors
Just a guess, but...does the aliases file accept Regexs?
I'd try asking on the exim email list (www.exim.org). I had a problem with exim
and got a quick answer from there (and it was a _good_ answer).

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 [EMAIL PROTECTED] gets bounced.  I want it
 ([EMAIL PROTECTED]) sent to (valid) [EMAIL PROTECTED] or some other
 user.
 
 TIA,
 
 Brooks
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: Exim catch-all recipient

2001-08-21 Thread Osamu Aoki
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 [EMAIL PROTECTED] gets bounced.  I want it
 ([EMAIL PROTECTED]) sent to (valid) [EMAIL PROTECTED] 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

[EMAIL PROTECTED][EMAIL PROTECTED] T

or

[EMAIL PROTECTED] ${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 [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/+