On Sun, 2010-11-28 at 23:38 +0200, Eero Volotinen wrote:
> 2010/11/28 Jerry <postfix-u...@seibercom.net>:
> > On Sun, 28 Nov 2010 23:06:48 +0200
> > Eero Volotinen <eero.voloti...@iki.fi> articulated:
> >
> >> I want to masquerade domain.fi with domain.com on outgoing mail? How
> >> to do this on postfix?
> >
> > http://www.postfix.com/postconf.5.html#masquerade_domains
> 
> Is this really correct setting? Manual says:
> 
> "Optional list of domains whose subdomain structure will be stripped
> off in email addresses."
> 
> I don't want to strip subdomains, I just want to replace domain.fi
> with domain.com from sender field ?
> 
> --
> Eero


Hello,

Do you mean this from main.cf ? :

# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# u...@that.users.mailhost.

myorigin=domain.com


Regards,

Pete.

Reply via email to