Advanced Email Routing local domains

Discussion in 'Installation/Configuration' started by Richardmax, May 24, 2017.

  1. Richardmax

    Richardmax New Member

    Hi,

    i have two domains in my server, one parked (inactive website) and one active(working with website, email accounts -same as old accounts as old-domain.com-, etc().
    Now i need send all email income to old-domain.com to new-domain.com

    I did so:
    Code:
    1- DNS: old-domain.com (mx record point to old-domain.com)
    2- Website: old-domain.com (inactive for do redirect later)
    3. Email Routing: old-domain.com to new-domain.com (read another post about not create email domain for that old-domain)
    i hope:
    Code:
    [email protected] => [email protected]
    [email protected] => [email protected]
    *@old-domain.com => [matched]@new-domain.com
    but do not work: when send an email to [email protected] nothing income in [email protected]
    Code:
    Delivery Status Notification (Failure)
    550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in relay recipient table 
    what is wrong or missing?
    Thanks in advanced!!

    ISPConfig 3.1
    Centos 7.1
    Dovecot + Postfix - IMAP
     
    Last edited: May 24, 2017
  2. DonniesCat

    DonniesCat New Member

    Hi,

    Instead of Email routing, try with Email Alias. To do so, you need to add the old domain as a email domain as well.

    Remember you need more than just a mx record, I mean, you should leave active the whole DNS records table and then just create a index.php file to show the website as inactive.
     
    Richardmax likes this.
  3. Richardmax

    Richardmax New Member

    Hi @DonniesCat ,

    Email Alias need to set every emails accounts to manage to. After some test I create an Email Domain again for old-domain. then go to domain alias. do old-domain to new-domain.
    I don't know if I have the better solution but it works now ;)

    Thanks you very much!!
     

Share This Page