UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Shared Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-11-2007, 20:20
Junior Member
 
Join Date: Jun 2007
Posts: 29
Question Bulk Email and SPF

Hi Guys,

I have been asked to look into creating Monthly newsletters for people who have registered on the website. As eUK (quite rightly) have a limit on email sending through their servers, I created a local application that downloaded the email addresses from the database on the website, created the email and sent them off via a local SMTP server.

Out of the 400 currently registered users, 100 were bounced by ISPs such as AOL, BTInternet, Freeserve etc, as I assume they think its .

Now, will it be SPF to the rescue? From what I understand, when you enter the SPF record in to DNS, the recieving SMTP server will look at it to see if the host server was allowed to send the mail. If it was it allows it through.

So if I enter my external IP address into this record this should also work OK??

Does anyone know how successful this actually is as I obviously can't test this on my subscribers?

Thanks

Adam.
__________________
Thanks

EOTB
Reply With Quote
  #2 (permalink)  
Old 27-11-2007, 21:01
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,253
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

You need need rDNS for your local IP address so you need to get it done from your ISP if you have fixed IP address. SPF record can be set only if you have a hostname associated with your local IP address so first you need to setup a hostname and then rDNS and then you need to setup SPF.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #3 (permalink)  
Old 28-11-2007, 11:45
Junior Member
 
Join Date: Jun 2007
Posts: 29
Default

Quote:
Originally Posted by eUKhost.com View Post
You need need rDNS for your local IP address so you need to get it done from your ISP if you have fixed IP address. SPF record can be set only if you have a hostname associated with your local IP address so first you need to setup a hostname and then rDNS and then you need to setup SPF.
I think I already have a hostname. I am with the ISP Plus.Net, so my hostname is [username].plus.com. If I ping -a [my Static IP], it resolves to this hostname, so does this mean rDNS is setup?

If the above is all correct, the SPF record will look like:

Code:
v=spf1 a mx a:[hostname] -all
where [hostname] is my hostname.

Cheers

Ad.
__________________
Thanks

EOTB
Reply With Quote
  #4 (permalink)  
Old 28-11-2007, 12:03
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,253
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

put your local IP address at http://webtools.eukhost.com/retrieve_host.php and check if it comes back with a hostname.

If your rDNS is already setup then you will need following SPF records :-

domain.com. 14400 TXT "v=spf1 a mx ip4:91.186.30.23 ~all"


replace domain.com with your domain and 91.186.30.23 with your IP address.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #5 (permalink)  
Old 28-11-2007, 17:59
Junior Member
 
Join Date: Jun 2007
Posts: 29
Default

Sorry, if I'm being a bit dumb . In Reg-123, I have 'Name', 'Type', and 'Content' fields for adding DNS entries.

TXT goes in the Type and v=spf1....... goes in Content. What goes in the Name field?

Thanks

Adam.
__________________
Thanks

EOTB
Reply With Quote
  #6 (permalink)  
Old 29-11-2007, 00:25
247h's Avatar
Premium Member
 
Join Date: Nov 2006
Location: Buckingham UK
Posts: 241
Send a message via AIM to 247h Send a message via MSN to 247h Send a message via Yahoo to 247h
Default

Your domain name (as represented in Mark's post by domain.com.) — note that it has a period (full-stop or dot) at the end and, whilst I'm drawing attention to this detail, note that the SPF record is within double inverted commas too — critically important 'punctuation' ...

I've never registered any domains with 123-Reg (I believe that's who you meant) so cannot advise whether their data entry boxes for 'Name', 'Type', and 'Content' fields require you to add the important punctuation, or whether you don't include it as it's formatted automatically — once you've entered the updates and saved, make sure you check they display as they should.
__________________
Gadge

Too many nice toys — too little time to play with 'em!
Reply With Quote
  #7 (permalink)  
Old 29-11-2007, 12:13
Junior Member
 
Join Date: Jun 2007
Posts: 29
Default

I've entered the domain into the name and the other bit into the content, but it doesn't like it - states invalid entry.

Please view the screenshot:

Any other ideas?
__________________
Thanks

EOTB
Reply With Quote
  #8 (permalink)  
Old 29-11-2007, 12:55
247h's Avatar
Premium Member
 
Join Date: Nov 2006
Location: Buckingham UK
Posts: 241
Send a message via AIM to 247h Send a message via MSN to 247h Send a message via Yahoo to 247h
Default

Thanks for the pic (which is useful) but what did you actually enter?

Did you enter in the left box, domain.com or domain.com. (it should be with the trailing period otherwise it's invalid) ?? I presume your domain name is that as shown in the picture's MX record? I haven't typed it here, deliberately, but it is nxxxxxxxxxxxxxx.com. that goes in the left field.

You appear to have not put the SPF syntax in double inverted commas — it MUST read:

"v=spf1 a mx ip4:91.186.0.20 ~all" (or whatever IP is correct)
Question: where did your 84.93.111.xxx address come from (as in the pic)? It should be that of your server's IP which seems to be 91.186.0.20 unless your domain is hosted on one of eUKhost's shared servers, in which case it may need to be different).
__________________
Gadge

Too many nice toys — too little time to play with 'em!
Reply With Quote
  #9 (permalink)  
Old 29-11-2007, 15:55
Junior Member
 
Join Date: Jun 2007
Posts: 29
Default

If I enter random characters (eg wibble)in the Name field and put the SPF syntax in quotes, it doesn't accept it. If I don't enter the quotes it does accept it.

Also, I have tested entering the domain with the dot at the end and it also doesn't accept it. If I enter it without it does.

So bascially I now have the entry accepted with the domain without the dot and the SPF syntax without the quotes.

It could be that reg-123 enters this information automatically. Once it is propogated, I will check on and NSLookup tool

Thank for your help

Cheers

Ad.
__________________
Thanks

EOTB
Reply With Quote
  #10 (permalink)  
Old 29-11-2007, 17:51
Junior Member
 
Join Date: Jun 2007
Posts: 29
Default

Just re-read your reply. The IP address you see is my own static IP for home.

The main reason why I am doing this is so I can send newsletter bulk-email direct from my PC at home, without it being blocked by the major ISPs. I have been told by adding the SPF record with my IP address included it will less-likely be blocked/bounced/deferred.

The posts above also stated to make sure the IP address has rDNS setup, which it does.
__________________
Thanks

EOTB
Reply With Quote
  #11 (permalink)  
Old 03-12-2007, 08:59
Junior Member
 
Join Date: Jun 2007
Posts: 29
Lightbulb

OK,

Just to let you guys know, I found the solution on the 123-reg support site (of all places!! )

There are two special characters that are used as wildcards which are entered in the name field:
@ = when nothing is entered before your domain name
* = when you have something before your domain name

So if you set up a few A records to your domain 'wibble.com':
@ - A - 30.40.50.60
* - A 30.40.50.65
www - A 30.40.50.70
ftp - A 30.40.60.75

....and then ping:
wibble.com it will return 30.40.50.60
www.wibble.com it will return 30.40.50.70
smeg.wibble.com it will return 30.40.50.65

For the SPF record, as you want just the domain name, you need to enter the @ symbol so will be:

@ - TXT - v=spf1 a mx ip4:[IP] ~all
(or whatever your SPF record need to be). Please note, for 123-reg, the content doesn't need to be in quotes.

Hope this helps!

Thanks

Adam.
__________________
Thanks

EOTB
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 23:02.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories