Hi, i have next problem - the Squirrelmail "Could not move/copy file. File not attached" when trying to attach a file. 1) I set 733 mode on /var/spool/squirrelmail/attach 2) I have cheked parameter in php.ini file_uploads = On upload_max_filesize = 30M 3) i run squirrelmail-configure, and checks: in Folder Defaults 1. Default Folder Prefix : . in General Options 1. Data Directory : /var/lib/squirrelmail/data/ 2. Attachment Directory : /var/spool/squirrelmail/attach/ i don't know what it can be, and where find mistake in apache log: [Tue Nov 22 00:00:30 2011] [error] [client 95.59.2.144] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/QcYninwzhGjKPX0wJ6pylhzpEBh5Cemz) is not within the allowed path(s): (/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname) in /usr/share/squirrelmail/src/compose.php on line 1464, referer: https://www.akbarys.com:8080/webmail/src/compose.php?mailbox=INBOX&startMessage=1 when i add path /var/spool/squirrelmail/attach - in php.ini (open_basedir = /var/spool/squirrelmail/attach/), i have next messages in the error.log [Tue Nov 22 00:08:20 2011] [error] [client 95.59.2.144] PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/ispconfig/interface/web/index.php) is not within the allowed path(s): (/var/spool/squirrelmail/attach/) in Unknown on line 0 [Tue Nov 22 00:08:20 2011] [error] [client 95.59.2.144] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 [Tue Nov 22 00:08:20 2011] [error] [client 95.59.2.144] PHP Fatal error: Unknown: Failed opening required '/usr/local/ispconfig/interface/web/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0 after added include_path='.:/usr/share/php:/usr/share/pear' in php.ini, in error.log : [Tue Nov 22 00:16:00 2011] [error] [client 95.59.2.144] PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/ispconfig/interface/web/index.php) is not within the allowed path(s): (/var/spool/squirrelmail/attach/) in Unknown on line 0 [Tue Nov 22 00:16:00 2011] [error] [client 95.59.2.144] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 [Tue Nov 22 00:16:00 2011] [error] [client 95.59.2.144] PHP Fatal error: Unknown: Failed opening required '/usr/local/ispconfig/interface/web/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0 please help
i have solved this problem solution 1) create directory in /usr/share/squirrelmail/ for example attach - /usr/share/squirrelmail/attach 2) chmod 733 -R /usr/share/squirrelmail/attach 2) squirrelmail-configure 3) choose 4(General Options) and press Enter 4) choose 2(Attachment Directory) and past /usr/share/squirrelmail/attach try should help