Topic: Mail from gmail is rejected but others are accepted
==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Ubuntu 14.04.2 LTS
- Related log if you're reporting an issue: /var/log/mail.log
====
Hi,
I can send emails to all providers (including gmail) but cannot receive emails from gmail (all others tested are fine). I have disabled greylisting. Here are examples of my mail.log showing examples of mail accepted and gmail rejected (addressed redacted).
accepted (live.com, hotmail.com, several independent servers, all similar response):
Mar 17 19:17:57 mx postfix/smtpd[6294]: connect from [REDACTED]
Mar 17 19:17:58 mx postfix/smtpd[6294]: 26B68183CB: client=[REDACTED]
Mar 17 19:17:59 mx postfix/cleanup[6300]: 26B68183CB: message-id=[REDACTED]
Mar 17 19:17:59 mx postfix/qmgr[3910]: 26B68183CB: from [REDACTED], size=1556, nrcpt=1 (queue active)
Mar 17 19:17:59 mx postfix/smtpd[6294]: disconnect from [REDACTED]
Mar 17 19:18:00 mx postfix/smtpd[6307]: connect from [REDACTED]
Mar 17 19:18:00 mx postfix/smtpd[6307]: 4C26518404: client=[REDACTED]
Mar 17 19:18:00 mx postfix/cleanup[6300]: 4C26518404: message-id=[REDACTED]
Mar 17 19:18:00 mx postfix/qmgr[3910]: 4C26518404: from=[REDACTED], size=2060, nrcpt=1 (queue active)
Mar 17 19:18:00 mx postfix/smtpd[6307]: disconnect from [REDACTED]
Mar 17 19:18:00 mx amavis[3413]: (03413-01) Passed CLEAN {RelayedInternal}, MYUSERS LOCAL [REDACTED]
[REDACTED] -> [REDACTED], Queue-ID: 26B68183CB, Message-ID: [REDACTED], mail_id: Wk7hjk4iLKvd, Hits: -0.11, size: 1556, queued_as: 4C26518404, dkim_sd=dkim:[REDACTED], 1100 ms
Mar 17 19:18:00 mx postfix/smtp[6302]: 26B68183CB: to=[REDACTED], relay=127.0.0.1[127.0.0.1]:10024, delay=2.7, delays=1.5/0.02/0.03/1.1, 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 4C26518404)
Mar 17 19:18:00 mx postfix/qmgr[3910]: 26B68183CB: removed
Mar 17 19:18:00 mx postfix/pipe[6308]: 4C26518404: to=[REDACTED], relay=dovecot, delay=0.07, delays=0.01/0.02/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar 17 19:18:00 mx postfix/qmgr[3910]: 4C26518404: removed
rejected (only gmail, gmail hostnames vary slightly, but message is same):
Mar 17 19:17:21 mx postfix/smtpd[6294]: connect from mail-qc0-x236.google.com[2607:f8b0:400d:c01::236]
Mar 17 19:17:21 mx postfix/smtpd[6294]: NOQUEUE: reject: RCPT from mail-qc0-x236.google.com[2607:f8b0:400d:c01::236]: 450 4.7.1 [REDACTED]: Recipient address rejected: Access denied; from=<[REDACTED]@gmail.com> to=[REDACTED] proto=ESMTP helo=<mail-qc0-x236.google.com>
I have googled everywhere as to whitelisting gmail.com, but I understand you can no longer whitelist a domain in this version (IPs only). Please confirm this. I have also tried adding 0.0.0.0/0 and ::/0 to whitelists in mail.myserver.com/cluebringer and restarted postfix-cluebringer, but the results stay the same.
Let me know if there is any more information I can provide.
Thanks,
Tom G
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.