Routing email

Discussion in 'Server Operation' started by rjsetford, Oct 28, 2010.

  1. rjsetford

    rjsetford New Member

    Hi,

    This is my first post here so please be gentle.

    I'd like to set up an email router to achieve the following:

    1. Email sent to user1@domain.com gets routed to email server 1
    2. Email sent to user2@domain.com gets routed to email server 2

    All email for domain.com hits a firewall and would then be NAT'd to the email router. It's at this email router that I want to be able to split email for user 1 and user 2.

    I'm sure this is possible and probably quite simple to achieve but I honestly don't know where to start.

    Any advice would be greatly appreciated.

    Please let me know if you need any further info.

    Regards,

    Richard
     
  2. till

    till Super Moderator

    If you use postfix as mailserver, then you can route emails with email transports. Here is a description of the syntax for the /etc/postfix/transport file:

    http://www.postfix.org/transport.5.html
     
  3. rjsetford

    rjsetford New Member

    Thanks Till, I'll look in to that.

    Richard
     

Share This Page