[imp] Re: imp Digest, Vol 710, Issue 4

Paul.LKW paul.lkw at mfun.org
Thu Apr 1 05:25:41 PST 2004


I have already configured my per-process limit to
    max_execution_time = 6000
    max_input_time = 6000
    memory_limit = 100M
    upload_max_filesize = 80M
(in php.ini) but still don't work for 30M email attachment.
Does here any body can help me to solve this BIG problem, Thanks for your
kindly help. ^-^

----- Original Message ----- 
From: <imp-request at lists.horde.org>
To: <imp at lists.horde.org>
Sent: Thursday, April 01, 2004 2:48 PM
Subject: imp Digest, Vol 710, Issue 4


> Send imp mailing list submissions to
> imp at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.horde.org/mailman/listinfo/imp
> or, via email, send a message with subject or body 'help' to
> imp-request at lists.horde.org
>
> You can reach the person managing the list at
> imp-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of imp digest..."
>
>
> Today's Topics:
>
>    1. Re: e-mails sent via IMP have strange header (James Brown)
>    2. Postgresql Sessionhandler (John C. Amodeo)
>    3. IMP/IMAP Question (Curt lecaptain)
>    4. Re: IMP/IMAP Question (James Brown)
>    5. Re: Postgresql Sessionhandler (Chuck Hagenbuch)
>    6. Re: [patch] Date format not like choosen (Chuck Hagenbuch)
>    7. Re: Cannot view msword attachments, and workaround
>       (Michael M Slusarz)
>    8. Re: [CVS version] pgp-view patch (Michael M Slusarz)
>    9. Re: e-mails sent via IMP have strange header (Eric Rostetter)
>   10. Attachment Size Problem (Paul.LKW)
>   11. Re: Attachment Size Problem (Lord Apollyon)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 Mar 2004 21:13:36 +0100
> From: James Brown <j.a.m.e.s at btinternet.com>
> Subject: Re: [imp] e-mails sent via IMP have strange header
> To: imp at lists.horde.org
> Message-ID: <406B2670.9020301 at btinternet.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> Sorted!
>
> I have RTFM properly this time and added the "www" user to the trusted
> section of submit.cf which now shows:
>
> #####################
> #   Trusted users   #
> #####################
> [...]
> Twww
> [...]
>
> Thank you very much for your time everyone.
>
> James.
>
> George Theall wrote:
>
> > On Wed, Mar 31, 2004 at 11:45:30AM -0700, Michael M Slusarz wrote:
> >
> >
> >>>X-Authentication-warning: host.mydomain.com: www set sender to
> >>>me at mydomain.com using -f
> >>
> >>http://www.horde.org/faq/admin/trouble/index.php#t34
> >
> >
> > Note: if you're running a version of sendmail >= 8.12.0, you will
> > probably need to modify submit.cf rather than sendmail.cf since sendmail
> > uses the former now when handling initial message submissions.
> >
> > George
> >
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 31 Mar 2004 15:20:52 -0500
> From: "John C. Amodeo" <amodeo at admin.rutgers.edu>
> Subject: [imp] Postgresql Sessionhandler
> To: "imp at lists.horde.org" <imp at lists.horde.org>
> Message-ID: <406B2824.7080906 at admin.rutgers.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> I'm trying to implement the pgsql.php sessionhandler module for Horde
> 2.2.5 and notice the coding is somewhat out of date...  I'm updating the
> functions and the queries to be able to use the Postgres BYTEA type for
> session data instead of TEXT (which seems to be problematic...) as well
> as the new PHP function names (i.e. pg_cmdtuples is now
> pg_affected_rows, etc...)
>
> For dubugging purposes, I was wondering if the "Session" settings in the
> PHP.INI file have any effect on the SessionHandler if you use an SQL
> backend and not the standard file backend (more specifically,
> session.gc_probability,session.gc_divisor, and session.gc_maxlifetime)
>
> I keep having random troubles with IMP sessions expiring, and am playing
> with the settings to see if I can determine the nature of the problem.
>
> Thanks,
> -John
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 31 Mar 2004 14:56:28 -0600
> From: "Curt lecaptain" <lecaptainc at infinitytechnology.com>
> Subject: [imp] IMP/IMAP Question
> To: <imp at lists.horde.org>
> Message-ID: <s06adc27.007 at staff.itol.com>
> Content-Type: text/plain; charset=US-ASCII
>
> I've created folders in my IMAP account using Mozilla.   When I open up
> IMP, I don't seem to be able to see those folders, even when I go to the
> drop down list.
>
> I'm running:
>
> Horde 2.2.4
> IMP 3.2.1
> Redhat 7.3
> PHP 4.3.2
> Apache 1.3.28
>
> Thanks,
> Curt L.
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 31 Mar 2004 22:21:37 +0100
> From: James Brown <j.a.m.e.s at btinternet.com>
> Subject: Re: [imp] IMP/IMAP Question
> To: imp at lists.horde.org
> Message-ID: <406B3661.9090108 at btinternet.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> I had this problem earlier today and had to make a change in the
> horde/imp/config/servers.php file:
>
> $servers['imap'] = array(
>      [...]
>      'folders' => 'INBOX.', //Get this right for your IMAP server
>      [...]
> );
>
> You didn't mention what IMAP server you're accessing. Apparently,
> Courier-IMAP only allows folders to be created under the INBOX folder,
> hence the config above, though please don't quote me on this as I'm just
> a newbie.
>
> HTH,
>
> James.
>
> Curt lecaptain wrote:
>
> > I've created folders in my IMAP account using Mozilla.   When I open up
> > IMP, I don't seem to be able to see those folders, even when I go to the
> > drop down list.
> >
> > I'm running:
> >
> > Horde 2.2.4
> > IMP 3.2.1
> > Redhat 7.3
> > PHP 4.3.2
> > Apache 1.3.28
> >
> > Thanks,
> > Curt L.
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 31 Mar 2004 17:49:59 -0500
> From: Chuck Hagenbuch <chuck at horde.org>
> Subject: Re: [imp] Postgresql Sessionhandler
> To: imp at lists.horde.org
> Message-ID: <20040331174959.thk7y3kkw8gs0o44 at marina.horde.org>
> Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
>
> Quoting "John C. Amodeo" <amodeo at admin.rutgers.edu>:
>
> > For dubugging purposes, I was wondering if the "Session" settings in the
> > PHP.INI file have any effect on the SessionHandler if you use an SQL
> > backend and not the standard file backend (more specifically,
> > session.gc_probability,session.gc_divisor, and session.gc_maxlifetime)
>
> Yes, they do.
>
> -chuck
>
> --
> "Regard my poor demoralized mule!" - Juan Valdez
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 31 Mar 2004 18:05:39 -0500
> From: Chuck Hagenbuch <chuck at horde.org>
> Subject: Re: [imp] [patch] Date format not like choosen
> To: imp at lists.horde.org
> Message-ID: <20040331180539.2s3xkasksws80cok at marina.horde.org>
> Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
>
> Quoting Daniel Eckl <daniel.eckl at gmx.de>:
>
> > To make the date format I choose in imp -> preferences to be equal to
> > the result, I suggest this patch.
>
> Committed with a few other consistency fixes, thanks.
>
> -chuck
>
> --
> "Regard my poor demoralized mule!" - Juan Valdez
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 31 Mar 2004 16:09:53 -0700
> From: Michael M Slusarz <slusarz at bigworm.colorado.edu>
> Subject: Re: [imp] Cannot view msword attachments, and workaround
> To: imp at lists.horde.org
> Message-ID: <20040331160953.l8o4g8k8k4wg4so4 at bigworm.colorado.edu>
> Content-Type: text/plain; charset="UTF-8"; format="flowed"
>
> Quoting Lars Hecking <lhecking at nmrc.ie>:
>
> >  When I try to view msword attachments, the viewer window comes up
empty.
> >  The problem appears with all version of horde (presumably ...), and is
> >  related to wvWare 1.0 (never tried wv2, no idea how usable it is).
> >
> >  I have set up imp/wvWare as described here:
> >   http://marc.theaimsgroup.com/?l=imp&m=102450911929993&w=2
> >
> >  The (not so) funny thing is, the image files don't get created under
> >  /tmp-wvWare, but under /horde/imp. Also, the image basename is msword
> >  instead of /tmp-wvWare/img$$-, which leads me to believe the error is
> >  actually in /horde/lib/MIME/Viewer/msword.php; when I run wvWare from
> >  the command line with arguments as per the URL above, all works fine.
> >
> >     $version = explode('.',
> > exec($mime_drivers['horde']['msword']['location'] . ' --version'));
> >     if (count($version) > 2 && ($version[0] > 0 || $version[1] >= 7)) {
> >
> > $ wvWare --version
> > wvWare 1.0.0
> > $
> >
> >  Not speaking php, I would guess that the explode() above cannot deal
> >  properly with the version string returned by wvWare 1.0. I.e. that the
> >  resulting $version actually contains
> >
> > $version[0] = "wvWare 1"
> > $version[1] = 0
> > $versoin[2] = 0
> >
> >  I have fixed it for me by simply removing
> >
> > -        if (count($version) > 2 && ($version[0] > 0 || $version[1] >=
7)) {
> > -        } else {
> > -            $args = " $tmp_word $tmp_output";
> > -        }
> >
> >  around line 43 in /horde/lib/MIME/Viewer/msword.php, but you probably
want
> >  to put in a better fix that computes $version properly.
>
> Correct diagnosis, but your fix isn't correct either.  Try what I just
> committed.
>
> michael
>
> ______________________________________________
> Michael Slusarz [slusarz at bigworm.colorado.edu]
> The University of Colorado at Boulder
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 31 Mar 2004 17:45:37 -0700
> From: Michael M Slusarz <slusarz at bigworm.colorado.edu>
> Subject: Re: [imp] [CVS version] pgp-view patch
> To: imp at lists.horde.org
> Message-ID: <20040331174537.rke84wkoww4osgg4 at bigworm.colorado.edu>
> Content-Type: text/plain; charset="UTF-8"; format="flowed"
>
> Quoting "W. Tasin" <tasin at fhm.edu>:
>
> > Hi all,
> >
> > the pgp status messages doesn't work correctly on some encrypted and
> > signed mails.
> > The status shows only that the message was only signed, but this isn't
true.
> >
> > Here is the patch that works for me, hope that's the correct way to
> > handle it.
>
> committed - thanks.
>
> michael
>
> ______________________________________________
> Michael Slusarz [slusarz at bigworm.colorado.edu]
> The University of Colorado at Boulder
>
>
> ------------------------------
>
> Message: 9
> Date: Wed, 31 Mar 2004 23:41:44 -0600
> From: Eric Rostetter <eric.rostetter at physics.utexas.edu>
> Subject: Re: [imp] e-mails sent via IMP have strange header
> To: imp at lists.horde.org
> Message-ID: <20040331234144.3b2vx0cgg084scck at mail.ph.utexas.edu>
> Content-Type: text/plain; charset="UTF-8"; format="flowed"
>
> Quoting James Brown <j.a.m.e.s at btinternet.com>:
>
> > X-Authentication-warning: host.mydomain.com: www set sender to
> > me at mydomain.com using -f
>
> Configure your sendmail install to make your web server user a trusted
> user.
>
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
>
> Why get even? Get odd!
>
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 1 Apr 2004 14:38:40 +0800
> From: "Paul.LKW" <paul.lkw at mfun.org>
> Subject: [imp] Attachment Size Problem
> To: <imp at lists.horde.org>
> Message-ID: <000801c417b3$f9167580$8c01a8c0 at webhost.com.hk.notdefined>
> Content-Type: text/plain; charset="big5"
>
> I have HORDE 2.2.X and IMP 3.2.X, when I compose an email with large
attachment >= 30M IMP automaticaly remove my attachment. I have changed the
default setting of php.ini file but still can not do it. what can I do that
?
>
> ------------------------------
>
> Message: 11
> Date: Wed, 31 Mar 2004 22:47:08 -0800
> From: Lord Apollyon <implist at paypc.com>
> Subject: Re: [imp] Attachment Size Problem
> To: imp at lists.horde.org
> Message-ID: <1080802028.406bbaece30aa at www.paypc.com>
> Content-Type: text/plain; charset=ISO-8859-15
>
> > I have HORDE 2.2.X and IMP 3.2.X, when I compose an email with large
> > attachment >= 30M IMP automaticaly remove my attachment.
>
> YIKES.  You're asking ALOT of PHP/HORDE/IMP.  As it is, getting 8MB
> attachments through requires alot of memory.
>
> You will need to configure your per-process limit (in php.ini) to
something
> like 70-80MB, and the execution time to several minutes.
>
> If your server doesn't have at least 128MB of real RAM, forget about even
> testing it.  Your production server will need at least 1GB.
>
> I'm not sure whose algorithm sucks, PHP's or HORDE/IMP's, but it needs to
> maintain the entire base64'ed attachment and the original attachment in
RAM
> at the same time, so figure 2.33 x the original binary attachment's size.
> [Hello anybody... SPOOLING?]
>
> I don't allow emails larger than 8MB through my gateways in any event...
> it's really unnecessary, but hey, that's just my policy.  You can blow
200MB
> attachments through your INBOX if you want.  Just don't expect things to
> keep working smoothly.
>
> Repeat after me: EMAIL IS NOT A FILE TRANSFER PROTOCOL.
>
> =R=
>
>
> ------------------------------
>
>
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> End of imp Digest, Vol 710, Issue 4
> ***********************************



More information about the imp mailing list