General Options 1. Default Charset : iso-8859-1 2. Data Directory : /home/username/squirrelmail/data/ 3. Attachment Directory : /home/username/squirrelmail/attachments/
What is "username"? You aren't making this a dynamic setting per user, right? That's a somewhat different place for the data and attachments directories...
Apologies, I should have stated that username is simply the username that I have access to the server as, I simply replaced my actual username with the string 'username'. It's a commercial webhosting hosting company, I don't have any real sort of admin access to the server. I am only running Sqirrelmail as a single user.
My feeling is that if it's not a problem with what "username" is, it's probably a directory placement issue(?). Try putting the attachments directory in a place more like /var/spool/squirrelmail/attachments
I don't have any write permissions outside of /home/<username>/ , I put the attachments and data directory at /home/<username>/squirrelmail/attachments/ and /home/<username>/squirrelmail/data/ respectively as I wanted them to be not be accessible via the webserver (/home/<username>/public_html). I've been previously running SquirrelMail with these settings without problem for about a year, the attachments problem seemed to start when I upgraded to version 1.4.3a.
bash-2.05a$ ls -l /home/username/squirrelmail/ total 8 drwxrwxrwx 2 alphawor alphawor 4096 Jul 20 09:02 attachments drwxrwxrwx 2 alphawor alphawor 4096 Jul 21 12:09 data
ERROR: Could not move/copy file. File not attached
For the PHP settings and other information about the server environment: http://alphaworks.co.uk/SquirrelMail/squirrelmail/info.php
Hmm, please review /etc/php.ini for file_uploads
From /etc/php.ini (looks OK to me): ----------------------------------- ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads. file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir =
; Maximum allowed size for uploaded files. upload_max_filesize = 8M -----------------------------------
Do you have control over php.ini? Perhaps there is a permissioning problem accessing the default temp directory? Can you change upload_tmp_dir to something that you have control over? Even if not, what are the permissions on that directory (vs. what user does your web server run as)?
and read these:
http://www.squirrelmail.org/wiki/en_US/PHPenableUploadsProblem
From looking at /etc/php.ini (above) I don't think this is a problem.
http://search.gmane.org/search.php?group=gmane.mail.squirrelmail.user&query=Could+not+move%2Fcopy+file.+File+not+attached
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
