Email ALIAS/FORWARD problem (3.0.4.2)

Discussion in 'Installation/Configuration' started by the_matrix, Jan 21, 2012.

  1. the_matrix

    the_matrix New Member

    Hi, I have tried to search the forum but didn't find anything near this:

    I have 3 email domains on this server and I need to map some alias:

    abc.com
    xpto.com
    [email protected]

    I tried doing with ALIAS and FORWARD options.

    Case:
    [email protected] (alias) needs to go to [email protected] (this exists on the server and is receiving mail)

    Sent an email from my gmail account and got this back from the mailer deamon:

    ....
    <[email protected]>: user unknown

    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: x-unix; user unknown
    .....

    What have i done wrong?
    I do have the Falko manual (3.0.3.3), but the system is not doing what supposes to do ...

    Any suggestions?

    Thanks in advance.

    Maillog attached
     

    Attached Files:

    Last edited: Jan 21, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

    Does the MX record for xpto.com point to the correct server?
     
  3. the_matrix

    the_matrix New Member

    Hi Falko,

    And yes it does, but it is local to the ISPConfig server.

    I do receive mail for the account [email protected].

    ; <<>> DiG 9.7.0-P1 <<>> @dns1.menandmice.com xpto.com ANY
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26060
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;xpto.com. IN ANY
    ;; ANSWER SECTION:
    xpto.com. 86400 IN MX 10 mail.xpto.com.
    xpto.com. 86400 IN A 1.1.1.1
    xpto.com. 86400 IN SOA ns.abc.com. postmaster.xpto.com. 2012011601 28800 7200 604800 86400
    xpto.com. 86400 IN NS ns.abc.com.
    xpto.com. 86400 IN NS ns2.xxxxxxx.com.
    ;; AUTHORITY SECTION:
    xpto.com. 86400 IN NS ns2.xxxxxxxx.com.
    xpto.com. 86400 IN NS ns.abc.com.
    ;; Query time: 562 msec
    ;; SERVER: 217.151.171.7#53(217.151.171.7)
    ;; WHEN: Sat Jan 21 11:42:52 2012
    ;; MSG SIZE rcvd: 193

    Regards.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Code:
    mh1:~# dig mx xpto.com
    
    ; <<>> DiG 9.3.4 <<>> mx xpto.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59897
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;xpto.com.                      IN      MX
    
    ;; ANSWER SECTION:
    xpto.com.               900     IN      MX      10 [B][COLOR="Red"]mx.xpto.com.cust.hostedemail.com[/COLOR][/B].
    
    ;; Query time: 227 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jan 22 15:10:33 2012
    ;; MSG SIZE  rcvd: 71
    
    mh1:~# dig mx.xpto.com.cust.hostedemail.com
    
    ; <<>> DiG 9.3.4 <<>> mx.xpto.com.cust.hostedemail.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31429
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mx.xpto.com.cust.hostedemail.com. IN   A
    
    ;; ANSWER SECTION:
    mx.xpto.com.cust.hostedemail.com. 3600 IN A     [B][COLOR="Red"]216.40.42.4[/COLOR][/B]
    
    ;; Query time: 110 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jan 22 15:10:51 2012
    ;; MSG SIZE  rcvd: 66
    
    mh1:~#
    Are the details in red correct?
     
  5. the_matrix

    the_matrix New Member

    Hi Falko,

    For security those dns names aren't real.

    I have done a dig wich i included on my post but changed the names.
     
  6. the_matrix

    the_matrix New Member

    Hi Falko,
    Where you able to see my PM's regarding this?
    I'm still unable to ALIAS or FW to emails using ISPConfig 3.0.4.2.

    Thanks in advance.
    Regards
    JG
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Yes, just sent an answer.
     
  8. the_matrix

    the_matrix New Member

    PM sent.
    Thank for your support, after this figured out I will post the solution...
     

Share This Page