On Sat, Dec 22, 2001 at 06:13:25PM -0600, Florin Iucha wrote:
> If that box has to handle more mailhosts then... I don't know but for
> sure it can be done.

I have found this bit in my notes. It was taken from a discussion on
www.debian-planet.org:

--- cut here ---
address/rewrite address pairs in it, then process it with postmap. For
example, my /etc/postfix/sender_canonical has the following in it:
   timshel timshel at myprovider.com
   wayne wayne at hisprovider.com dylan
   dk at thatotherprovider.com.au
   @knoll.ln timshel at myprovider.com

So mail `From: timshel' will be re-written to be from
`timshel at myprovider.com', `From: wayne' will be re-written to `From:
wayne at hisprovider.com', ..., and all other mail `From: @knoll.ln' will
be re-written to be `From: timshel at myprovider.com'. Once the file has
been created, create the sender_canonical.db file by running `postmap
sender_canonical' from the /etc/postfix directory. Then add the following
config option to your main.cf:

sender_canonical_maps = hash:/etc/postfix/sender_canonical

This should be all that's required to get it working. See canonical(5) for
more info on the canonical and sender_canonical tables. You can also do
re-writing based on regular expressions, see regexp_table(5), if you wish.
--- cut here ---

Hope this helps,
florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011223/6d5d90b4/attachment.pgp