[imp] Ok, i give up: how to make the attachment thing work??Theproblem persists

Bruno Negrao imp-bnegrao at engepel.com.br
Wed Feb 5 17:23:25 PST 2003


Hi Doug,

> We may have already covered these things but what is in the Mailer section
and
> the Virtual File Storage section of your horde.php?
Here they are:

/**
 ** Mailer
 **/

// What method should we use for sending mail? Valid options are
// currently 'sendmail' and 'smtp'.
$conf['mailer']['type'] = 'sendmail';

// An array holding any parameters that the Mail object will need to
// function correctly. For sendmail, this is mainly the sendmail_path
// option; SMTP requires at least a server and a port (if nonstandard).
// SMTP authentication can be enabled by setting the 'auth' parameter
// to true.
$conf['mailer']['params'] = array();
// $conf['mailer']['params'] = array('sendmail_path' =>
'/usr/lib/sendmail');
// $conf['mailer']['params'] = array('host' => 'smtp.example.com');

/**
 ** Virtual File Storage
 **/

// If a VFS (virtual filesystem) backend is required, which one should
// we use? Options are 'file' and 'sql'.
$conf['vfs']['type'] = 'file';

// What configuration parameters should be set for the VFS system? For
// the 'file' driver, the only parameter is 'vfsroot' - where on the
// real filesystem should Horde use as root of the virtual
// filesystem. For the 'sql' driver, see the examples for the 'prefs'
// section, above.
$conf['vfs']['params']['vfsroot'] = '/tmp';


Thank you very much,
bruno negrao.




>
> Doug
>
> Quoting Bruno Negrao <imp-bnegrao at engepel.com.br>:
>
> > And still persists.
> >
> > > http://lists.horde.org/archives/imp/Week-of-Mon-20001127/005673.html
> > I read this message long time before I posted my first message on this
> > subject.
> > >> http://www.horde.org/faq/admin/trouble/index.php#t43
> > I'm aware of it also. When I change the php.ini file to
> > upload_tmp_dir = /var/tmp
> >
> > And the horde/config/horde.php to:
> > $conf['tmpdir'] = '/var/tmp';
> >
> > I'm still sending truncated attached files and receiving the following
error
> > messages:
> >
> > Warning: fopen("/var/tmp/impattcvXkES", "rb") - No such file or
directory in
> > /var/www/html/zz/horde/imp/compose.php on line 319
> > Warning: stat failed for /var/tmp/impattcvXkES (errno=2 - No such file
or
> > directory) in /var/www/html/zz/horde/imp/compose.php on line 320
> > Warning: fread(): supplied argument is not a valid File-Handle resource
in
> > /var/www/html/zz/horde/imp/compose.php on line 320
> > Warning: fclose(): supplied argument is not a valid File-Handle resource
in
> > /var/www/html/zz/horde/imp/compose.php on line 321
> > Warning: unlink() failed (No such file or directory) in
> > /var/www/html/zz/horde/imp/compose.php on line 322
> > Warning: Cannot add header information - headers already sent by (output
> > started at /var/www/html/zz/horde/imp/compose.php:319) in
> > /var/www/html/zz/horde/imp/compose.php on line 855
> >
> >
> > And I checked: the file "/var/tmp/impattcvXkES" was there - waiting to
be
> > sent....
> >
> > If it is a problem in my configuration, what can it be?
> >
> > thanks,
> > bruno.
> >
> >
> >
> > > > Thank you guys for helping me (and I'm sorry if i seemed to be
> > nervous!!)
> > > > (my customers and my boss are driving me mad with this problem...)
> > > >
> > > > I upgraded the PEAR package and the problem persists. When I try to
send
> > an
> > > > e-mail with attached file, I receive the following error messages:
> > > >
> > > > --------------------------------------
> > > > Warning: fopen("/tmp/impattfIKHwd", "rb") - No such file or
directory in
> > > > /var/www/html/zz/horde/imp/compose.php on line 319
> > > >
> > > > Warning: stat failed for /tmp/impattfIKHwd (errno=2 - No such file
or
> > > > directory) in /var/www/html/zz/horde/imp/compose.php on line 320
> > > >
> > > > Warning: fread(): supplied argument is not a valid File-Handle
resource
> > in
> > > > /var/www/html/zz/horde/imp/compose.php on line 320
> > > >
> > > > Warning: fclose(): supplied argument is not a valid File-Handle
resource
> > in
> > > > /var/www/html/zz/horde/imp/compose.php on line 321
> > > >
> > > > Warning: unlink() failed (No such file or directory) in
> > > > /var/www/html/zz/horde/imp/compose.php on line 322
> > > >
> > > > Warning: Cannot add header information - headers already sent by
(output
> > > > started at /var/www/html/zz/horde/imp/compose.php:319) in
> > > > /var/www/html/zz/horde/imp/compose.php on line 855
> > >
> ----------------------------------------------------------------------
> > > >
> > > > Before I pressed the 'send' button, I checked for the file
> > > > '/tmp/impattfIKHwd' and it was right there!! After I pressed the
send
> > > > button, the file was removed, so I can't understand what are the
above
> > > > messages complaining...
> > > > The e-mail arrives on the destination with 2 attached files, 1 file
is
> > > > messed up (you can't open it for reading)and the other is 0 byte.
> > >
> > > --
> > > Eric Rostetter
> > > The Department of Physics
> > > The University of Texas at Austin
> > >
> > > Why get even? Get odd!
> > >
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >
>
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>



More information about the imp mailing list