PDA

View Full Version : Where are my e-mails sent from? Should I create reverse ip lookup?



Tertsi
05-11-2007, 07:28 AM
My main question is: Where am I sending e-mails from with the below settings:
(Is it mail.freesexdoor.com, www.freesexdoor.com, 64.85.161.123 or 64.85.161.124?)

My secondary question is: Is creating own reverse IP lookup to 64.85.161.124 possible and beneficial in my case? If so, what should I replace this SPF line with: freesexdoor.com. TXT "v=spf1 a mx ip4:64.85.161.123 ?all" ?

I'm trying to improve freesexdoor.com's e-mail delivery ratio because hotmail and gmail deliver my PHP mailer's sent confirmation e-mails to the junk folder. I've done everything I can to improve the sent headers etc. so there's only one more possible way to improve it: (That I can think of). Freesexdoor.com is hosted on the same server as mitorahgames.com.

My server's primary IP is: 64.85.161.123
My server's hostname is: server.mitorahgames.com

server.mitorahgames.com's Related DNS Settings:
mail A 64.85.161.123
server.mitorahgames.com. A 64.85.161.123
server.mitorahgames.com. NS ns1.mitorahgames.com.
server.mitorahgames.com. NS ns2.mitorahgames.com.
mail MX 10
123.161.85.64.in-addr.arpa PTR server.mitorahgames.com.
server.mitorahgames.com. TXT "v=spf1 a mx ip4:64.85.161.123 ?all"


freesexdoor.com's IP is: 64.85.161.124
freesexdoor.com's Related DNS Settings:

freesexdoor.com. A 64.85.161.124
mail A 64.85.161.124
mail MX 10
freesexdoor.com. TXT "v=spf1 a mx ip4:64.85.161.123 ?all"

I'm by the way putting www.freesexdoor.com (PHP reported server name) to the Message ID: field in the e-mail headers. Would putting IP there perhaps work better? If so, which IP?

nobaloney
05-11-2007, 05:46 PM
You're probably (most likely) sending emails from server.mitorahgames.com, which should be correct. To be sure, send yourself an email (to a domain on a different server) and look at the headers.

Your reverse DNS is working properly and there's nothing to be gained by changing it.

You're not any blacklist.

But I'd let the server set the message-ID, as www.freesexdoor.com doesn't follow the rules for what a message-ID should look like.

Other than that, I see no reason why hotmail, etc., wouldn't accept your email.

Jeff

Tertsi
05-12-2007, 01:35 AM
The server can't just modify my headers to set the Message ID itself inside a custom headers string.

I know that the Message ID: should be in the format of: <obscureuniquemessageid@mailservername> (and that is how I set it but I'm not sure about the mail server name.)

By the way I make php actually to send the e-mail from the From: address by changing and restoring the from_email setting when e-mailing. So when I look at the headers I only see the from: address that I used. For example: somebody@freesexdoor.com. When I don't do this I do see server.mitorahgames.com.

Thank you!

nobaloney
05-12-2007, 08:40 PM
Why not send yourself an email from the server to see what it sets, and then use that in the Message-ID field?

For example, to send an email to username@example.com, from the shell command line as admin or other user besides root, use the command:

mail username@example.com.
Then look at the Message-ID field in the resulting message.

Jeff

Tertsi
05-13-2007, 05:37 AM
I now changed Message ID to <{uniqueid}@server.mitorahgames.com> because that seems to be right when php sends mail.

Now I get all my mail through to gmail but now the e-mails don't even make it to any hotmail inbox it seems!

What might have caused this is that my dedicated server provider now created reverse DNS lookup for 64.85.161.124 that points to server.mitorahgames.com but server.mitorahgames.com points to 64.85.161.123.
Do you think it would be better to get rid of this new reverse DNS lookup?

I now contacted Microsoft through the postmaster thing and we'll see.

Tertsi
05-13-2007, 06:33 AM
They replied that I must start with fixing the failed sections at:

http://private.dnsstuff.com/tools/dnsreport.ch?&domain=freesexdoor.com&token=plumisland

Some I don't think I can even fix!

Open DNS servers and Mail server host name in greeting issues I think I fixed but nothing has changed according to the tool at least not yet.

I have no clue on how to fix these:

No NS A records at nameservers

WARNING: Your nameservers do not include any corresponding A records when asked for your NS records. They probably are not returning the A records when asked, which can prevent some other DNS servers from contacting your DNS servers. They should do this if they are authoritative for those A records (in BIND, you should not use 'minimal-responses yes;'). The problem record(s) are:

Nameserver 64.85.161.124 did not provide any IPs
Nameserver 64.85.161.124 did not provide any IPs

Number of nameservers and Single Point of Failure I have only one server so what I can do about this?

nobaloney
05-13-2007, 10:46 AM
Open DNS servers and Mail server host name in greeting issues I think I fixed but nothing has changed according to the tool at least not yet.
Things will not get better with Microsoft servers instantly; it takes a while before they notice the changes.

No NS A records at nameservers
In the zone file for freesexdoor.com add zone files for ns1 and for ns2.

Number of nameservers and Single Point of Failure
I have only one server so what I can do about this?
You can of course buy slave DNS processing services, or get free slave DNS services from any of the DNS providers which offer them. But this will probably not keep your email from getting through if everything else is good.

Jeff

Tertsi
05-13-2007, 11:00 AM
In the zone file for freesexdoor.com add zone files for ns1 and for ns2.

You mean to the file /var/named/freesexdoor.com.db ?

If so, here is the file and I don't know what I need to add to it.



$TTL 14400
@ IN SOA ns2.freesexdoor.com. root.freesexdoor.com. (
2007051302
14400
3600
1209600
86400 )

freesexdoor.com. 14400 IN NS ns1.freesexdoor.com.
freesexdoor.com. 14400 IN NS ns2.freesexdoor.com.

freesexdoor.com. 14400 IN A 64.85.161.124
ftp 14400 IN A 64.85.161.124
fullmovies 14400 IN A 64.85.161.124
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 64.85.161.124
members 14400 IN A 64.85.161.124
pop 14400 IN A 64.85.161.124
www 14400 IN A 64.85.161.124
www.fullmovies 14400 IN A 64.85.161.124
www.members 14400 IN A 64.85.161.124

freesexdoor.com. 14400 IN MX 10 mail


124.161.85.64.in-addr.arpa 14400 IN PTR server.mitorahgames.com.

freesexdoor.com. 14400 IN TXT "v=spf1 a mx ip4:64.85.161.123 ?all"

By the way is it ok to have such a PTR record if server.mitorahgames.com has an A record to 64.85.161.124?

nobaloney
05-13-2007, 11:09 AM
Presuming you're running DirectAdmin you simply add ns1 and ns2 as two separate A records with the IP# 64.85.161.124 in the DNS section of your control panel.

If you're not running DirectAdmin then you create A records for both in the zone file you've posted; simply use the www line as a template but create two new lines, one with ns1 instead of www, and one with ns2 instead of www.

If you do it by directly editing the file, then be sure to also increment the long digit on line three of the file you've posted, and be sure to then restart BIND.

Jeff

Tertsi
05-13-2007, 11:19 AM
Done. :)
What would I be doing here if I wasn't running DirectAdmin. ;)


I think you missed this question:
By the way is it ok to have such a PTR record if server.mitorahgames.com has an A record to 64.85.161.124?

(On server.mitorahgames.com I have these records:
server.mitorahgames.com. 14400 IN A 64.85.161.123
server.mitorahgames.com. 14400 IN A 64.85.161.124
)

Tertsi
05-13-2007, 11:22 AM
This is looking great now (except for the low port thing which I believe is temporary): http://private.dnsstuff.com/tools/dnsreport.ch?&domain=freesexdoor.com&token=plumisland

Thank you for the awesome support.