ERROR: Could not move/copy file. File not attached

Discussion in 'Installation/Configuration' started by ybanafa, Nov 18, 2011.

  1. ybanafa

    ybanafa New Member

  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in Apache's error logs or your mail log?
     
  3. ybanafa

    ybanafa New Member

    Thanks Falko

    apache2/error.log :-

    [Sat Nov 19 20:11:38 2011] [error] [client 89.189.70.188] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/tqJEl5ajg5bPvRYJ596LJr0YNmZFktz6) 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://alasersystems.com:8080/webmail/src/compose.php?mailbox=INBOX&startMessage=1

    ---

    ==> mail.log <==
    Nov 19 20:11:05 ns2 dovecot: IMAP([email protected]): Disconnected: Logged out bytes=79/719
    Nov 19 20:11:06 ns2 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Nov 19 20:11:06 ns2 dovecot: IMAP([email protected]): Disconnected: Logged out bytes=96/810
    Nov 19 20:11:07 ns2 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Nov 19 20:11:07 ns2 dovecot: IMAP([email protected]): Disconnected: Logged out bytes=206/1113
    Nov 19 20:15:02 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Nov 19 20:15:02 ns2 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Nov 19 20:15:02 ns2 postfix/smtpd[12376]: connect from localhost.localdomain[127.0.0.1]
    Nov 19 20:15:02 ns2 postfix/smtpd[12376]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Nov 19 20:15:02 ns2 postfix/smtpd[12376]: disconnect from localhost.localdomain[127.0.0.1]
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please add /var/spool/squirrelmail/ to the open_basedir directories on the Options tab of the website in ISPConfig.
     
  5. ybanafa

    ybanafa New Member

    hello

    same error :

    ERROR:
    Could not move/copy file. File not attached

    How can I fix it ?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's in Apache's error log now?
     
  7. ybanafa

    ybanafa New Member

    apache2/error.log :

    [Mon Nov 21 17:33:26 2011] [error] [client 89.189.78.212] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/Jit5n8bH9cYUJHPhXlHtG3MDTX5m6cmK) 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://alasersystems.com:8080/webmail/src/compose.php?mailbox=INBOX&startMessage=1

    Thanks++;
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Add /var/spool/squirrelmail/attach to the open_basedir path.
     
  9. ybanafa

    ybanafa New Member

    same error

    apache2/error.log:
    [Mon Nov 21 18:05:09 2011] [error] [client 89.189.78.212] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/gJ9KHTczVihO7TF2BTLVOZlj2j1xZDcA) 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://ns2.alasersystems.net:8080/webmail/src/compose.php?mailbox=INBOX&startMessage=1
     
  10. ybanafa

    ybanafa New Member

    Do u think : permission(s) issue ?

    what is the correct permission(s) ?

    Thanks
     
  11. Jolman

    Jolman Member

    Last edited: Nov 21, 2011
  12. Jolman

    Jolman Member

  13. Morpheus-ro

    Morpheus-ro New Member

    I have the same issue. I tried the mentioned solutions in the links and no results .... any other suggestions?
     
  14. Jolman

    Jolman Member

    Sorry, I can't help you, I just remember nothing about the problem (
     

Share This Page