Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-2009, 10:41 AM
Intermediate Member
 
Posts: 16
Exclamation Problems with attachments - they don't arrives

Hello, I have a problem (sometimes, not always) when I send a new email or when I forward some emails that contains attachments, email arrives but the attachment doesn't.
Here is some information about this:

Headers of the email to a zimbra account:

Code:
Return-Path: user@domain.com
Received: from zimbra.server (LHLO zimbra.server)
 (ip.zimbra.server) by zimbra.server with LMTP; Sat, 31 Jan 2009 14:41:58
 -0200 (ARST)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.server (Postfix) with ESMTP id E7D4651800F;
	Sat, 31 Jan 2009 14:41:57 -0200 (ARST)
X-Quarantine-ID: <myqWuciBsHw2>
X-Virus-Scanned: amavisd-new at zimbra.server
X-Amavis-Alert: BAD HEADER, MIME error: error: part did not end with expected
	boundary
Received: from zimbra.server ([127.0.0.1])
	by localhost (zimbra.server [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id myqWuciBsHw2; Sat, 31 Jan 2009 14:41:57 -0200 (ARST)
Received: by zimbra.server (Postfix, from userid 108)
	id F1E68518010; Sat, 31 Jan 2009 14:41:56 -0200 (ARST)
Received: from zimbra.server (zimbra.server [ip.zimbra.server])
	by zimbra.server (Postfix) with ESMTP id 196A451800F
	for <admin@domain.com>; Sat, 31 Jan 2009 14:41:56 -0200 (ARST)
Date: Sat, 31 Jan 2009 14:41:55 -0200 (ARST)
From: user@domain.com
To: admin <admin@domain.com>
Message-ID: <31263599.281233420115473.JavaMail.root@zimbra.server>
In-Reply-To: <26354489.1641233155136052.JavaMail.root@zimbra.server>
Subject: =?utf-8?Q?Fwd:_Luc=C3=ADa_ezcurra_8?=
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_11_32765695.1233420115468"
X-Originating-IP: [ip.zimbra.server]
X-Mailer: Zimbra 5.0.11_GA_2695.DEBIAN4.0 (ZimbraWebClient - FF3.0 (Win)/5.0.11_GA_2695.DEBIAN4.0)
X-Copyrighted-Material: Please visit http://www.domain.com
Headers of the same email to a gmail account:

Code:
Delivered-To: user@gmail.com
Received: by 10.140.172.16 with SMTP id u16cs33435rve;
        Sat, 31 Jan 2009 08:42:19 -0800 (PST)
Received: by 10.150.205.21 with SMTP id c21mr2428086ybg.175.1233420138314;
        Sat, 31 Jan 2009 08:42:18 -0800 (PST)
Return-Path: <user@domain.com>
Received: from external.server (external.server [ip.external.server])
        by mx.google.com with ESMTP id q26si4413574ele.5.2009.01.31.08.42.17;
        Sat, 31 Jan 2009 08:42:18 -0800 (PST)
Received-SPF: neutral (google.com: ip.external.server is neither permitted nor denied by best guess record for domain of user@domain.com) client-ip=ip.external.server;
Authentication-Results: mx.google.com; spf=neutral (google.com: ip.external.server is neither permitted nor denied by best guess record for domain of user@domain.com) smtp.mail=user@domain.com
Received: from localhost (localhost [127.0.0.1])
	by external.server (Postfix) with ESMTP id DEEA412B7A6
	for <user@gmail.com>; Sat, 31 Jan 2009 14:42:15 -0200 (ARST)
X-Quarantine-ID: <e+12ZDMZaKXa>
X-Virus-Scanned: amavisd-new at external.server
X-Amavis-Alert: BAD HEADER, MIME error: error: part did not end with expected
	boundary
Received: from external.server ([127.0.0.1])
	by localhost (external.server [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id e+12ZDMZaKXa for <user@gmail.com>;
	Sat, 31 Jan 2009 14:42:14 -0200 (ARST)
Received: from zimbra.server (unknown [ip.zimbra.server])
	by external.server (Postfix) with ESMTP id B756912B6D6
	for <user@gmail.com>; Sat, 31 Jan 2009 14:42:14 -0200 (ARST)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.server (Postfix) with ESMTP id 88EA151800F
	for <user@gmail.com>; Sat, 31 Jan 2009 14:42:14 -0200 (ARST)
X-Quarantine-ID: <GRDaevJ4VPyl>
X-Virus-Scanned: amavisd-new at zimbra.server
X-Amavis-Alert: BAD HEADER, MIME error: error: part did not end with expected
	boundary
Received: from zimbra.server ([127.0.0.1])
	by localhost (zimbra.server [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GRDaevJ4VPyl for <user@gmail.com>;
	Sat, 31 Jan 2009 14:42:13 -0200 (ARST)
Received: by zimbra.server (Postfix, from userid 108)
	id 3C7AB518010; Sat, 31 Jan 2009 14:42:13 -0200 (ARST)
Received: from zimbra.server (zimbra.server [ip.zimbra.server])
	by zimbra.server (Postfix) with ESMTP id F1F3151800F
	for <user@gmail.com>; Sat, 31 Jan 2009 14:42:11 -0200 (ARST)
Date: Sat, 31 Jan 2009 14:42:11 -0200 (ARST)
From: user@domain.com
To: user@gmail.com
Message-ID: <12419519.311233420131648.JavaMail.root@zimbra.server>
In-Reply-To: <26354489.1641233155136052.JavaMail.root@zimbra.server>
Subject: =?utf-8?Q?Fwd:_Luc=C3=ADa_ezcurra_8?=
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_12_25607280.1233420131643"
X-Originating-IP: [ip.zimbra.server]
X-Mailer: Zimbra 5.0.11_GA_2695.DEBIAN4.0 (ZimbraWebClient - FF3.0 (Win)/5.0.11_GA_2695.DEBIAN4.0)
X-Copyrighted-Material: Please visit http://www.domain.com
I think that was a problem with amavis, I try disabling it but I got the same result.
Also I try to add this:

Code:
@bypass_header_checks_maps = (1);
$bad_header_quarantine_to = undef;
$final_bad_header_destiny = D_PASS;
$defang_bad_header = 1;
to /opt/zimbra/conf/amavisd.conf.in , but again I got the same.

The version of zimbra is Open Sourcce 5.0.11 running in a Debian 4.0 distribution.

Thank you in advance
Reply With Quote
  #2 (permalink)  
Old 02-01-2009, 07:43 AM
Moderator
 
Posts: 7,911
Default

What type of attachment is it ? Have you checked /var/log/zimbra.log for any error messages ?
__________________
Reply With Quote
  #3 (permalink)  
Old 02-01-2009, 10:12 AM
Intermediate Member
 
Posts: 16
Default

The attachment is a .doc file (Microsoft Word).
I checked the zimbra.log and I see this

Code:
Jan 31 14:41:57 ns2 amavis[1022]: (01022-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090131T144157-01022: <user@domain.com> -> <externaluser@domain2.com>,<externaluser@domain2.com>,<admin@domain.com> SIZE=1460 Received: from zimbra.server ([127.0.0.1]) by localhost (zimbra.server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP; Sat, 31 Jan 2009 14:41:57 -0200 (ARST)
Jan 31 14:41:57 ns2 amavis[1022]: (01022-01) Checking: myqWuciBsHw2 <user@domain.com> -> <externaluser@domain2.com>,<externaluser@domain2.com>,<admin@domain.com>
Jan 31 14:41:57 ns2 amavis[1022]: (01022-01) WARN: MIME::Parser error: part did not end with expected boundary
Jan 31 14:41:57 ns2 postfix/pipe[1818]: 196A451800F: to=<externaluser@domain2.com>, orig_to=<admin@domain.com>, relay=dfilt, delay=1.2, delays=0.1/0.03/0/1.1, dsn=2.0.0, status=sent (delivered via dfilt service)
Jan 31 14:41:57 ns2 postfix/pipe[1818]: 196A451800F: to=<admin@domain.com>, relay=dfilt, delay=1.2, delays=0.1/0.03/0/1.1, dsn=2.0.0, status=sent (delivered via dfilt service)
Jan 31 14:41:57 ns2 postfix/qmgr[32278]: 196A451800F: removed
Jan 31 14:41:57 ns2 slapd[22939]: conn=5709 op=4 SRCH base="" scope=2 deref=2 filter="(&(objectClass=amavisAccount)(|(mail=user@domain.com)(mail=@domain.com)(mail=@.domain.com)(mail=@.org)(mail=@.)))"
Jan 31 14:41:57 ns2 slapd[22939]: conn=5709 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jan 31 14:41:57 ns2 amavis[1022]: (01022-01) local delivery: <> -> <bad-header-quarantine>, mbx=/opt/zimbra/data/amavisd/quarantine/badh-myqWuciBsHw2
Jan 31 14:41:57 ns2 postfix/smtpd[1489]: connect from localhost[127.0.0.1]
And then, this

Code:
Jan 31 14:41:58 ns2 slapd[22939]: conn=5708 op=50 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jan 31 14:41:58 ns2 amavis[1022]: (01022-01) FWD via SMTP: <user@domain.com> -> <externaluser@domain2.com>,<externaluser@domain2.com>,<admin@domain.com>,BODY=7BIT 250 2.6.0 Ok, id=01022-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E7D4651800F
Jan 31 14:41:58 ns2 amavis[1022]: (01022-01) Passed BAD-HEADER, [ip.zimbra.server] <user@domain.com> -> <externaluser@domain2.com>,<externaluser@domain2.com>,<admin@domain.com>, quarantine: badh-myqWuciBsHw2, Message-ID: <31263599.281233420115473.JavaMail.root@zimbra.server>, mail_id: myqWuciBsHw2, Hits: -102.326, size: 1460, queued_as: E7D4651800F, 1035 ms
Jan 31 14:41:58 ns2 postfix/smtp[1486]: F1E68518010: to=<externaluser@domain2.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.47/0/0.02/1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E7D4651800F)
Jan 31 14:41:58 ns2 postfix/smtp[1486]: F1E68518010: to=<externaluser@domain2.com>, orig_to=<admin@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.47/0/0.02/1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E7D4651800F)
Jan 31 14:41:58 ns2 postfix/smtp[1486]: F1E68518010: to=<admin@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.47/0/0.02/1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E7D4651800F)
Jan 31 14:41:58 ns2 postfix/qmgr[32278]: F1E68518010: removed
Jan 31 14:41:58 ns2 amavis[1022]: (01022-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
Jan 31 14:41:58 ns2 postfix/smtpd[1489]: disconnect from localhost[127.0.0.1]
Jan 31 14:41:58 ns2 postfix/smtp[1837]: E7D4651800F: to=<externaluser@domain2.com>, relay=ip.external.server[ip.external.server]:25, delay=0.37, delays=0.05/0.05/0.05/0.21, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2506612B6D6)
Jan 31 14:41:58 ns2 postfix/smtp[1837]: E7D4651800F: to=<externaluser@domain2.com>, relay=ip.external.server[ip.external.server]:25, delay=0.37, delays=0.05/0.05/0.05/0.21, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2506612B6D6)
Jan 31 14:41:58 ns2 postfix/lmtp[1490]: E7D4651800F: to=<admin@domain.com>, relay=zimbra.server[ip.zimbra.server]:7025, delay=0.38, delays=0.05/0.04/0.1/0.2, dsn=2.1.5, status=sent (250 2.1.5 OK)
Jan 31 14:41:58 ns2 postfix/qmgr[32278]: E7D4651800F: removed
Would you like a copy of the zimbra.log file?
Reply With Quote
  #4 (permalink)  
Old 02-03-2009, 04:57 AM
Intermediate Member
 
Posts: 16
Default

Any idea?

thanx!
Reply With Quote
  #5 (permalink)  
Old 02-03-2009, 05:05 AM
Moderator
 
Posts: 7,911
Default

Looking at the headers I see
Code:
BAD HEADER, MIME error: error: part did not end with expected boundary
which to me sounds like the email is being munged. Does this happen on both inbound and outbound emails ? Are you emails going through a firewall or anything like that ?
__________________
Reply With Quote
  #6 (permalink)  
Old 02-03-2009, 05:42 AM
Intermediate Member
 
Posts: 16
Default

It only happens in outbound emails. There isn't a firewall betwen the emails. The email that I send is local, it never go out to internet.
Reply With Quote
  #7 (permalink)  
Old 02-04-2009, 06:36 PM
Intermediate Member
 
Posts: 16
Default

Sorry about that again, but, is anybody knows what can I do with this?
Reply With Quote
  #8 (permalink)  
Old 02-05-2009, 01:00 AM
Moderator
 
Posts: 7,911
Default

Are you able to replicate this or is it just sporadic ? When it does happen if you send the same document again will it do the same thing ? Just wondering whether it is something in the document though the error message would imply some sort of communication issue due to the MIME element being chopped off.
__________________
Reply With Quote
  #9 (permalink)  
Old 02-13-2009, 06:01 AM
Intermediate Member
 
Posts: 16
Default

Oops, the last reply don't come to my email.. sorry for the late

It's really extrange, I try again with the same attachment and now, it works.
Thanks for all the help, if I find another problem, I post it again.

Regards.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.