Re: Problem with logging in...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 13, 2008 7:59 AM, André Keller <tuxli@xxxxxxxxx> wrote:
> Paul Lesniewski schrieb:
> > The posting guidelines.
> >
>
> OK sorry about that. I didn't read them. I now have!
> > You need to look in your logs (which the posting guidelines tell you
> > about) and post whatever errors you find there.
>
> Well thats the first problem. There are no errors in apache2 log. The
> maillog shows that the login was successful. I also activated php error
> logging. Also no error there.
> > More details about
> > your system (how different domains are implemented, username format,
> > SM configuration details, etc etc) are always helpful.
> >
>
> Squirrelmail, dovecot, apache and php are debian etch standard versions.
> all with the newest updates.

Configtest shows your version is 1.4.9a.  That is NOT the newest SM version.

> Usernames are the mailadresses (login works)
>
> I had the avelsieve plugin active. I now deaktivated It to ensure its
> not causing the error. The problem persists.
> I can login with all accounts but only with the first account I ever
> logged in to squirrelmail I can use it. With every other account when I
> click on a message or any menuitem i get the error that i have to be
> logged in to access the page...

Then you need to tell us how those users are different.  Are you using
the same browser on the same computer to access with ALL users?

> I thought about a cookie or session problem... how could I debug that?

Try the Cookie Warning plugin or watch your browser cookie cache.

> what Infos do you need?

Double check that your PHP error logging is set to the highest level.
Same with IMAP logging.

> I got an apache rewrite rule active for ensure that ssl is used to
> access the webmail. the error persists when I turn this rule of and
> login without https.
>
> SM Config (in config_local there isn't anything configured):
>
> <?php
>
> /**
>  * SquirrelMail Configuration File
>  * Created using the configure script, conf.pl
>  */
>
> global $version;
> $config_version = '1.4.0';
> $config_use_color = 2;
>
> $org_name      = "WebMail";
> $org_logo      = SM_PATH . 'images/sm_logo.png';
> $org_logo_width  = '308';
> $org_logo_height = '111';
> $org_title     = "SquirrelMail $version";
> $signout_page  = '';
> $frame_top     = '_top';
>
> $provider_uri     = 'http://www.squirrelmail.org/';
>
> $provider_name     = 'SquirrelMail';
>
> $motd = "";
>
> $squirrelmail_default_language = 'de_DE';
> $default_charset       = 'iso-8859-1';
> $lossy_encoding        = false;
>
> $domain                 = trim(implode('', file('/etc/'.(file_exists('/etc/mailname')?'mail':'host').'name')));
> $imapServerAddress      = 'localhost';
> $imapPort               = 143;
> $useSendmail            = false;
> $smtpServerAddress      = 'localhost';
> $smtpPort               = 25;
> $sendmail_path          = '/usr/sbin/sendmail';
> $sendmail_args          = '-i -t';
> $pop_before_smtp        = false;
> $imap_server_type       = 'courier';
> $invert_time            = false;
> $optional_delimiter     = '.';
> $encode_header_key      = '';
>
> $default_folder_prefix          = 'INBOX.';
> $trash_folder                   = 'Trash';
> $sent_folder                    = 'Sent';
> $draft_folder                   = 'Drafts';
> $default_move_to_trash          = true;
> $default_move_to_sent           = true;
> $default_save_as_draft          = true;
> $show_prefix_option             = false;
> $list_special_folders_first     = true;
> $use_special_folder_color       = true;
> $auto_expunge                   = true;
> $default_sub_of_inbox           = false;
> $show_contain_subfolders_option = false;
> $default_unseen_notify          = 2;
> $default_unseen_type            = 1;
> $auto_create_special            = true;
> $delete_folder                  = true;
> $noselect_fix_enable            = false;
>
> $data_dir                 = '/var/lib/squirrelmail/data/';
> $attachment_dir           = '/var/spool/squirrelmail/attach/';
> $dir_hash_level           = 0;
> $default_left_size        = '150';
> $force_username_lowercase = true;
> $default_use_priority     = true;
> $hide_sm_attributions     = false;
> $default_use_mdn          = true;
> $edit_identity            = true;
> $edit_name                = true;
> $hide_auth_header         = false;
> $allow_thread_sort        = false;
> $allow_server_sort        = false;
> $allow_charset_search     = true;
> $uid_support              = true;
>
>
> $default_use_javascript_addr_book = false;
> $abook_global_file = '';
> $abook_global_file_writeable = false;
> $abook_global_file_listing = true;
> $abook_file_line_length = 2048;
>
> $addrbook_dsn = '';
> $addrbook_table = 'address';
>
> $prefs_dsn = '';
> $prefs_table = 'userprefs';
> $prefs_user_field = 'user';
> $prefs_key_field = 'prefkey';
> $prefs_val_field = 'prefval';
> $addrbook_global_dsn = '';
> $addrbook_global_table = 'global_abook';
> $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';
>
> $config_location_base     = '';
>
> @include SM_PATH . 'config/config_local.php';
>
> /**
>  * Make sure there are no characters after the PHP closing
>  * tag below (including newline characters and whitespace).
>  * Otherwise, that character will cause the headers to be
>  * sent and regular output to begin, which will majorly screw
>  * things up when we try to send more headers later.
>  */
> ?>
>
>
> Dovecot config:
>
> base_dir = /var/run/dovecot/
> protocols = imap imaps pop3 pop3s
> ssl_disable = no
>
> disable_plaintext_auth = no
> listen=*
>
> syslog_facility = mail
>
> login_greeting = Dovecot ready.
>
> mail_location = maildir:/var/mail/virtual/%d/%n
>
> mail_extra_groups = mail
>
>
> protocol imap {
> }
>
> namespace private {
>  prefix = INBOX.
>  inbox = yes
> }
>
> protocol pop3 {
>  pop3_uidl_format = %u-%v
> }
>
> protocol lda {
>  postmaster_address = postmaster@***
>  auth_socket_path = /var/run/dovecot/auth-master
>  mail_plugins = cmusieve
> }
>
> auth default {
>  mechanisms = plain
>  userdb sql {
>   args = /etc/dovecot/dovecot-sql.conf
>  }
>
>  passdb sql {
>   args = /etc/dovecot/dovecot-sql.conf
>  }
>
>  socket listen {
>   client {
>    path = /var/spool/postfix/private/auth
>    mode = 0660
>    user = postfix
>    group = postfix
>   }
>
>   master {
>    path = /var/run/dovecot/auth-master
>    mode = 0660
>    user = vmail
>    group = mail
>   }
>  }
>
>  user = vmail
> }
>
> auth pysieved {
>  mechanisms = plain
>  passdb sql {
>   args = /etc/dovecot/dovecot-sql.conf
>  }
>
>  userdb sql {
>   args = /etc/dovecot/dovecot-sql.conf
>  }
>
>  socket listen {
>   client {
>    path = /var/run/pysieved/auth
>    mode = 0660
>    user = vmail
>    group = mail
>   }
>
>  master {
>   path = /var/run/pysieved/auth-master
>   mode = 0660
>   user = vmail
>   group = mail
>  }
> }
>
> user = vmail
> }
>
> plugin {
> }
>
>
> dovecot-sql.conf:
>
> driver = mysql
> connect = host=localhost dbname=mail user=dovecot password=***
> password_query = SELECT `password` FROM users WHERE `user`='%n' and `domain`='%d';
>
> user_query = SELECT concat('/var/mail/virtual/', `domain`, '/',`user`) as home, '1111' as uid, '8' as gid FROM users WHERE `user`='%n' and `domain`='%d';
>
>
> SM - configtest.php
>
>
>   SquirrelMail configtest
>
> This script will try to check some aspects of your SquirrelMail
> configuration and point you to errors whereever it can find them. You
> need to go run conf.pl in the config/ directory first before you run
> this script.
>
> SquirrelMail version:   *1.4.9a*
> Config file version:    *1.4.0*
> Config file last modified:      *13 January 2008 16:34:39*
>
> Checking PHP configuration...
>     PHP version 5.2.0-8+etch9 OK.
>     PHP extensions OK.
> Checking paths...
>     Data dir OK.
>     Attachment dir OK.
>     Plugins are not enabled in config.
>     Themes OK.
>     Default language OK.
>     Base URL detected as: https://***/src (location base autodetected)
> Checking outgoing mail service....
>     SMTP server OK (220 *** ESMTP Server)
> Checking IMAP service....
>     IMAP server ready (* OK Dovecot ready.)
>     Capabilities: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES
> MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
> STARTTLS AUTH=PLAIN
> Checking internationalization (i18n) settings...
>      gettext - Gettext functions are available. You must have
> appropriate system locales compiled.
>      mbstring - Mbstring functions are available.
>      recode - Recode functions are unavailable.
>      iconv - Iconv functions are available.
>      timezone - Webmail users can change their time zone settings.
> Checking database functions...
>     not using database functionality.
>
> Congratulations, your SquirrelMail setup looks fine to me!

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux