Using Ubuntu 11.04 perfect install and squirrelmail throws a Code: ERROR: Could not move/copy file. File not attached Everything else re: emails works fine. Anyone had similar problems? Thanks
That was my first thought but the file size is only 20K. I was thinking it has something to do with permissions. I tried chmod 777 on the attachment folder of squirrelmail but that didn't work either.
I just tested on my Ubuntu 10.04 ispconfig 3.046, I could attached a 2 MB pdf file and sent it out correctly. I suggest you check the squirrelmail log at /var/log/mail.log and see what happened.
The mail.log doesn't say much except for connects and disconnects of pop3d and imapd and postfix/smtpd lost connection from localhost
[solved] I found this in the apache2 error logs. [Sun Nov 11 15:27:16 2012] [error] [client 192.168.1.101] PHP Warning: file_exists(): Fopen_basedir restriction in effect.File(/var/spool/squirrelmail/attach/kGbuxfcRnU3vd6VeCMuI1CzkqLzYJM2Q) 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: http://192.168.1.105/webmail/src/compose.php?mailbox=INBOX&startMessage=1 I found the solution here. http://www.howtoforge.com/forums/archive/index.php/t-55043.html and its fixed.