There's probably a better way to do this, but long ago when I was trying to
keep mail from bouncing back to people, the way I found to do it was to put
code in the checkcompat() (check the spelling of that) function that
replaced the address I wanted to bounce the mail to.  (At the time I was
modifying that function anyway to do some custom filtering.)

I tried to use various rewrite rules to accomplish this to no avail.
Someone wiser than I must know the clean way to do this.

Randy

-----Original Message-----
From: Herman Van Keer (softouch) [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 15, 1999 12:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Sendmail question: catch-all Email address?


Ian Douglas wrote:

> > That's what I thought the alias file is for:
> > it redirects something@host to someoneelse@host.
>
> Not necessarily.
>
> I use it to direct [EMAIL PROTECTED] Email to [EMAIL PROTECTED]

I am very glad to see this confirmed.
Only when I try it: it doesn't work.
I have sendmail running and as soon as I try to add external addresses: it
complaints.... about external addresses.
Both domains are in my sendmail.cw file.

Can you give me hints on how to work this out?

>
> But what I'm LOOKING for is an alias or sendmail setup that will catch all
> incoming Email that will normally bounce back to the sender because the
> user account or a matching alias does not exist, and redirect the message
> to another user account or alias...

I understand... but thought this has to be setup in a virtual user table or
a
virtual host table....
I've done some reading about this, but couldn't get it running.
So I would appreciate some hints (would be nice for you too,eh?)

Herman

Reply via email to