SPF Explanation.

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
User avatar
timex163
Normal user
Normal user
Posts: 38
Joined: 2014-06-17 13:20
Location: Montréal

SPF Explanation.

Post by timex163 » 2014-09-24 04:07

Greetings,

I recently started receiving spam with email having the same domain has mine. Let's call it timex163.com. Now i have this spf rule : timex163.com. IN TXT "v=spf1 mx a ptr ip4:192.166.36.59 -all". Is hmailserver supposed to fail that email or mark it since it does not meet the IP requirement ?


Thanks.

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SPF Explanation.

Post by mattg » 2014-09-24 04:55

depends on your spam scoring rules and options.

How highly do you set the fail on SPF as a spam score? What do you have set as mark and delete thresholds for SPAM?

It's all covered in the documentation
https://www.hmailserver.com/documentati ... e_antispam
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
timex163
Normal user
Normal user
Posts: 38
Joined: 2014-06-17 13:20
Location: Montréal

Re: SPF Explanation.

Post by timex163 » 2014-09-26 03:58

That'S the thing.

I used open relais on my server and on the header, there no spf warning or any sort of ratting.

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SPF Explanation.

Post by mattg » 2014-09-26 05:27

mattg wrote:depends on your spam scoring rules and options.

How highly do you set the fail on SPF as a spam score? What do you have set as mark and delete thresholds for SPAM?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

martonlee99
New user
New user
Posts: 1
Joined: 2014-09-29 16:02

Re: SPF Explanation.

Post by martonlee99 » 2014-09-30 15:20

mattg wrote:
mattg wrote:depends on your spam scoring rules and options.

How highly do you set the fail on SPF as a spam score? What do you have set as mark and delete thresholds for SPAM?
What happened with this thread? :lol:

User avatar
timex163
Normal user
Normal user
Posts: 38
Joined: 2014-06-17 13:20
Location: Montréal

Re: SPF Explanation.

Post by timex163 » 2014-09-30 15:25

Sorry was sick.

So yes, I put the spam score of 50. I currently have to trigger stuff spam at 20 and to delete at 50.
I still get those emails

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SPF Explanation.

Post by mattg » 2014-10-01 00:47

At risk of repeating myself YET AGAIN
mattg wrote:How highly do you set the fail on SPF as a spam score?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SPF Explanation.

Post by mattg » 2014-10-01 00:50

ALSO, this concept interests me
timex163 wrote:Now i have this spf rule : timex163.com. IN TXT "v=spf1 mx a ptr ip4:192.166.36.59 -all"
How, what and where.

How did you set this 'spf rule'?
What exactly did you do?
Where exactly did you do it?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
timex163
Normal user
Normal user
Posts: 38
Joined: 2014-06-17 13:20
Location: Montréal

Re: SPF Explanation.

Post by timex163 » 2014-10-07 21:00

Sorry for late reply.
How did you set this 'spf rule'?
What exactly did you do?
Where exactly did you do it?
Added them to my godaddy dns zones.

mrooks1984
New user
New user
Posts: 3
Joined: 2014-10-15 12:11

Re: SPF Explanation.

Post by mrooks1984 » 2014-10-15 13:40

Ok what I would do is start from the beginning:

1. run through this wizard: http://www.microsoft.com/mscorp/safety/ ... id/wizard/
2. logon to go daddy and add the string generated by the above to your txt record and spf record (I use fasthosts).

See if that helps, if not:

1. goto hmail server admin and login to your server
2. settings, antispam, spam tests, then make sure use spf is ticked.
If you put spf score at a higher number then the delete threshold (on the general tab), then all emails that don't pass spf should be deleted.

Not sure if there is any other way to do it, hope this helps.

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SPF Explanation.

Post by mattg » 2014-10-15 14:19

mrooks1984 wrote:...all emails that don't pass spf should be deleted.
Just be aware that there are many domains out there than have a +all at the end of their SPF record which means that all messages will pass
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply