Just wanted to let everyone know here who is struggling, As it took me a few days of frustration and even i started to build my own PHP page to process previewing etc and in the process of making the PHP site, I ran into permission issue when opening files from my site, with permissions denied error etc.
Following a post regarding PHP and permissions for reading a subfolder/file it seems the issue lies in the fact that the /var & /var/spool & /var/spool/MailScanner folders restrict access, even though correct permissions lie within the files below, the fix is brilliantly simple, I hope it helps everyone. BOTTOM LINE, its a simple permissions issue, the NONE type in the error implies it has no string where it should have picked up data, Allowing each folder on the way to the quarantine folder OPEN access as below solved my issue chmod ugo+x /var/ chmod ugo+x /var/spool/ chmod ugo+x /var/spool/MailScanner/ Good Luck! Kind Regards FYI I am running Baruwa 2.0.1 w/ Postfix / ClamAv / Spam Assassin, Everything is working brilliantly - I even re-wrote the postfix configs to do a pgsql lookup for the domains and transports etc, which works - if you need help with those let me know i can post my configs etc. I also advise that the cronjob in the Community tutorial is slightly incorrect for debian, i had to remove the \ which broke the command into two lines, and have each command on one line only for it to be executed correctly in the /etc/cron.d/ folder. -- View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Preview-Error-Failed-coercing-to-Unicode-need-string-or-buffer-NoneType-found-tp4026916p4027621.html Sent from the Baruwa users list mailing list archive at Nabble.com. _______________________________________________ http://pledgie.com/campaigns/12056

