Selcuk Yazar | 3 Aug 12:12 2012
Picon

.pref file issue-help

Hi


we have squirrelmail 1.4.0 on Php 5.3.3. on redhat. One user change own pref file, all user's pref file become same pref file.
what is the problem. this started today ?

thanks in advanvce.

--
Selçuk YAZAR
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
Paul Lesniewski | 3 Aug 20:18 2012

Re: .pref file issue-help

On Fri, Aug 3, 2012 at 3:12 AM, Selcuk Yazar <selcuk.yazar <at> gmail.com> wrote:
> Hi
>
> we have squirrelmail 1.4.0 on Php 5.3.3. on redhat.

Are you sure it's version 1.4.0?  How did you check?  If it is, you
need to upgrade badly.

> One user change own pref
> file, all user's pref file become same pref file.
> what is the problem.

This is not a SquirrelMail problem UNLESS the affected accounts have
ALL been logged into one at a time by the SAME person on the SAME
computer in the SAME browser WITHOUT logging out.  If that's the case,
see the Login Check plugin.

> this started today ?

You ask "this started today" as if we are your service provider.  The
only person who knows what changed in your system today is you or your
system administrator.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Ph. Bourdin | 3 Aug 23:26 2012
Picon

new "passwd" plugin


	Hello Developers,

I have a new plugin that I would like to get published, because I
believe that it is of great help for changing user passwords.
(Assuming here that a squirrelmail user is a regular system user.)

As recently reported in the squirrelmail-plugin list, the currently
listed "change_passwd" plugin is neither up-to-date nor very
user-friendly. The reason for that is the usage of a C-program that
imitates a POSIX "passwd" on /etc/shadow, which requires root privileges
and requires the user to know about and adapt to the encryption scheme.

I would like to present here a different approach: This plugin uses only
POSIX tools and needs only user privileges to change a password and thus
doesn't need to be executed as root, nor anyone has to know about the
encryption the OS is using to store its passwords, neither one needs to
know about the place, where the password file is located.

Please have a look on how it works (using PHP, perl, sudo, and passwd):
http://www.Bourdin.ch/Philippe/archiv/change_user_passwd.tar.gz

Some advise would be of great help for me, on how to include this in the
plugins section on the squirrelmail website...

Thanks and best regards,

	Philippe.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Selcuk Yazar | 8 Aug 09:19 2012
Picon

Message Filters

Hi,


We are using sqm (1.4.18 - i checked it, not 1.4.0 :) ) . Recorded message filters clear when we next logon to webmail. is this normal behaviour ? 

and plugins that we installed

 Installed Plugins
    1. abook_group
    2. abook_take
    3. bookmarks
    4. bug_report
    5. calendar
    6. compatibility
    7. delete_move_next
    8. filters
    9. fortune
    10. html_mail
    11. listcommands
    12. login_auto
    13. mail_fetch
    14. message_details
    15. msg_flags
    16. newmail
    17. notes
    18. preview_pane
    19. sent_subfolders
    20. show_user_and_ip
    21. smallcal
    22. spamcop
    23. squirrelspell
    24. todo
    25. translate
    26. view_as_html
    27. check_quota'; //only works on some servers
    28. calendar_sql_backend'; //enable and configure if needed
    29. change_ldappass
    30. login_check

and data folder's mode 755 

thanks in advance.
--
Selçuk YAZAR

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
Tomas Kuliavas | 10 Aug 20:25 2012
Picon
Picon

Re: Message Filters


selcukyazar wrote:
> 
> Hi,
> 
> We are using sqm (1.4.18 - i checked it, not 1.4.0 :) ) . Recorded message
> filters clear when we next logon to webmail. is this normal behaviour ?
> 
> and plugins that we installed
> 
>  Installed Plugins
>     1. abook_group
>     2. abook_take
>     3. bookmarks
>     4. bug_report
>     5. calendar
>     6. compatibility
>     7. delete_move_next
>     8. filters
>     9. fortune
>     10. html_mail
>     11. listcommands
>     12. login_auto
>     13. mail_fetch
>     14. message_details
>     15. msg_flags
>     16. newmail
>     17. notes
>     18. preview_pane
>     19. sent_subfolders
>     20. show_user_and_ip
>     21. smallcal
>     22. spamcop
>     23. squirrelspell
>     24. todo
>     25. translate
>     26. view_as_html
>     27. check_quota'; //only works on some servers
>     28. calendar_sql_backend'; //enable and configure if needed
>     29. change_ldappass
>     30. login_check
> 
> and data folder's mode 755

Where do you store user preferences? Files or database? If data folder
permissions are 755, who owns that folder?

How complex your filtering rules are?

Could you make sure that your SquirrelMail configuration is not broken by
comments next to check_quota and calendar_sql_backend plugins. Please note
that config.php is parsed by conf.pl utility and your custom comments can
cause config file corruption. Utility is not resigned to handle all possible
PHP language structures in config.php.
--

-- 
View this message in context: http://old.nabble.com/Message-Filters-tp34270185p34283224.html
Sent from the squirrelmail-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Dian Georgiev | 15 Aug 22:35 2012
Picon

A SquirrelMail Skin

Hello,

Paul Lesniewski (SquirrelMail) advised me to ask here for html assistance in implementation of skin of the application.

Please find attached my graphic/visual design and let me know if you would like to help me with the implementation.

I could send you the PSD file or to slice the image according to your requirements.

Best regards,
Dian


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
李辰 | 20 Aug 06:41 2012
Picon

small problem about retrieving variable from SESSION‏

Hi, all,

I am new to Squirrel mail and not sure if this is the right place to ask questions. In a research project, I need for some reason to modify the sm code. Specifically, I need to modify the right_main.php, so that each time when I click "inbox" it will not call sqimap_login() again if we already have one imap session remaining. I do not logout from imap explicitly.   Only the first time we need to create a imap connection. My problem is, with the below code(the output followed), I cannot get back the imapConnection when I click inbox or simply refresh the page. 


Any suggestions? Thanks very much.


/* Open a connection on the imap port (143) */
global $imapConnection;
//var_dump("$username");
//var_dump("$imapConnection");
sqgetGlobalVar('imap',$imapConnection,SQ_SESSION);
echo "Before: "; var_dump("$imapConnection");echo "<br />";
//echo "Before: $imapConnection <br />";

if(empty($imapConnection)) {
     $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
     sqsession_register($imapConnection,'imap');
     sqgetGlobalVar('imap',$imap,SQ_SESSION);//check if I've put imap connection descriptor  to SESSION successfully.
     var_dump("$imap");
     }
echo "After:"; var_dump("$imapConnection");


 The output is : 

Before: string(1) "0" 
string(15) "Resource id #65" After:string(15) "Resource id #65"


Regards,
Jerry
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
Tomas Kuliavas | 20 Aug 18:40 2012
Picon
Picon

Re: small problem about retrieving variable from SESSION‏


李辰-2 wrote:
> 
> 
> Hi, all,
> I am new to Squirrel mail and not sure if this is the right place to ask
> questions. In a research project, I need for some reason to modify the sm
> code. Specifically, I need to modify the right_main.php, so that each time
> when I click "inbox" it will not call sqimap_login() again if we already
> have one imap session remaining. I do not logout from imap explicitly.  
> Only the first time we need to create a imap connection. My problem is,
> with the below code(the output followed), I cannot get back the
> imapConnection when I click inbox or simply refresh the page. 
> 
> Any suggestions? Thanks very much.

Connections are not persistent in PHP scripts and IMHO you can't store
socket objects in session. Every time you call a script, you are creating
new environment for it.

See information about IMAP proxy.
(http://www.squirrelmail.org/docs/admin/admin-6.html#ss6.6)

-- 
Tomas
--

-- 
View this message in context: http://old.nabble.com/small-problem-about-retrieving-variable-from-SESSION%E2%80%8F-tp34322640p34325379.html
Sent from the squirrelmail-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lichen970 | 21 Aug 02:52 2012
Picon

Re: small problem about retrieving variable from SESSION‏


Thanks for relying me. And here's something I may need to clarify. I am not
creating a new PHP session I think. The session IDs are the same. I just
want to only maintain one IMAP connection within a sqmail session. I am not
trying to store the sq session itself. 

Tomas Kuliavas wrote:
> 
> 
> 李辰-2 wrote:
>> 
>> 
>> Hi, all,
>> I am new to Squirrel mail and not sure if this is the right place to ask
>> questions. In a research project, I need for some reason to modify the sm
>> code. Specifically, I need to modify the right_main.php, so that each
>> time when I click "inbox" it will not call sqimap_login() again if we
>> already have one imap session remaining. I do not logout from imap
>> explicitly.   Only the first time we need to create a imap connection. My
>> problem is, with the below code(the output followed), I cannot get back
>> the imapConnection when I click inbox or simply refresh the page. 
>> 
>> Any suggestions? Thanks very much.
> 
> Connections are not persistent in PHP scripts and IMHO you can't store
> socket objects in session. Every time you call a script, you are creating
> new environment for it.
> 
> See information about IMAP proxy.
> (http://www.squirrelmail.org/docs/admin/admin-6.html#ss6.6)
> 
> -- 
> Tomas
> 

--

-- 
View this message in context: http://old.nabble.com/small-problem-about-retrieving-variable-from-SESSION%E2%80%8F-tp34322640p34327143.html
Sent from the squirrelmail-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lichen970 | 21 Aug 02:54 2012
Picon

Re: small problem about retrieving variable from SESSION‏


Maybe there's some format issue in my first post. So just repost it as below.

Hi, all,

I am new to Squirrel mail and not sure if this is the right place to ask
questions. In a research project, I need for some reason to modify the sm
code. Specifically, I need to modify the right_main.php, so that each time
when I click "inbox" it will not call sqimap_login() again if we already
have one imap session remaining. I do not logout from imap explicitly.  
Only the first time we need to create a imap connection. My problem is, with
the below code(the output followed), I cannot get back the imapConnection
when I click inbox or simply refresh the page. 

Any suggestions? Thanks very much.

/* Open a connection on the imap port (143) */
global $imapConnection;
//var_dump("$username");
//var_dump("$imapConnection");
sqgetGlobalVar('imap',$imapConnection,SQ_SESSION);
echo "Before: "; var_dump("$imapConnection");echo "<br />";
//echo "Before: $imapConnection <br />";

if(empty($imapConnection)) {
     $imapConnection = sqimap_login($username, $key, $imapServerAddress,
$imapPort, 0);
     sqsession_register($imapConnection,'imap');
     sqgetGlobalVar('imap',$imap,SQ_SESSION);//check if I've put imap
connection descriptor  to SESSION successfully.
     var_dump("$imap");
     }
echo "After:"; var_dump("$imapConnection");

 The output is : 

Before: string(1) "0" 
string(15) "Resource id #65" After:string(15) "Resource id #65"

Thanks
--

-- 
View this message in context: http://old.nabble.com/small-problem-about-retrieving-variable-from-SESSION%E2%80%8F-tp34322640p34327147.html
Sent from the squirrelmail-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel


Gmane