Results 1 to 9 of 9

Thread: Problems with attachments - they don't arrives

  1. #1
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    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

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    What type of attachment is it ? Have you checked /var/log/zimbra.log for any error messages ?

  3. #3
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    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?

  4. #4
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    Default

    Any idea?

    thanx!

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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 ?

  6. #6
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    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.

  7. #7
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    Default

    Sorry about that again, but, is anybody knows what can I do with this?

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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.

  9. #9
    Join Date
    Dec 2007
    Posts
    16
    Rep Power
    7

    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.

Similar Threads

  1. Problems with large attachments
    By ldomingues in forum Zimbra Connector for Outlook
    Replies: 0
    Last Post: 12-22-2008, 03:12 PM
  2. Replies: 5
    Last Post: 08-05-2008, 11:25 AM
  3. Problems with Blackberry Attachments
    By Tim G in forum Zimbra Mobile
    Replies: 0
    Last Post: 05-07-2007, 07:56 AM
  4. Problems with attachments and Outlook
    By bjdraw in forum Administrators
    Replies: 9
    Last Post: 09-27-2006, 08:23 AM
  5. Drag email to calendar and attachments
    By Richard in forum Users
    Replies: 2
    Last Post: 09-14-2006, 01:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •