Redirect mail sent to local address to a different smtp server

Discussion in 'Installation/Configuration' started by danypd69, Dec 3, 2013.

  1. danypd69

    danypd69 New Member

    I have a request from a client but I can't find a way to do it.

    I have a server with centos 6 + ISPConfig (postfix/dovecot) that handles an email domain, let's call it

    The mail for this domain is sent to my server from another smtp server, ( that forward email only for some addresses.


    [email protected] is forwarded to ispconfig
    [email protected] is handled by

    Receiving email works ok (user1 gets email from ispconfig and user2 gets email from

    What I need to do is that when [email protected] sends an email to [email protected] using ispconfig the message is sent to

    With the standard config if I create the [email protected] on the ispconfig server the email is delivered locally and never goes to and if I don't create the user the email is not delivered because is a local domain and the user does not exists.

    Is there a way to do this configuration ?

  2. pititis

    pititis Member

    use email routing.

    First, add [email protected] to email->relay recipient

    Second, configure the route:

    email->email routing

    domain: [email protected]
    type: smtp
    No mx lookup: unselected

  3. danypd69

    danypd69 New Member

    Works perfect.
    Thanks a lot

Share This Page