hi bevhost, i see what you are saying.
2 easy questions, difference between ~ and - all, and, Do you know a way I can test it then to ensure its working?
Main Topics
Browse All TopicsHi,
I installed SPF as per the following instructions http://www.howtoforge.com/
Once implemented, I signed up to hoaxmail to spoof an address and see if it works. I basically had the envelope header say I was billgates@microsoft.com and send to my email account via my smtp gw (which has spf installed).
ok, ive installed SPF on my Mail Gateway (its a centos box)
I signed up to hoaxmail.com to test the SPF, here are the results...
Aug 26 11:51:49 corpmail postfix/policy-spf[19798]:
Aug 26 11:51:49 corpmail postfix/smtpd[19796]: 2CE163E701A4: client=unknown[189.217.90.
Aug 26 11:51:50 corpmail postfix/cleanup[19804]: 2CE163E701A4: message-id=<000d01ca25ef$b
Aug 26 11:51:50 corpmail postfix/qmgr[19525]: 2CE163E701A4: from=<insidersec29@coffeea
Aug 26 11:51:50 corpmail postfix/smtpd[19796]: disconnect from unknown[189.217.90.101]
Aug 26 11:51:54 corpmail postfix/smtp[19806]: 0B50B3E700CD: to=<dgarcia@exchange.uwc.c
What am I missing?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
BTW according to the log snippet your from line seems to be insidersec29@coffeealaturk
If you want to test it just telnet to your e-mail server:
- telnet your.mail.gateway.com 25
- Wait for the initial Greeting.
- type: "ehlo microsoft.com"
- Wait for Ehlo greeting message.
- type "Mail from: <billgates@microsoft.com>"
- wait for the rsponse
- type "rcpt to: <dgarcia@globalgossp.net>
- wiat for the response
- enter "data"
- Wait for teh resposne
- Enter "Subject: SPF Try-out"
- Hit enter
- type "." Enter
- type quit
Here's a sample output gotten from the site with the same method.
Cheers,
K.
Here's how to test an SPF record:
http://www.openspf.org/Too
Here's a link to the Wiki article about SPF and -all ~all thing.
Cheers,
K.
Opps sorry here2s the link:
http://en.wikipedia.org/wi
BTW you don't have an SPF record at all:
# nslookup
> set type=TXT
> coffeealaturka.com
Server: 10.0.0.3
Address: 10.0.0.3#53
Non-authoritative answer:
*** Can't find coffeealaturka.com: No answer
Authoritative answers can be found from:
coffeealaturka.com
origin = ns1.register-europe.com
mail addr = hostmaster.register-europe
serial = 1251268205
refresh = 10800
retry = 3600
expire = 604800
minimum = 86400
> thanks kerem. The fact that the email you sent got through, doesnt that mean that spf in not working
> correctly? Either that or microsoft doesnt have spf setup on their smtp servers.
In fact it all depends. Microsoft has an ~all record. Meaning that it should have been soft reset instead of rejected. You should check our logs to see what did SPF do to the mail.
> ehlo microsoft.com
> 502 5.5.2 Error: command not recognized
Sometimes when you delete a character it might not get deleted and stays there although it doe not displayed like that try not to delete anything and directly type the text.
I modified my copy of the SPF policy daemon.
I changed the response for SPF-SoftFail to make the mail get greylisted.
See attached code snippett.
greylist is one of my custom restriction classes....
eg (from main.cf)
smtpd_restriction_classes = greylist, score, throttle, spf
greylist = check_policy_service inet:203.202.201.200:11111
score = check_policy_service inet:203.202.201.200:12525
throttle = check_policy_service inet:203.202.201.200:12345
spf = check_policy_service unix:private/policy_spf
I have a tool on my website you can use to check if an SPF record is working.
See
http://tools.bevhost.com/s
Business Accounts
Answer for Membership
by: bevhostPosted on 2009-08-25 at 20:18:20ID: 25184197
I believe that it maybe working as prescribed.
coffeealaturka.com has no SPF record
microsoft.com has an SPF record but it is in test mode (ie it ends with ~all [not -all])