postfix-users November 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Strange transport problem

Re: Strange transport problem

From: Noel Jones <njones_at_nospam>
Date: Sat Nov 19 2011 - 17:02:43 GMT
To: postfix-users@postfix.org

On 11/19/2011 10:03 AM, Anne Wilson wrote:

> What I want to achieve - any mail addressed to xxx@lydgate.lan is put onto my
> IMAP server's mail spool for the person concerned.

All domains listed in mydestination are delivered on the local machine.
http://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination

So according to your stated goals, use:
mydestination = lydgate.lan

> Any mail other than
> addressed to xxx@lydgate.lan should go to mailhost.zen.co.uk.

To deliver everything else to your ISPs mail relay, put that in the
relayhost parameter
relayhost = [mailhost.zen.co.uk]
http://www.postfix.org/BASIC_CONFIGURATION_README.html#relayhost

You likely don't need transport_maps because it's for exceptions to
the above delivery rules.

> In view of this, what should $myorigin and $mydestination be?

http://www.postfix.org/BASIC_CONFIGURATION_README.html#myorigin
myorigin = lydgate.lan

All your questions are answered here:
http://www.postfix.org/documentation.html

If you're not familiar with general email principals you may need to
review the various README files several times before they start to
make sense. But they will.

  -- Noel Jones