On 9/21/2009 3:44 PM, Eero Volotinen wrote:
I have problem with masquerading local users, for example:
echo foo | mail e...@email -s 'foo'
shows from field from e...@mailserver.maildomain.com, but I want email
from header always to show from e...@maildomain.com and possible from
firstname.l...@maildomain.com if possible?
How to enable address masquarade also on local users?
--
Eero
To control the domain added to unqualified addresses, set the
main.cf myorigin parameter.
http://www.postfix.org/postconf.5.html#myorigin
Postfix address rewriting is described in detail here:
http://www.postfix.org/ADDRESS_REWRITING_README.html
-- Noel Jones