Topic: Unable to send mail to google mail.
Hi,
I configure SPF and DKIM and i can't send mail to google.com
Command: dig -t txt example.com return TXT records.
Command: amavisd testkeys return pass
nslookup example.com return me ip address and nslookup ip_address return example.com
I have freeBSD 8.2 and Iredmail 0.7.2 on LDAP
hostname: ns2.example.com
command: hostname -f return ns2.example.com
My example.com files:
$ORIGIN example.com.
$TTL 3600
@ 1D IN SOA @ michal.example.com (
2012012001
360
900
3600000
3600
)
@ IN NS ns2.example.com.
IN MX 10 ns2.example.com.
@ IN A 1.2.3.4
ns2 IN A 1.2.3.4
example.com. IN TXT "v=spf1 ip4:1.2.3.4/32 -all"
example.com. IN SPF "v=spf1 ip4:1.2.3.4/32 -all"
ns2 IN TXT "v=spf1 ip4:1.2.3.4 -all"
ns2 IN SPF "v=spf1 ip4:1.2.3.4 -all"
dkim._domainkey.example.com. IN TXT (
"v=DKIM1; p="
"here is the secret key"
"....."
"....."
"....")
www IN CNAME example.com.
When I sent mail to google mail, google said:
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
<greatnet.pl@gmail.com>: host gmail-smtp-in.l.google.com[173.194.65.26] said:
550-5.7.1 [1.2.3.4] The IP you're using to send mail is not authorized
to 550-5.7.1 send email directly to our servers. Please use the SMTP relay
at your 550-5.7.1 service provider instead. Learn more at
550 5.7.1 http://support.google.com/mail/bin/answer.py?answer=10336
t47si1292564eeb.67 (in reply to end of DATA command)
When I sent mail to another mail side (for example: wp.pl or example.com) message go good.
Please help.
Best Regards
Michał==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version:
- iRedMail version and backend (LDAP/MySQL):
- Any related log? Log is helpful for troubleshooting.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.