I'm getting the following error in the middle when trying to login to squirrelmail with a virtual user:
 
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.

 
Before I changed the $auto_create_special = line to false from the default true, I was getting this additional error on the left hand pane:
 
ERROR:
ERROR : Could not complete request.
Query: CREATE "INBOX.Sent"
Reason Given: Cannot create this folder.
When I ran configtest.php this is the output:
 
SquirrelMail version: 1.4.4
Config file version: 1.4.0
Config file last modified: 25 December 2005 04:07:57
Checking PHP configuration...
    PHP version 4.3.10 OK.
    PHP extensions OK.
Checking paths...
    Data dir OK.
    Attachment dir OK.
    Plugins OK.
    Themes OK.
    Default language OK.
    Base URL detected as: http://192.168.10.195/squirrelmail/src
Checking outgoing mail service....
    SMTP server OK (220 chaos.gamelaironline.com ESMTP Postfix (2.1.5) (Mandrakelinux))
Checking IMAP service....
    IMAP server ready (* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. )
    Capabilities: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
Checking internationalization (i18n) settings...
     gettext - Gettext functions are available. You must have appropriate system locales compiled.
     mbstring - Mbstring functions are unavailable. Japanese translation won't work.
     recode - Recode functions are unavailable.
     iconv - Iconv functions are unavailable.
     timezone - Webmail users can change their time zone settings.
Checking database functions...
     PHP Pear DB support is present.

    ERROR: database support not present!

The database support error that I'm getting is a little puzzling to me, since it authenticates fine thru MySQL as it's evident by the syslog:

Dec 25 04:00:37 chaos authdaemond.mysql: authmysql: trying this module
Dec 25 04:00:37 chaos authdaemond.mysql: SQL query: SELECT id, crypt, "", uid, gid, home, CONCAT(home,'/',maildir), "", name, "" FROM users WHERE id = " [EMAIL PROTECTED]" AND (enabled=1)
Dec 25 04:00:37 chaos authdaemond.mysql: password matches successfully
Dec 25 04:00:37 chaos authdaemond.mysql: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/mail/virtual, [EMAIL PROTECTED], fullname=<null>, maildir=/var/mail/virtual/dino, quota=<null>, options=<null>
Dec 25 04:00:37 chaos authdaemond.mysql : authmysql: clearpasswd=<null>, passwd=sdtrusfX0Jj66
Dec 25 04:00:37 chaos authdaemond.mysql: authmysql: ACCEPT, username [EMAIL PROTECTED]
Dec 25 04:00:37 chaos imapd: authdaemon: ACCEPT, username [EMAIL PROTECTED]
Dec 25 04:00:37 chaos imapd: LOGIN, [EMAIL PROTECTED], ip=[::ffff: 127.0.0.1], protocol=IMAP

Now, the /var/mail/virtual/dino directory I have changed the ownership to user "mail" and still no go.

Here's the important parts of my config.php file:

$squirrelmail_default_language = 'en_US';
$default_charset       = 'iso-8859-1';
$lossy_encoding        = false;

$domain                 = 'chaos.gamelaironline.com';

$imapServerAddress      = 'localhost';
$imapPort               = 143;
$useSendmail            = false;
$smtpServerAddress      = 'localhost';
$smtpPort               = 25;
$sendmail_path          = '/usr/sbin/sendmail';
$pop_before_smtp        = false;
$imap_server_type       = 'courier';
$invert_time            = false;
$optional_delimiter     = '/';

$default_folder_prefix          = '';
$trash_folder                   = 'INBOX.Trash';
$sent_folder                    = 'INBOX.Sent';
$draft_folder                   = 'INBOX.Drafts';

$default_move_to_trash          = true;
$default_move_to_sent           = true;
$default_save_as_draft          = true;
$show_prefix_option             = true;
$list_special_folders_first     = true;
$use_special_folder_color       = true;
$auto_expunge                   = true;
$default_sub_of_inbox           = false;
$show_contain_subfolders_option = true;
$default_unseen_notify          = 2;
$default_unseen_type            = 1;
$auto_create_special            = true;
$delete_folder                  = false;
$noselect_fix_enable            = false;

$data_dir                 = '/var/lib/squirrelmail/prefs';
$attachment_dir           = '/var/spool/squirrelmail/attach';
$dir_hash_level           = 0;
$default_left_size        = '150';
$force_username_lowercase = false;
$default_use_priority     = true;
$hide_sm_attributions     = false;
$default_use_mdn          = true;

$edit_identity            = true;
$edit_name                = true;
$allow_thread_sort        = true;
$allow_server_sort        = true;
$allow_charset_search     = true;
$uid_support              = true;

$plugins[0] = 'delete_move_next';
$plugins[1] = 'squirrelspell';
$plugins[2] = 'newmail';
$plugins[3] = 'filters';
$plugins[4] = 'address_add';
$plugins[5] = 'change_pass';
$plugins[6] = 'quota_usage';
$plugins[7] = 'change_ldappass';
$plugins[8] = 'avelsieve';
$plugins[9] = 'windows';
$plugins[10] = 'folder_sizes';
$plugins[11] = 'archive_mail';
$plugins[12] = 'empty_folders';

$theme_css = '';
$theme_default = 0;

$addrbook_dsn = 'mysql://mail:[EMAIL PROTECTED]/maildb';
$addrbook_table = 'address';

$prefs_dsn = '';
$prefs_table = 'userprefs';
$prefs_user_field = 'user';
$prefs_key_field = 'prefkey';
$prefs_val_field = 'prefval';
$addrbook_global_dsn = ' mysql://mail:[EMAIL PROTECTED]/maildb';
$addrbook_global_table = 'address';
$addrbook_global_writeable = false;
$addrbook_global_listing = false;

$no_list_for_subscribe = false;
$smtp_auth_mech = 'none';
$imap_auth_mech = 'login';
$use_imap_tls = false;
$use_smtp_tls = false;
$session_name = 'SQMSESSID';

@include SM_PATH . 'config/config_loc

In the "$default_folder_prefix =" I have changed from "" to "." to "INBOX." and still no dice. 

Here's my postfix main.cf file just in case:

# User configurable parameters

myhostname=chaos.gamelaironline.com
inet_interfaces = all
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
content_filter = lmtp-filter: 127.0.0.1:10025
receive_override_options = no_address_mappings
local_recipient_maps =
mydestination =
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
virtual_uid_maps = mysql:/etc/postfix/mysql_uid.cf
virtual_gid_maps = mysql:/etc/postfix/mysql_gid.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
masquerade_domains = chaos.gamelaironline.com !notlocalname.gamelaironline.com
masquerade_exceptions = root

 

I'm totally lost at this point. Any help would be great!

 

 


 

 


 


 

 

 

 

Reply via email to