Gordon Messmer wrote:
> rupert wrote:
>> How can I get postfix to deliver the email to the right host?
>> At the moment postfix creates a new maildir when the recipient is on
>> the remote host.
>> therefore the new mail does not list the new email.
>>
>> havent found a howto that covers this, for now.
>>
>> maybe you have some knowledge about that.
>>   
> 
> Not I.  My experience with postfix is pretty limited.  Check in on their 
> user list...

If you are splitting a domain across multiple servers without a shared 
access mail spool postfix needs to

1) Be aware of the list of valid users

2) known where to send it (local/non-local)


To get 2, a transport map with a SMTP target of the mailhost can be used


Postfix would then

1) perform LDAP/MySQL/other lookup to determine if domain is valid for 
local accept
2) Lookup address to determine if exists
3) Accept message
4) check the transport map (transport map lookup returns mailhost and 
search filter is mailhost != this systems mailhost value)
        a) no transport map lookup return (when mailhost = <localmailhost>), 
deliver local
        b) transport map returns a targer (when mailhost != <localmailhost>), 
deliver via smtp:<mailhost> target

When setup correctly this works much like the PROXY function in courier 
POP/IMAP.


-- 
------------------------------------------------------------------------
Christopher E. Brown   <[EMAIL PROTECTED]>   desk (907) 550-8393
                                                      cell (907) 632-8492
IP Engineer - ACS
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to