1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

reverse DNS issue

Discussion in 'Networking (Hardware & Software)' started by ericwi, 2010/06/02.

  1. 2010/06/07
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Exactly! All incoming mail should get routed via anti-spam, not outbound mail.

    And why are you using a smarthost setup? Smarthost is for when you want to use an external smtp server and not your own smtp server. Smarthost is most often needed when one's ISP filters port 25 to prevent residential customers from running their own smtp servers (ISP anti-spam policy).

    I run a Linux server at home and setup my Exim mail server using a smarthost, the server sends via my ISP smtp servers.

    If your ISP prohibits you runing your own smtp server then you need to configure your mail server smarthost to use your ISP smtp server or another smtp server which uses an alternate smtp port that's not filtered by the ISP (465 or 587).
     
  2. 2010/06/07
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    For all the folks, here is ericwi's position:

    He has 2 IP public addresses in the range 203.120.x.y as follows:

    Firewall - 203.120.x.y
    Antispam - 203.120.x.z
    MX Record - 203.120.x.z

    He is routing the IP address 203.120.x.z [mail server IP] through his firewall [203.120.x.y] to mail server/anti spam box. Now when he sends mail, the email is sent from his firewall IP [203.120.x.y] and gets bounced from some domains as his sending IP is different from MX record IP [203.12.x.z]
     

  3. to hide this advert.

  4. 2010/06/07
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Scott Smith & TonyT,

    Both of you have valid points but his immediate problem is bouncing/rejection of mails by some domain since his MX pointer # sending IP address.

    Since I have very limited experience with using 2 public IPs on one device, I would leave it for somebody more experienced & knowledgeable than me to help ericwi out.

    But I wonder, who gave him this covulated solution in the first place & why ? Is it because of the volume of mail ?

    If his MX record was pointed to his firewall, this would have been a piece of cake, antispam or no antispam.

    And ericwi I still don't understand why are you hosting external DNS server in your organisation ? Its a big pain & security risk. Who is looking after it ? Patching it ? Let your ISP do the job for you or start using other DNS services like opendns or even googledns. The MX record can be set at the domain level itself [from the guy you have taken the domain name].

    Never ever expose your internal DNS server to internet. This is internal & should remain strictly internal.
     
  5. 2010/06/07
    Scott Smith

    Scott Smith Inactive Alumni

    Joined:
    2002/01/12
    Messages:
    1,950
    Likes Received:
    4
    Simple answer is point the MX at your firewall IP. Route all traffic through that IP.
    Unless that second IP is a different pipe to the net there is no advantage to having a second one.

    I think I'm going to add a signature line to my profile.
    "Don't make it harder than it is" :D
     
  6. 2010/06/07
    ericwi

    ericwi Inactive Thread Starter

    Joined:
    2002/01/07
    Messages:
    68
    Likes Received:
    0
    Hi all,

    Thanks for the replies. We initially had this assignment to the FW but not too long ago, the FW's IP address was blacklisted and took us some time to resolve it. After the incident, my boss decided to assign the antispam to have the MX record instead of the FW.

    Thinking out loud, what would be the implications if I put the antispam side-by-side with the FW instead of behind it? That means mails will be routed through the antispam will directly traversed out into the internet, instead of passing through the FW.
     
  7. 2010/06/07
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Or,

    Keep it Simple Stupid :D
     
  8. 2010/06/07
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Don't.

    Everything going in & out should be through firewall. That's your first line of defence. Don't even think about attaching any device directly onto internet without a firewall.
     
  9. 2010/06/08
    Scott Smith

    Scott Smith Inactive Alumni

    Joined:
    2002/01/12
    Messages:
    1,950
    Likes Received:
    4
    Ahhh,
    The rest of the story comes out. For an IP to be blacklisted you had to be really bad.
     
  10. 2010/06/08
    Admin.

    Admin. Administrator Administrator Staff

    Joined:
    2001/12/30
    Messages:
    6,687
    Likes Received:
    107
    Right... as Scott says... so I checked where in the world you are, and that tells me more then enough :(

    Your FW is listed in ips.backscatterer.org meaning your mail server isn't configured properly.
     
  11. 2010/06/08
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    ericwi,

    You may have more problem than you have imagined. Check your mail server configuration minutely. May be you are using mail server in "open relay" mode. [Very Very Bad].
     
  12. 2010/06/08
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Not necessarily. For example, Earthlink uses blacklists and all messages get compared to the lists prior to entering the Earthlink mail system and if an IP address OR a domain is on the list the messages get bounced back immediately to the sender. The problem with blacklists is that they:
    1. are rarely kept up-to-date.
    2. always contain false positives.
    3. how the messages get handled by the recipient network varies: spam folder, bouced, dropped with no ack, etc.

    If one has a site on a server using shared hosting then the mail server IP address is usually used for all domains that are hosted. One can get blacklisted because someone else abused the system.

    One can alse have infected computers sending spam and then get blacklisted.
     
  13. 2010/06/09
    ericwi

    ericwi Inactive Thread Starter

    Joined:
    2002/01/07
    Messages:
    68
    Likes Received:
    0
    Hmm....I am using Exchange 2007 sp2 on a CCR configuration. I am not too sure how to check for open relay.

    I have disabled port 25 on my FW on outgoing if it helps.
     
  14. 2010/06/09
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.