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

    Hello,
    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 3.0.5.3 (postfix/dovecot) that handles an email domain, let's call it maildom.com

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

    Example:

    [email protected] is forwarded to ispconfig
    [email protected] is handled by mailserver.com

    Receiving email works ok (user1 gets email from ispconfig and user2 gets email from mailserver.com)

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

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

    Is there a way to do this configuration ?

    Thanks
    Daniele
     
  2. pititis

    pititis Member

  3. danypd69

    danypd69 New Member

    Works perfect.
    Thanks a lot
    Daniele
     

Share This Page