I have some customers who forward their incoming email from an alias to gmail which has worked in the past, but since release 62, something is has changed.
The exact scenario is that the email is sent to an address at a domain hosted by us, but it is not a mailbox, just a direct forward to a gmail account. When sending to gmail, we see timeouts like this:
If I manually try to deliver the email in Mail Queue Manager, I see this:
Nothing happens at all after that last BDAT command. It just times out. It seems like something is blocking the data from going out, or an ack coming back. I do use mailscanner and csf, but I've disabled both of those and still can't send successfully.
I've tried enabling SRS, but that didn't work. I don't use DKIM verification at all.
This only happens for users who forward to gmail from an alias. All other email to and from gmail works fine.
I'm out of ideas honestly. I think it might have something to do with exim's CHUNKING support, but I can't seem to disable that in the exim configuration manager. Is there a way to disable that so I can confirm if that's the problem?
The exact scenario is that the email is sent to an address at a domain hosted by us, but it is not a mailbox, just a direct forward to a gmail account. When sending to gmail, we see timeouts like this:
Code:
2017-02-09 03:55:04 1cbJVD-0004zc-1T == [email protected] ([email protected]) <[email protected]> R=lookuphost T=remote_smtp defer (110): Connection timed out H=alt4.gmail-smtp-in.l.google.com [74.125.192.26]: SMTP timeout after end of data (69349 bytes written)
Code:
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -M 1cbJVD-0004zc-1T
delivering 1cbJVD-0004zc-1T
LOG: MAIN
SMTP connection identification D=domainhostedbyme.com [email protected] [email protected] M=1cbJVD-0004zc-1T U=username ID=559 B=redirect_resolver
LOG: MAIN
=> discarded <[email protected]> R=has_alias_but_no_mailbox_discarded_to_prevent_loop
Connecting to gmail-smtp-in.l.google.com [64.233.188.26]:25 from myserver.ip ... connected
SMTP<< 220 mx.google.com ESMTP f4si8166997pgc.224 - gsmtp
SMTP>> EHLO myserver.com
SMTP<< 250-mx.google.com at your service, [myserver.ip]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO myserver.com
SMTP<< 250-mx.google.com at your service, [myserver.ip]
250-SIZE 157286400
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
SMTP>> MAIL FROM:<[email protected]> SIZE=69814
SMTP>> RCPT TO:<[email protected]>
will write message using CHUNKING
SMTP>> BDAT 3740
SMTP<< 250 2.1.0 OK f4si8166997pgc.224 - gsmtp
SMTP<< 250 2.1.5 OK f4si8166997pgc.224 - gsmtp
SMTP<< 250 2.0.0 OK f4si8166997pgc.224 - gsmtp
SMTP>> BDAT 65624 LAST
LOG: MAIN
SMTP timeout after end of data (69347 bytes written): Connection timed out
SMTP(close)>>
I've tried enabling SRS, but that didn't work. I don't use DKIM verification at all.
This only happens for users who forward to gmail from an alias. All other email to and from gmail works fine.
I'm out of ideas honestly. I think it might have something to do with exim's CHUNKING support, but I can't seem to disable that in the exim configuration manager. Is there a way to disable that so I can confirm if that's the problem?