Re: Corrupt attachements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Please don't top post.  Please read the mailing list posting
> guidelines before posting again.  Thanks.
>
>>> We have a Centos 5.4 system with squirrelmail 1.4.20. The system
>>> appears
>>> to be working well except I have two users complaining all/some
>>> downloads
>>> are corrupt. If the same email is sent to their gmail they have no
>>> issues.
>>> We are using PHP 5.1.6. It does not appear to be specific to a web
>>> client,
>>> ie and firefox have been confirmed. Other than the two users no others
>>> are
>>> complaining, and some other users use the download functions a lot.
>>>
>>> If the user downloads the email via mail client, ie outlook, the
>>> attachments are fine.
>>
>> Some more info. The latest 1.5 version does not appear to have this bug.
>>
>> On 1.4.20 I could open pdfs, but I could not open doc, xls etc. I could
>> not open jpg. None of the problems repeat if the devel version is used.
>
> Please show the specific version of 1.5 you are using.  You also need
> to do a much better job at defining "corrupt."  We can't just guess at
> what you mean.  If you are not capable of doing any better yourself,
> you can make the original file and the "corrupt" file available for
> download somewhere so we can try to see.  You also need to READ the
> mailing list posting guidelines and include ALL information you are
> asked for.  Add to that the output of src/configtest.php
>
> If you can open some kinds of documents, but not others, my suspicion
> is that this is not a SquirrelMail issue - SquirrelMail should corrupt
> all or none of your attachments in most cases.
>

Apologies

Corrupt: A word doc is created. I sent it to myself. The version I
download from squirrelmail has 10 0x20 added to the beginning. I suspect
the pdf doc may be tolerant to the 10 extra chars.

version 1.4.20
plugins:
 amavisnewsql-0.8.0-1.4.tar.gz
 avelsieve-1.9.9.tar.gz
 change_sqlpass-3.3-1.2.tar.gz
 check_quota-2.2-1.4.0.tar.gz
 compatibility-2.0.16-1.0.tar.gz
 smallcal-0.8-1.2.3.tar.gz
 squirrelmail-1.4.20
 msg_flags-1.4.20-1.4.3.tar.gz

 amavisnewsql was modified by me. I have tried squirrelmail without the
plugin. I have tried squirrelmail  with all plugins removed and the
problem remains.
 The only other mods made were to the logon page. Some text was added and
the layout slightly modified.
php: 5.1.6
Web server: apache 2.2.3
IMAP server: cyrus (see config text for version)
SMTP server: postfix: 2.3.3
OS: Centos 5.4
How your software was installed: Source
Browsers tried: ie and firefox

Dev squirrelmail that does work: squirrelmail-20100226_0200-SVN.devel.tar.gz

src/configtest.php
SquirrelMail configtest

This script will try to check some aspects of your SquirrelMail
configuration and point you to errors whereever it can find them. You need
to go run conf.pl in the config/ directory first before you run this
script.

SquirrelMail version:	1.4.20
Config file version:	1.4.0
Config file last modified:	29 March 2010 17:23:15
Checking PHP configuration...
    PHP version 5.1.6 OK.
    display_errors:
    error_reporting: 2047
    variables_order OK: EGPCS.
    PHP extensions OK. Dynamic loading is enabled.
Checking paths...
    Data dir OK.
    Attachment dir OK.
Avelsieve plugin details: backend = ManageSieve
Sieve Server capabilities = Array ( [comparator-i;ascii-numeric] => 1
[fileinto] => 1 [reject] => 1 [vacation] => 1 [imapflags] => 1 [notify] =>
1 [envelope] => 1 [relational] => 1 [regex] => 1 [subaddress] => 1 [copy]
=> 1 )
    Plugins OK.
    Themes OK.
    Default language OK.
    Base URL detected as: http://mail.netlab.co.za/squirrelmail/src
(location base autodetected)
Checking outgoing mail service....
    SMTP server OK (220 unicorn.netlab.co.za ESMTP Postfix)
Checking IMAP service....
    IMAP server ready (* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID
STARTTLS AUTH=CRAM-MD5 AUTH=GSSAPI AUTH=DIGEST-MD5 SASL-IR] unicorn
Cyrus IMAP4 v2.3.7-Invoca-RPM-2.3.7-7.el5_4.3 server ready)
    Capabilities: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS
AUTH=CRAM-MD5 AUTH=GSSAPI AUTH=DIGEST-MD5 SASL-IR ACL RIGHTS=kxte
QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT
CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT
THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT
LIST-SUBSCRIBED X-NETSCAPE URLAUTH
Checking internationalization (i18n) settings...
     gettext - Gettext functions are available. On some systems you must
have appropriate system locales compiled.
     mbstring - Mbstring functions are available.
     recode - Recode functions are unavailable.
     iconv - Iconv functions are available.
     timezone - Webmail users can change their time zone settings.
Checking database functions...
    not using database functionality.

Congratulations, your SquirrelMail setup looks fine to me!

Regards



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux