Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Outgoing mail and SPF/PTR

Posted on 2011-09-27
5
Medium Priority
?
812 Views
Last Modified: 2012-05-22
Greetings,

I've been having a recent issue of MAILSPIKE and blacklisting site listing my domain as unsafe, preventing emails from being received by MAILSPIKE users.  Unfortunately, MAILSPIKE is supremely pathetic at providing any information (threat reasoning or contact).  Thus, I'm investigating my network to identify what could be going on.  I have relaying disabled and have examined my logs exhaustively.  I'm looking to implement an SPF record within my DNS, but I suspect limited return on that.  However, I've read nothing to suggest that it could hurt.  However, I have come across an issue that made me need to whip up this inquiry.  Currently, Mailspike is flagging IP address x.x.x.a (my router's WAN IP), while my mail server has x.x.x.b associated with it and the MX record (obviously), which is then NATed to it's private IP.  So, upon setting up a SPF, while I could do similar to the following <domain.com TXT "v=spf1 mx -all">, would that even matter in this case, as the flagged IP is x.x.x.a, not x.x.x.b?  Also, while troubleshooting, it was also suggested that my PTR is incorrect.  However, per http://www.uceprotect.net/en/rblcheck.php, it comes back as correct.  Needless to say, Mailspike and Uceprotect are irritating me, but as a responsible net admin, I do want to resolve the matter.  Would appreciate any pertinent input.  Thanks.  Jer
0
Comment
Question by:Jer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36713228
If you could provide the hostname and/or IP of your sending servers, I can tell you exactly how it all should be done, and the best way to do it.

SPF record needs to be your sending server(s) IP(s), and on that note, blacklists only affect the sending IP(s) as well.

I'm currently working on another SPF issue at http://www.experts-exchange.com/Networking/Protocols/DNS/Q_27344632.html
0
 
LVL 3

Author Comment

by:Jer
ID: 36717538
Papertrip, thanks for the response.  Looked at your other ticket, which seems to be the same issue.  I'm just wondering if I'm supposed to be doing a different config (such as static 1-to-1) for my outgoing mail.  As the IP for WAN port on my central firewall is the route (and address) for all outgoing traffic (SMTP, FTP, HTTP, etc), do I simply create a request (SPF record) for that address x.x.x.a?

Also, when I did discuss creating the record with my ISP who hosts my DNS records, I got a blank stare.  They didn't know what I was talking about.  Does the SPF record get applied elsewhere?

Thanks,

Jer  
0
 
LVL 21

Accepted Solution

by:
Papertrip earned 2000 total points
ID: 36718867
If I'm understanding your question and reply correctly, you actually are in a good position right now to do this the "right way".

Set your firewall up so that all outgoing traffic from your mail server goes over x.x.x.b
Create PTR for x.x.x.b that matches the A record of your mail server
Create SPF record with x.x.x.b

Done!

It might help you to wrap your head around all of this stuff if you separate incoming and outgoing mail.  Your MX record has nothing to do with sending mail, only receiving.  Sometimes people get confused when they think that MX and SPF have to match up and things like that.
0
 
LVL 3

Author Closing Comment

by:Jer
ID: 36980671
Thanks for the help.  Sorry for the delay in responding.  Been hectic here.
0
 

Expert Comment

by:sbenhamou
ID: 37996670
Hi

I've done the exact same procedure when changing my ISP, and I'm still in the mailspike blacklist. Since we can't contact them, and since I'm blacklisted each time I change the outgoing IP address, does anyone have an idea how to fix my issue ?
0

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video discusses moving either the default database or any database to a new volume.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question