On Wed, 16 Sep 2009, LuKreme wrote:

> On 16-Sep-2009, at 14:32, Noel Jones wrote:
> 
> >@yaho.com  @yahoo.com
> 
> I can just put that in my normal virtue? That's very cool.

Yes.

> All seems to work, huzzah!

Indeed, but note that virtual alias mapping affects only the envelope
recipient address.  In your case, this ensures that the message is
directed to the correctly spelled domain name.  If you want to also
change the header (so the person reading the message on the other side
sees 'example.org' instead of 'exmaple.org' in his or her MUA), consider
$recipient_canonical_maps.

 # main.cf
 recipient_canonical_maps = cdb:/usr/local/etc/postfix/canonical

 # /usr/local/etc/postfix/canonical
 @exmaple.org @example.org

And if you're running Postfix > 2.2, you need to appropriately adjust
$local_header_rewrite_clients so Postfix actually rewrites the header.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to