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
====
Hi Zhang,
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[25008]: 53FFC13EBA: to=<ana@sbtagent94.info>, relay=aspmx.l.google.com[173.194.64.27]: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 173.194.64.27."
- The message you sent to email 'samlevin@googleappsaddr.net' and it's delivered, shows the following information in the mail log:
Jan 27 20:56:46 node postfix/smtp[28904]: 4698113AFB: to=<
samlevin@googleappsaddr.net>, 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[23354]: 4698113AFB: removed
Jan 27 20:56:46 node postfix/pipe[28909]: C931C13E93: to=<
samlevin@googleappsaddr.net>, relay=dovecot, delay=0.05,
delays=0.01/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot
service)
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[173.194.64.27]
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.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.