c***@gmail.com
2013-04-03 15:57:21 UTC
Hi there,
I'm trying to rewrite sender address/domain from @sub.example-domain.com to @example-domain.com.
I tried:
1) masquerade_domains = example-domain.com
2) sender_canonical_maps=hash:/etc/postfix/sender_canonical
(sender_canonical: @sub.example-domain.com to @example-domain.com)
In both cases, with masquerade_domains and sender_canonical_maps, when I send a mail from ***@sub.example-domain.com, I recieve mail with:
- Return-Path: ***@example-domain.com
- From: Username <***@sub.example-domain.com>
Is there some way to rewrite "From: " part of msg header?
- From "From: Username <***@sub.example-domain.com>" to "From: Username <***@example-domain.com>" ??
--
Zoran
I'm trying to rewrite sender address/domain from @sub.example-domain.com to @example-domain.com.
I tried:
1) masquerade_domains = example-domain.com
2) sender_canonical_maps=hash:/etc/postfix/sender_canonical
(sender_canonical: @sub.example-domain.com to @example-domain.com)
In both cases, with masquerade_domains and sender_canonical_maps, when I send a mail from ***@sub.example-domain.com, I recieve mail with:
- Return-Path: ***@example-domain.com
- From: Username <***@sub.example-domain.com>
Is there some way to rewrite "From: " part of msg header?
- From "From: Username <***@sub.example-domain.com>" to "From: Username <***@example-domain.com>" ??
--
Zoran