Fixed it, the username had been truncated when i created the database user, and i hadnt realised.. the error wasnt very clear, maybe this was the Pear::DB? Normaly i'd expect:
 
Access Denied for user@localhost. (Using Password YES)
 
or something to that effect.. anyway.. its now running fine afaik... but when i try to login to a mail server it doesnt work..
 
 
http://www.ircsucks.com/mail  (testing@ircsucks.com | password | mail.ircsucks.com OR localhost)
 
 
When i use the same server info that roundcube is on it goes wierd but still errors:
 
 
 
Warning: fopen(./logs/errors): failed to open stream: Keine Berechtigung in /home/ircsucks/public_html/mail/program/include/bugs.inc on line 67
IMAP Error in (): Authentication failed (LOGIN):
"a001 NO LOGIN failed"
 
wth?
 
 
Hope somebody can help :)
 
Thanks
 
Michael
 
 
 
PS: I'm very interested in getting this working under cPanel (www.cpanel.net) cPanel uses http auth to send the vars to the script, (they currently use squirrelmail/horde/neomail) and IMO they all suck :P .... if i could actually get this to work, perhaps i can use the lil php knowledge i have to help get it working with cPanel?