When I try to send email from my miab server to gmail (user@gmail.com) account i get this error but for other accounts like hotmail etc i am not getting this error
Full Header:-
This is the mail system at host box.capwell.nl.
I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<ahmedwaleed11599@gmail.com>: host gmail-smtp-in.l.google.com[2a00:1450:4013:c01::1b] said: 550-5.7.1
[2a01:7c8:d003:472:5054:ff:fe89:2105] Our system has detected that
550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
550-5.7.1 records and authentication. Please review 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more information 550
5.7.1 . b23si4801906eju.283 - gsmtp (in reply to end of DATA command)
Final-Recipient: rfc822; ahmedwaleed11599@gmail.com
Original-Recipient: rfc822;ahmedwaleed11599@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [2a01:7c8:d003:472:5054:ff:fe89:2105] Our
system has detected that 550-5.7.1 this message does not meet IPv6 sending
guidelines regarding PTR 550-5.7.1 records and authentication. Please
review 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more
information 550 5.7.1 . b23si4801906eju.283 - gsmtp
@alento after setting rdns record for ipv6 its working but when i see another issue i am using stmp settings in my code to send email through miab server when i send email form my localhost its working but when i send from production (vps) its says connection cannot established, btw i have mail ports enable for firewall. I am using transip vps.
Hi @alento thanks, i got it resolve, i had a wrong entry in rdns so by removing that it worked.
Now there is a new issue all my emails goes to spam folder i already add all the external dns records from miab to my dns settings including dkim records as well but my all messages end up in spam folder, but when i validate my domain in some online dkim validator its says invalid dkim key etc.
From first glance, it appears that you are using MiaB to send email but not receive … is this correct? Please advise what you are attempting to do as the setup shown is not usual for a simple MiaB install.
You cannot use include box.capwell.nl because you are not publishing a SPF record for the box subdomain.
Also, I attempted to do a nslookup for box.capwell.nl and it returned NXDOMAIN for some reason. Have you made changes from the images? I confirmed the MiaB IP via telnet.
Also, I attempted to do a nslookup for box.capwell.nl and it returned NXDOMAIN for some reason. Have you made changes from the images? I confirmed the MiaB IP via telnet.
Yes i did but reverted those changes you can check now, I also updated spf record to ip as you have mentioned above but i still getting email in spam folder
Spam folder where? If Gmail, c’est la vie. They will probably spam you for a while due to them being Google. Seriously, if you sent more than 1 or 2 test emails to them without the correct spf you are on their list.
v=spf1 ip4 136.144.217.188 include:mailgun.org include:eu.mailgun.org include:_spf.google.com ~all @alento Here you can see I copy-pasted the value you mentioned.
Can you insure that there is only one space between ‘ip4’ and ‘136.144.217.188’ and that there are no extraneous spaces at the end of the record?
Ugh, I am sorry … I wasn’t feeling well when I wrote earlier and I left out the : I rarely write SPF records using the IP and when I looked it up I could have sworn that it had a space rather than a colon - which I thought was wierd at the time but …
Let me give some technical explanation … the SPF record the way that you had it in the beginning was technically correct BUT you were missing the SPF record for the subdomain box. I could have (and probably should have) instructed you to add a SPF record for box that looked like v=spf1 a ~all but I did not instruct you to do that because SPF records allow a maximum of 10 DNS lookups nested within them - your current record has 9 and doing what I just mentioned would have put you at 10. So, I chose to save the lookup – perhaps not the best choice in hindsight.
@alento it worked now emails are going right into inbox, i don’t know how can i thank you its my second thread on miab forum and man you were very kind and helpful thanks alot and if you have patreon pls share just want to thank for your hardwork.