Topic: iRedMail unable to send mail to Google Apps
==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: deb 7
- Related log if you're reporting an issue: attached
iRedMail cannot send email to my google apps account. I must send notifications to google apps from my server. It says the message is sent, but I've confirmed with google apps support that the message isn't being received. (Thus it is not being blocked by their spam system. I've also added my server ip to the google apps white list and as a gateway just in case).
Here are two logs from my mail server: one sends mail successfully to a test account and the other is a mail sent to my own gApps account which is failing. Take a look:
The message you sent to my test account and it was delivered to my Inbox has the following information in the mail log:
Feb 3 01:17:01 node postfix/smtp: 53FFC13EBA: to=<email@example.com>, relay=aspmx.l.google.com[18.104.22.168]:25,delay=1.5, delays=0/0.01/0.27/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK1391408221 b6si3485695oem.31 - gsmtp)
Messages are delivered to the server aspmx.l.google.com, IP address 22.214.171.124."
- The message you sent to email 'firstname.lastname@example.org' and it's delivered, shows the following information in the mail log:
Jan 27 20:56:46 node postfix/smtp: 4698113AFB: to=<
email@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.6,
delays=1.3/0.01/0/0.32, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as C931C13E93)
Jan 27 20:56:46 node postfix/qmgr: 4698113AFB: removed
Jan 27 20:56:46 node postfix/pipe: C931C13E93: to=<
firstname.lastname@example.org>, relay=dovecot, delay=0.05,
delays=0.01/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot
Message has a status of sent but in the first line doesn't specify to which server or IP address and then informs that was delivered to Dovecot.
In the first log, which is working; relay=aspmx.l.google.com[126.96.36.199]
In the second log, where I send mail to my googleappsaddr,net, relay=dovecot
Why? My google apps email server does not run dovecot. Why is iRedMail doing this?
Thank you so much, I'm going crazy.
Get fast and professional support from iRedMail developers: