On Wed, Jan 28, 2009 at 8:56 PM, Victor Duchovni <
victor.ducho...@morganstanley.com> wrote:

> On Wed, Jan 28, 2009 at 08:47:28PM -0500, Dave wrote:
>
> > > When you post to this list, you are taking up the time of many experts
> > > (and some amateurs like myself :).  Please treat this resource with
> > > the respect that it deserves.  These same experts have taken the time
> > > to create excellent documentation.  Please respect them and their time
> > > by consulting it before asking for more from them.
> >
> >
> > I have consulted a bunch of documentation for several hours. I am being
> > respectful. I'm working hard on this. I'm searching the docs and google.
> > When I can't find answers there, I ask here.
>
> Google is full of noise. Try:
>
>    http://www.postfix.org/documentation.html
>    http://www.postfix.org/ADDRESS_REWRITING_README.html
>    http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
>    http://www.postfix.org/generic.5.html
>    http://www.postfix.org/DATABASE_README.html#types
>    http://www.postfix.org/pcre_table.5.html
>    http://www.postfix.org/regexp_table.5.html
>
> > I still do not have an answer to this question. if you have it, how about
> > being a gentleman and sharing it or pointing me to the right place.
> Thanks.
>
> The specific answer is in generic(5). While you can construct a table
> that rewrites all addresses to a fixed value, that would be a mistake.
> Consider what will happen to recipient addresses.



Thank you Viktor. I have been spending a lot of time reading many of those
docs. I almost have this section memorized. (And the guy who accused me of
not reading the docs... well I hope he feels embarrassed).
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic

The problem is that it only shows "@localdomain.local"
as an example of a wildcard.

I need to handle just "username" not "usern...@localhost"

So how would I do that?

would any of these work?
@    my-new-addr...@example.com
@    my-new-address


BTW, I am not sure what you mean by "Consider what will happen to recipient
addresses." What will happen? And which recipient addresses would be the
problem? I don't expect to receive any mail at this postfix server. I just
want to send system messages to my gmail account.

Reply via email to