LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2014, 04:05 AM   #1
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Rep: Reputation: Disabled
squirrelmail option not showing


I have installed squirrelmail, dovecot, postfix doing mailserver system. I also installed plugins for squirrelmail: compatibility, change_passwd. I use firefox to send/receive email ok but squirrelmail option showing blank, Now I want to change password but not showing in options. How do I config? Please help me! Thanks so much.
About OS system:
SquirrelMail 1.4.22-4.el6.noarch
Compatibility-2.0.16
Change_passwd-4.0-1.2.8
Php-5.3.3
Httpd-2.2.15-31.el6
UW-IMAP dovecot-2.0.9-7.el6
SMTP server postfix-2.6.6-6.el6
OS: CentOS 6.4 64bit
 
Old 09-29-2014, 05:29 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
Now I want to change password but not showing in options. How do I config?
Please read the INSTALL file that comes with the tarball

Regards
 
Old 09-29-2014, 05:42 AM   #3
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
INSTALL file detail squirrelmail

<?php

/**
* SquirrelMail Configuration File
* Created using the configure script, conf.pl
*/

global $version;
$config_version = '1.4.0';
$config_use_color = 1;

$org_name = "Cty TNHH MTV Cap Nuoc Trung An";
$org_logo = SM_PATH . 'images/logota.png';
$org_logo_width = '308';
$org_logo_height = '111';
$org_title = "Mailserver TrungAn System";
$signout_page = '';
$frame_top = '_top';

$provider_uri = 'http://squirrelmail.org/';

$provider_name = 'SquirrelMail';

$motd = "";

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

$domain = 'capnuoctrungan.vn';
$imapServerAddress = 'mail.capnuoctrungan.vn';
$imapPort = 143;
$useSendmail = false;
$smtpServerAddress = 'mail.capnuoctrungan.vn';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
$pop_before_smtp = false;
$pop_before_smtp_host = '';
$imap_server_type = 'uw';
$invert_time = false;
$optional_delimiter = '/';
$encode_header_key = '';

$default_folder_prefix = 'mail/';
$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 = 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;
$hide_auth_header = false;
$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] = 'change_passwd';
$plugins[4] = 'calendar';
$plugins[5] = 'info';
$plugins[6] = 'filters';
$plugins[7] = 'translate';
$plugins[8] = 'message_details';
$plugins[9] = 'compatibility';
$plugins[10] = 'cpanel_pw_changer';
$plugins[11] = 'listcommands';
$plugins[12] = 'spamcop';
$plugins[13] = 'fortune';
$plugins[14] = 'mail_fetch';
$plugins[15] = 'administrator';

$theme_css = '';
$theme_default = 0;
$theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
$theme[0]['NAME'] = 'Default';
$theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
$theme[1]['NAME'] = 'Plain Blue';
$theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
$theme[2]['NAME'] = 'Sand Storm';
$theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
$theme[3]['NAME'] = 'Deep Ocean';
$theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
$theme[4]['NAME'] = 'Slashdot';
$theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
$theme[5]['NAME'] = 'Purple';
$theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
$theme[6]['NAME'] = 'Forest';
$theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
$theme[7]['NAME'] = 'Ice';
$theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
$theme[8]['NAME'] = 'Sea Spray';
$theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
$theme[9]['NAME'] = 'Blue Steel';
$theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
$theme[10]['NAME'] = 'Dark Grey';
$theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
$theme[11]['NAME'] = 'High Contrast';
$theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
$theme[12]['NAME'] = 'Black Bean Burrito';
$theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
$theme[13]['NAME'] = 'Servery';
$theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
$theme[14]['NAME'] = 'Maize';
$theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
$theme[15]['NAME'] = 'BluesNews';
$theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
$theme[16]['NAME'] = 'Deep Ocean 2';
$theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
$theme[17]['NAME'] = 'Blue Grey';
$theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
$theme[18]['NAME'] = 'Dompie';
$theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
$theme[19]['NAME'] = 'Methodical';
$theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
$theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
$theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
$theme[21]['NAME'] = 'In The Pink (Changes)';
$theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
$theme[22]['NAME'] = 'Kind of Blue (Changes)';
$theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
$theme[23]['NAME'] = 'Monostochastic (Changes)';
$theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
$theme[24]['NAME'] = 'Shades of Grey (Changes)';
$theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
$theme[25]['NAME'] = 'Spice of Life (Changes)';
$theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
$theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
$theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
$theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
$theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
$theme[28]['NAME'] = 'Holiday - Christmas';
$theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
$theme[29]['NAME'] = 'Darkness (Changes)';
$theme[30]['PATH'] = SM_PATH . 'themes/random.php';
$theme[30]['NAME'] = 'Random (Changes every login)';
$theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
$theme[31]['NAME'] = 'Midnight';
$theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
$theme[32]['NAME'] = 'Alien Glow';
$theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
$theme[33]['NAME'] = 'Dark Green';
$theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
$theme[34]['NAME'] = 'Penguin';

$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';
$smtp_sitewide_user = '';
$smtp_sitewide_pass = '';
$use_imap_tls = false;
$use_smtp_tls = false;
$session_name = 'SQMSESSID';
$only_secure_cookies = true;
$disable_security_tokens = false;
$check_referrer = '';

$config_location_base = '';

@include SM_PATH . 'config/config_local.php';
 
Old 09-29-2014, 06:35 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
According to the plugin documentation:
Quote:
Requires: SquirrelMail 1.2.8, Compatibility plugin 1.3
So I guess you have to downgrade the compatibility plugin
 
Old 09-30-2014, 03:16 AM   #5
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for your help! I have downgraded compatibility-1.3, squirrelmail option show change password. But have error:"Verify the permissions of the chpasswd program - see README file". I can't change passwd. Help me please!
 
Old 09-30-2014, 03:38 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
Originally Posted by trieu1929 View Post
Thanks for your help! I have downgraded compatibility-1.3, squirrelmail option show change password. But have error:"Verify the permissions of the chpasswd program - see README file". I can't change passwd. Help me please!
Quoting from the INSTALL file in the plugin's directory:
Quote:
3) Make sure the file permissions on the chpasswd file are
correct (unless you'll be using the 'pw' utility on
FreeBSD). Substitue the name of the user that your web
server runs under for "apache" in the command below:

$ chown root:apache chpasswd
$ chmod 4750 chpasswd
 
Old 09-30-2014, 03:57 AM   #7
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
[root@server2 ~]# chown root:apache chpasswd
chown: cannot access `chpasswd': No such file or directory

Again, Thanks for your help! I'm new linuxman. I don't know how to solve! I'm searching google.
Thanks
 
Old 09-30-2014, 04:19 AM   #8
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
I have chown root:apache chpasswd and chmod 4750 chpasswd but error showing the same. "Verify the permissions of the chpasswd program - see README file". Help me

Last edited by trieu1929; 09-30-2014 at 04:25 AM.
 
Old 09-30-2014, 04:23 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
[root@server2 ~]# chown root:apache chpasswd
chown: cannot access `chpasswd': No such file or directory
chpasswd is located in the squirrelmail directory
 
Old 09-30-2014, 04:39 AM   #10
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
I have chown root:apache chpasswd and chmod 4750 chpasswd but error showing the same. "Verify the permissions of the chpasswd program - see README file". Help me
 
Old 09-30-2014, 05:01 AM   #11
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
Originally Posted by trieu1929 View Post
I have chown root:apache chpasswd and chmod 4750 chpasswd but error showing the same. "Verify the permissions of the chpasswd program - see README file". Help me
What gives
Code:
ps -ef|grep httpd
ls -l chpasswd
also since you're running Centos, it could be SELinux that does not allow webserver to execute chpasswd
 
Old 09-30-2014, 05:06 AM   #12
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
[root@server2 change_passwd]# ps -ef|grep httpd
root 23478 1 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23480 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23481 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23482 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23483 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23484 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23485 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23486 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
apache 23487 23478 0 15:19 ? 00:00:00 /usr/sbin/httpd
root 23831 22011 0 16:00 pts/1 00:00:00 grep httpd
and
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
and
[root@server2 change_passwd]# ls -l chpasswd
-rwxr-x--- 1 root apache 9873 Oct 22 2002 chpasswd

Thanks for your attend!
 
Old 09-30-2014, 05:15 AM   #13
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
ls -l chpasswd
-rwxr-x--- 1 root apache 9873 Oct 22 2002 chpasswd
The suid bit is not set, so you need to run again:
Code:
chmod 4750 chpasswd
 
Old 09-30-2014, 05:20 AM   #14
trieu1929
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
[root@server2 change_passwd]# chmod 4750 chpasswd
[root@server2 change_passwd]# ll
total 60
-rwsr-x--- 1 root apache 9873 Oct 22 2002 chpasswd
-rw-rw-r-- 1 root root 4985 Oct 22 2002 chpasswd.c

result is also the same error: Verify the permissions of the chpasswd program - see README file.
 
Old 09-30-2014, 05:38 AM   #15
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
Originally Posted by trieu1929 View Post
[root@server2 change_passwd]# chmod 4750 chpasswd
[root@server2 change_passwd]# ll
total 60
-rwsr-x--- 1 root apache 9873 Oct 22 2002 chpasswd
-rw-rw-r-- 1 root root 4985 Oct 22 2002 chpasswd.c

result is also the same error: Verify the permissions of the chpasswd program - see README file.
It should work. Could you try with a different browser to see what happens?
Also you can try:
Code:
chmod 4755 chpasswd
 
  


Reply

Tags
mailserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squirrelmail is not showing interface... taruvinga Linux - Server 5 07-25-2008 06:58 PM
Squirrelmail is not showing interface... taruvinga Linux - Newbie 0 06-03-2008 12:03 PM
Squirrelmail change url option? sbabcock23 Linux - Software 2 06-05-2007 06:56 PM
Squirrelmail not showing received emails. nayyares Linux - General 1 01-04-2007 11:33 AM
grub isnt showing option for BSD aditya1 Ubuntu 2 03-18-2006 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration