[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix question



On Mon, May 28, 2001 at 05:29:36PM +0200, Russell Coker wrote:
> I have postfix running on an end-node.  I want to send mail from the machine 
> by running "mail user" and have it go to user@domain.com (which is hosted on 
> another machine).  However I want mail directly addressed to 
> user@host.domain.com to be delivered locally.
> 
> This should be simple but seems very difficult (I've just spent an hour 
> tweaking postfix config options without success).

hmm.. i don't see the problem here...

use:

myhostname = Foo.Bar.com
myorigin = Bar.com

ofcourse you need to tweak mydestination, not to include $mydomain something
like this:

mydestination = $myhostname, localhost.$mydomain

 -- Sami

-- 
			      -< Sami Haahtinen >-
	    -< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-



Reply to: