postalserver / postal

📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail
https://postalserver.io
MIT License
14.64k stars 1.03k forks source link

SPF didn't pass in mails #496

Closed Manishjodhani closed 6 years ago

Manishjodhani commented 6 years ago

Hi, I have verfied spf and dkim but when i send the mails and check they pass or not. Dkim is passed but spf none. How to solve this problem?? Received-SPF: none (zoho.com: 101.259.12.282 is neither permitted nor denied by domain of postal.example.com) You can also check the attachments. screenshot from 2018-02-13 14 35 59

willpower232 commented 6 years ago

Make sure that the domain names mentioned in your SPF records exist and that one of them relates to the IP address of the server.

(Your screenshot doesn't really hide the domain names you're using so I can tell you that the domain name in your SPF record has no IP address when I use nslookup on it)

Manishjodhani commented 6 years ago

Ok i will provide you my domain and ip pools.

Manishjodhani commented 6 years ago

I using this ip pools ip4:145.239.22.192/27 ip4:54.38.131.224/27 and my postal hostname : rmta.gonode.tech. my sender domain : rccess.tech. Have a look in screenshots. http://prntscr.com/ie1m3t

Manishjodhani commented 6 years ago

please tell me soon sir..???

willpower232 commented 6 years ago

The SPF record for rccess.tech links to spf.rmta.gonode.tech

image

BUT there are currently no records for spf.rmta.gonode.tech so thats probably where you're going wrong.

image

Make sure you have created all the main records as per https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration

Manishjodhani commented 6 years ago

v=spf1 a mx include:spf.rmta.gonode.tech ~all i have add this record in gonode.tech.....but still not pass the spf. So, please can you this check again.

willpower232 commented 6 years ago

spf.rmta.gonode.tech doesn't exist, it needs to exist otherwise your SPF record is pointless

Manishjodhani commented 6 years ago

I have add the record it will take time.I will update you. can you tell me that how can i remove mails id from suppression list.

Manishjodhani commented 6 years ago

I have updated the record but still. Spf did not pass. check the screenshot http://prntscr.com/ie2slr

willpower232 commented 6 years ago

spf.rmta.gonode.tech doesn't exist, it needs to exist otherwise your SPF record is pointless

Manishjodhani commented 6 years ago

Please check once again. I have done the update records. And please take a look in screen shot. screenshot_1

willpower232 commented 6 years ago

Thats slightly better but the record needs to include your IP addresses, NOT the record.

Manishjodhani commented 6 years ago

please check after the include ip addresses but still no progress, spf did not pass. screenshot_3 screenshot_2 here my sender domain is hostcot.com and my postal host name is rmta.gonode.tech please check where i was going wrong.

Manishjodhani commented 6 years ago

Please check it ASAP. Please Sir.

willpower232 commented 6 years ago

You need to remove include:spf.rma.gonode.tech as it makes no sense when the record has the same name.

willpower232 commented 6 years ago

hostcot.com -> "v=spf1 a mx include:spf.rmta.gonode.tech ~all"

spf.rmta.gonode.tech -> "v=spf1 ip4:145.239.22.192/27 ip4:54.38.131.224/27 ~all"

Manishjodhani commented 6 years ago

i have done as you said but still no progress.

willpower232 commented 6 years ago

Can you send a screenshot of the SPF error you are receiving?

Manishjodhani commented 6 years ago

Here you can see what i have done

screenshot_4

screenshot of my mail box http://i.prntscr.com/bUWSF8PdQDi-fB1UmY-EEw.png

Manishjodhani commented 6 years ago

Can you rectify what are thing i'm missing??

alexroosenstein commented 6 years ago

Make sure you also add a SPF record for rp.rmta.gonode.tech.

Manishjodhani commented 6 years ago

@alexroosenstein

Yes, i try what you said but still no progress

have a look in screenshot

screenshot_5

alexroosenstein commented 6 years ago

Could you paste the latest email headers?

Manishjodhani commented 6 years ago

have a look @alexroosenstein . screenshot_7

alexroosenstein commented 6 years ago

My bet is now that there's some sort of cache, try again in an hour or so, it should be resolved then.

igerzog commented 6 years ago

You have a mistake! In some places I see gonode.tech and somewhere - gondoe.tech

Manishjodhani commented 6 years ago

Thanks @igerzog

willpower232 commented 6 years ago

That typo came from https://github.com/atech/postal/issues/496#issuecomment-365548588 so just give it some time for gmail to update itself and that should be that.

willpower232 commented 6 years ago

Oh wait thats the settings in Postal, can you double check all the gonode's in your Postal and make sure they aren't gondoe's?

Manishjodhani commented 6 years ago

Thanks @willpower232 now it working...:)