How does SpamFilter SPF checking handle DSN 's ? |
Post Reply ![]() |
Author | |
pcmatt ![]() Senior Member ![]() ![]() Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() Posted: 03 August 2004 at 8:39am |
In the case of DSN the SPF lookup should be done on the domain in the HELO command. I have not come up with a way to test this, so I thought I would just ask. Is this implemented in SpamFilter at this time? Thanks!
|
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Matt, I do not believe that is true. Here is a quote from "pobox.com" tthe authority on SPF: "SPF was designed to protect the envelope sender. That means the return-path that shows up in "MAIL FROM", and to a lesser extent the HELO argument that is supposed to be an FQDN" Note that the ENVELOPE is what is actually the forgery that is being checked for. Otherwise, most of my customers would have problems. Another quote varifies this, unless I am reading it wrong: "Does SPF break email forwarding? Yes, it does. You'll have to switch from forwarding, where the envelope sender is preserved, to remailing, where the envelope sender is changed. But don't worry, we're working on providing SRS patches for the four major opensource MTAs, so that when you upgrade to an SPF-aware version, this problem will be solved also." What your take on this? Dan S. |
|
![]() |
|
pcmatt ![]() Senior Member ![]() ![]() Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
So, your answer: SpamFilter does not do SPF checks on DSN's? I get the part where you don't think it should not. I'm still not sure about that because NDR's should never be sent anonymously. So there should always be some verifyable piece. Not having thought this one through is why I put the question here. Wouldn't you think the the DNS should include the original recipient which could be verified as the sender? |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Matt, First, I am a user, not with LogSat. But ... When you are talking about "DSN" do you mean DNS? Have you tried looking at http://spf.pobox.com ? I am not sure what you are wanting DNS to do. All the SPF record is, is a TXT record in DNS that describes what IP's host names, ptrs (RDNS) or mail servers that are allowed to be the source of mail from that domain. DNS doesn't know anything about NDR's, Original senders or anything at all about any particular message. Or ... am I not understanding the question which is very possible. Regards, Dan S |
|
![]() |
|
pcmatt ![]() Senior Member ![]() ![]() Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
Sorry Dan. I'm referring to Delivery Status Notification (DSN)'s.
|
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
OK ... Do back up a bit. What do you feel that SpamFilter whould or should not be doing with the SPF record? Because ... there IS a big issue with "Forwards". Dan |
|
![]() |
|
pcmatt ![]() Senior Member ![]() ![]() Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
Dan, I'm not certain if this has to do with "forwards" or not. I was just curious about DSN handling. SPF classic specs specify "SMTP+SPF receivers MAY That lead me to the question of how SpamFilter handle DSN's. Some DSN's have no return-path therefore in order to handle DSN's with blank return-paths SpamFilter would have to check the HELO argument. The goal is to identify the "responsible sender", if possible. My opinion would be to follow the optional HELO argument in establishing the responsible sender. This the section I am referring to in the SPF Classic spec (http://spf.pobox.com/spf-draft-200406.txt) : "... 2.2.1 Subject of SPF testing
|
|
![]() |
|
keizersozay ![]() Groupie ![]() Joined: 26 January 2005 Location: United States Status: Offline Points: 77 |
![]() ![]() ![]() ![]() ![]() |
I don't think that spamfilter worries about return paths in this case. If a spf lookup reveals a problem, spamfilter will receive the email (quarantine depending on your settings) and terminate the email transfer with an error. The error code and response is under the 'customized item' tab. I don’t think it ever actually sends a new email with an error to the sender.... I could be wrong....or this may not be what you are talking about at all. |
|
![]() |
|
pcmatt ![]() Senior Member ![]() ![]() Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
Thanks. I'm only referring to DSN's generated by other servers that SpamFilter relays to our email servers and mailboxes. I think it's pretty rare to get a bogus or fraudulent DNS, for example a non-delivery report. Most of the time our users get NDR's that were the result of a fraudulent email and the NDR itself rarely was generated with fraudulent headers. Other DSN's would be out of office replies, and other delivery status notifications that are incoming bound for one of our mailboxes. First, I'm just curious if SpamFilter checks incoming DSN emails using SPF logic. Here's the food for thought: There also may be a future opportunity to use SPF to verify the DSN and block DSN's that were generated as the "result" of fraud. This is a big problem on the Internet but get's sticky because first SpamFilter would have to recognize the incoming email as a DSN and then dig into the headers and message body to locate the original sender that generated the DSN and validate using SPF. This would be way beyond the specifications for SPF but I think a really cool feature setting SpamFilter apart from the other solutions. |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Matt, SpamFilter ISP extracts the domain portion of the MAIL FROM address and performs an SPF check on it. Should that address be blank or not contain a domain, then SpamFilter will perform an SPF check on the FQDN taken from the HELO command. This behavior should follow the following recommendation from section 2.2.1 of the proposed RFC: ======================== Roberto F. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.324 seconds.