1

Topic: Help: Only not receive email from gmail.com

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.9.0  released on Dec 31, 2014
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Linux/BSD distribution name and version:DEBIAN 7 (Wheezy) AMD64
- Related log if you're reporting an issue:
Feb 17 11:01:26 mail postfix/smtpd[1970]: NOQUEUE: reject: RCPT from mail-ob0-x2                                                                                        2f.google.com[2607:f8b0:4003:c01::22f]: 450 4.7.1 <josemaria@micoli.net.br>: Rec                                                                                        ipient address rejected: Access denied; from=<josemariamicoli@gmail.com> to=<jos                                                                                        emaria@micoli.net.br> proto=ESMTP helo=<mail-ob0-x22f.google.com>
====

My server send emails to every domains gmail, hotmail, outlook, etc. and receive emails from hotmail, outlook, forum subscriptions, etc, but only not receive from gmail.

PS: My server is configured with: Valid SSL Cert, Full qualified domain name, static valid ip and MX-A register in DNS server. The host machine is  a ssd cloud vps (Linode)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Help: Only not receive email from gmail.com

Did you just install your server? Maybe gmail DNS servers have not update to reflect your new MX record yet.

3

Re: Help: Only not receive email from gmail.com

schnappi wrote:

Did you just install your server? Maybe gmail DNS servers have not update to reflect your new MX record yet.

I had not thought in time to spread the dns. I'll wait a few more days and test again (installed server to 9 days put the dns updated a few days) if work give feedback here. thank you.

4

Re: Help: Only not receive email from gmail.com

Hello I'm back, already makes several days and i discard the chance to be problem associated with propagation of dns. The gmail its saying: 450 4.7.1 <josemaria@micoli.net.br>: Recipient address rejected: Access denied and this is the print of my output of command cat /var/log/mail.log | grep gmail the last lines...

Feb 25 20:54:34 mail postfix/smtpd[29121]: NOQUEUE: reject: RCPT from mail-oi0-x                                                                                        22b.google.com[2607:f8b0:4003:c06::22b]: 450 4.7.1 <josemaria@micoli.net.br>: Re                                                                                        cipient address rejected: Access denied; from=<josemariamicoli@gmail.com> to=<jo                                                                                        semaria@micoli.net.br> proto=ESMTP helo=<mail-oi0-x22b.google.com>
Feb 25 21:37:02 mail postfix/smtpd[29943]: NOQUEUE: reject: RCPT from unknown[17                                                                                        8.32.47.104]: 504 5.5.2 <WIN-KOTNJBNPTIR>: Helo command rejected: need fully-qua                                                                                        lified hostname; from=<mail@micoli.net.br> to=<totsmtp@gmail.com> proto=ESMTP he                                                                                        lo=<WIN-KOTNJBNPTIR>

5

Re: Help: Only not receive email from gmail.com

Please show us output of command "postconf -n".

6

Re: Help: Only not receive email from gmail.com

ZhangHuangbin wrote:

Please show us output of command "postconf -n".

Hi this is the output of the command postconf -n:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 4h
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 0
maximal_backoff_time = 4000s
maximal_queue_lifetime = 4h
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = micoli.net
myhostname = mail.micoli.net.br
mynetworks = 127.0.0.0/8
mynetworks_style = host
myorigin = mail.micoli.net.br
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:pgsql:/etc/postfix/pgsql/recipient_bcc_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/recipient_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:pgsql:/etc/postfix/pgsql/relay_domains.cf
relayhost =
sender_bcc_maps = proxy:pgsql:/etc/postfix/pgsql/sender_bcc_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/sender_bcc_maps_domain.cf
smtp-amavis_destination_recipient_limit = 1
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_loglevel = 0
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2 !SSLv3
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031,
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:pgsql:/etc/postfix/pgsql/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/micoli.net.br.crt.crt
smtpd_tls_key_file = /etc/ssl/private/micoli.net.br.key
smtpd_tls_loglevel = 0
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = proxy:pgsql:/etc/postfix/pgsql/transport_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/transport_maps_domain.cf
virtual_alias_domains =
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql/virtual_alias_maps.cf, proxy:pgsql:/etc/postfix/pgsql/domain_alias_maps.cf, proxy:pgsql:/etc/postfix/pgsql/catchall_maps.cf, proxy:pgsql:/etc/postfix/pgsql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql/virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000

7

Re: Help: Only not receive email from gmail.com

No idea what may be causing the error?

8

Re: Help: Only not receive email from gmail.com

I am having the same problem , exactly same issue

Mar  5 13:46:20 mail postfix/smtpd[4619]: connect from mail-we0-x22f.google.com[2a00:1450:400c:c03::22f]
Mar  5 13:46:20 mail postfix/smtpd[4619]: NOQUEUE: reject: RCPT from mail-we0-x22f.google.com[2a00:1450:400c:c03::22f]: 450 4.7.1 <karan@leafbird.in>: Recipient address rejected: Access denied; from=<karanpreet007@gmail.com> to=<karan@leafbird.in> proto=ESMTP helo=<mail-we0-x22f.google.com>
Mar  5 13:46:20 mail postfix/smtpd[4619]: disconnect from mail-we0-x22f.google.com[2a00:1450:400c:c03::22f]

Could somebody help ??

9

Re: Help: Only not receive email from gmail.com

Sorry about my late reply.

I cannot figure it out with pasted log, need further debug with remote ssh login if possible.

10

Re: Help: Only not receive email from gmail.com

Ok i understand, i have no problems give ssh access for you on my server. The only question is: How can i send IP, user and password for you?

Thanks a lot for all this help.

11

Re: Help: Only not receive email from gmail.com

Hi Zhang,

I'm having the very same issue - however, Gmail says that they couldn't find the email. Yahoo and other services send email perfectly fine. But I'll wait one more day to see if this is a propagation issue..

This is what Gmail says:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain xxx.com by aspmx.l.google.com. [2607:f8b0:4001:c0d::1b].

The error that the other server returned was:
550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1  https://support.google.com/mail/answer/6596 q9si19473483igh.78 - gsmtp

12

Re: Help: Only not receive email from gmail.com

Hi chrisbjr,

Please make sure you have correct A/MX DNS records for your mail domain.