On Wed, Jan 28, 2009 at 10:39:53PM -0500, Dave wrote:

> I would want the table entry would be:
> .*   m...@example.com

Ignoring regexp table syntax problems for the moment, this is a very
degenerate regexp table, the input is completely ignored, and a fixed
output is produced. Postfix has a *much* simpler table type for this case,
listed in http://www.postfix.org/DATABASE_README.html#types.

All mail leaving a system so configured will have the envelope sender
equal to the envelope recipient and equal to all addresses listed in
The From/Sender/To/Cc headers. This makes for a very degenerate MTA,
but if that's OK, it should work.

        relayhost = gmail.com
        smtp_generic_maps = <maptype>:<mapname>

with the output of the map in question completely independent of
the input.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to