The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NAT problem with mail

Discussion in 'E-mail Discussions' started by shaka, Apr 14, 2006.

  1. shaka

    shaka Member

    Joined:
    Apr 4, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bulgaria
    Hi there,

    I have problem with email.

    I use NAT and Cpenal server is

    internal IP :192.168.1.100
    DNS cpanel.test.plc

    external 212.12.12.12
    DNS cpanel.test.com


    I have problem when send mail.

    Connecting to mail.remoutedomain.com [IP address ]:25 ... connected
    SMTP<< 220 mail.remoutedomain.com ESMTP Postfix (Debian GNU/Linux)
    SMTP>> EHLO fobos.cnsys.plc
    SMTP<< 250-mail.remoutedomain.com
    250-PIPELINING
    250-SIZE 62914560
    250-VRFY
    250-ETRN
    250 8BITMIME
    SMTP>> MAIL FROM:<root@cpanel.test.plc> SIZE=1476
    SMTP>> RCPT TO:<shaka@mail.remoutedomain.com>
    SMTP>> DATA
    SMTP<< 250 Ok
    SMTP<< 450 <root@cpanel.test.plc>: Sender address rejected: Domain not found
    SMTP<< 554 Error: no valid recipients
    SMTP>> QUIT


    It is natural cpanel.test.plc is not real domain.

    What must be my MX record ? probably real IP
    And how I can tell exim to change cpanel.test.plc cpanel.test.com when send email to external email server
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You'd have to check over at www.exim.org to see if you can do that. Be aware, though, that cPanel do not support use of cPanel behind NAT - it's not a good idea and you're much better sticking the server behind a firewall in a DMZ with an internet accessible IP instead, for all the reasons you're having problems.
     
Loading...

Share This Page