[exim] Forwarding mail to gmail.com -- Broken pipe

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Egor Ermakov
Data:  
Para: exim-users
Assunto: [exim] Forwarding mail to gmail.com -- Broken pipe
Hello all,

I`ve got next exim:

>exim -bV

Exim version 4.63 #0 (FreeBSD 6.1) built 24-Oct-2006 09:40:41
Copyright (c) University of Cambridge 2006
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() IPv6 use_setclassresources PAM Perl OpenSSL Content
_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch
nis nis0 passwd
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /usr/local/etc/exim/configure

running on FreeBSD-6.1-p10

Exim handles several virtual mailboxes, mail from which is delivered
to local users + forwarded to some external mail addresses. And here i
got problems with forwarding message to gmail.com mailboxes. Main exim
log shows broken pipe error, trying to deliver this message using exim
-d+all -M messageId shows this:

21:43:39 69670 Connecting to alt1.gmail-smtp-in.l.google.com
[72.14.205.27]:25 from 212.113.104.1 ... connected
21:43:39 69670 waiting for data on socket
21:43:39 69670 read response data: size=41
21:43:39 69670   SMTP<< 220 mx.google.com ESMTP e17si1829990qbe
21:43:39 69670 72.14.205.27 in hosts_avoid_esmtp? no (option unset)
21:43:39 69670   SMTP>> EHLO smtp.(our_real_domain).net
21:43:39 69670 waiting for data on socket
21:43:39 69670 read response data: size=110
21:43:39 69670   SMTP<< 250-mx.google.com at your service, [212.113.104.1]
21:43:39 69670          250-SIZE 20971520
21:43:39 69670          250-8BITMIME
21:43:39 69670          250 ENHANCEDSTATUSCODES
21:43:39 69670 72.14.205.27 in hosts_require_tls? no (option unset)
21:43:39 69670 not using PIPELINING
21:43:39 69670 72.14.205.27 in hosts_require_auth? no (option unset)
21:43:39 69670   SMTP>> MAIL FROM:<root@smtp.(our_real_domain).net> SIZE=1180892
21:43:39 69670 waiting for data on socket
21:43:41 69670 read response data: size=8
21:43:41 69670   SMTP<< 250 OK
21:43:41 69670   SMTP>> RCPT TO:<tucker102@???>
21:43:41 69670 waiting for data on socket
21:43:41 69670 read response data: size=14
21:43:41 69670   SMTP<< 250 2.1.5 OK
21:43:41 69670   SMTP>> DATA
21:43:41 69670 waiting for data on socket
21:43:42 69670 read response data: size=14
21:43:42 69670   SMTP<< 354 Go ahead
21:43:42 69670   SMTP>> writing message and terminating "."
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:42 69670 writing data block fd=8 size=8189 timeout=300
21:43:43 69670 writing data block fd=8 size=8189 timeout=300
21:43:51 69670 writing data block fd=8 size=8189 timeout=300
21:43:51 69670 writing data block fd=8 size=8189 timeout=300
21:43:51 69670 writing data block fd=8 size=8189 timeout=300
21:43:52 69670 writing data block fd=8 size=8189 timeout=300
21:43:52 69670 writing data block fd=8 size=8189 timeout=300
21:43:52 69670 writing data block fd=8 size=8189 timeout=300
21:43:53 69670 writing data block fd=8 size=8189 timeout=300
21:43:53 69661 selecting on subprocess pipes
21:43:54 69670 writing data block fd=8 size=8189 timeout=300
21:43:54 69670 writing data block fd=8 size=8189 timeout=300
21:43:54 69670 writing data block fd=8 size=8189 timeout=300
21:43:57 69670 writing data block fd=8 size=8189 timeout=300
21:43:57 69670 writing data block fd=8 size=8189 timeout=300
21:44:00 69670 writing data block fd=8 size=8189 timeout=300
21:44:19 69670 writing error 32: Broken pipe
21:44:19 69670 ok=0 send_quit=0 send_rset=1 continue_more=0 yield=1
first_address is NULL
21:44:19 69670 LOG: MAIN
21:44:19 69670   alt1.gmail-smtp-in.l.google.com [72.14.205.27]: Broken pipe


It usually happens with medium and large message (letter with size
less than 100kb is always delivered). As i can see from logs, first
portion of data goes in instant and then delay appears. It may look at
network problem, but there is 2 things:

1. Downloading/uploading large files from/to our SMTP server (via
HTTP/FTP) is working fine. (no problems with 100Mb files)
2. Before Exim, sendmail was used as MTA and i was told that
forwarding to gmail of any messages were working properly.

Do you have any ideas about this issue or any ways that can help to
dig it and figure the problem?

----
Best regards,
Egor Ermakov