On Wed, Aug 05, 2009 at 09:51:10PM +0200, Peter J. Philipp wrote: > I've switched from postfix to opensmtpd. I have a small question. How do > I alias the outgoing domain to the From: address? > > Something along the lines of postfix's: > > myorigin = $mydomain > > Pretend the From is "[email protected]" (caliban doesn't exist, but > it's the hostname of this host behind the NAT firewall) and I want it to be > only "[email protected]" is there a way to do that? > > This is the current config I have now: > > ####### > hostname caliban.solarscale.de > > listen on localhost > accept for local deliver to mbox > accept for all relay via 2001:xxx:xxxx::xx port 9025 > ####### > > Many thanks, > > -peter >
Hi peter, Why don't you just set hostname to solarscale.de ? Gilles

