[SM-USERS] Re: Large squirrelmail install

2005-04-28 Thread Daniel W
Jason S wrote: I've been using squirrelmail successfully for about 2 years with a small userbase (about 1000). I have the opportunity to setup a webmail system for a large company (approx 150,000) users. They currently only offer pop3 access and a heavily modified version of Omail for webmail. The

[SM-USERS] Error on message send. Query Fetch message

2005-04-28 Thread Tony Sciortino
I have a user that was replying to a message and when they hit send they got the following message:   ERROR: Could not complete request. Query: FETCH 2:2 BODY[HEADER] Reason Given: No matching messages   The user was then kicked back to the Inbox and the message was showing up as unre

Re: [SM-USERS] find BUG in version 1.4.4

2005-04-28 Thread Jonathan Angliss
Hello [EMAIL PROTECTED], On Thursday, April 28, 2005, you wrote: > Thank you for your kindness to develop squirrel mail. > I have downloaded latest version 1.4.4 and installed. > Its very wonderful. > I try to setup postgres for address book yesterday. > But have Error, so I read source program a

[SM-USERS] find BUG in version 1.4.4

2005-04-28 Thread akamatsu
Thank you for your kindness to develop squirrel mail. (B (BI have downloaded latest version 1.4.4 and installed. (BIts very wonderful. (BI try to setup postgres for address book yesterday. (BBut have Error, so I read source program and find BUG. (B (B@version 1.9.2.8 2005/01/09 22:36:27 (B@

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Paul Lesneiwski
(B (BJohn Madden wrote: (B>>>Using persistence is a shield against this sort of problem. It allows (B>>>changes (B>>>to (B>>>be sync'd NFS-wise and to ensure that "the previous web server" isn't doing (B>>>anything else with the session file. All user activity within the (B>>>persisten

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread p dont think
Jonathan Angliss wrote: Hello p, Thursday, April 28, 2005, 3:44:33 PM, you wrote: - User 1 logs in to webserver 1, gets session id abc123 - User 2 logs in to webserver 2, gets session id abc123 and trashes current contents of abc123 session file Can this happen? What is the probability of two

Re: [SM-USERS] Shared Calendar

2005-04-28 Thread Paul Lesneiwski
Joel Zucker wrote: :-) I'm just learning to work with C++ and MFC (Microsoft's Foundation Classes). Half the time I saying, "I don't understand, why did they do this THIS way???". But they is da giant. So I just do it their way and shake da head. I'll just use Textpad to convert the file until (i

RE: [SM-USERS] Problem with INBOX.Sent in all versions of SM

2005-04-28 Thread Tony Sciortino
Hello everyone. Has anyone had a chance to look at this issue? Even though it seems there was a fix put out it is not working. Thoughts? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Sciortino Sent: Saturday, April 23, 2005 3:59 PM To: squirrelmai

Re: [SM-USERS] Backing up folders

2005-04-28 Thread Ben Holt
Stuart Carroll said the following on 04/28/05 15:08: > I know that the Squirrelmail Inbox can be found in var/spool/mail and > backed up as one file. But I can't seem to located any of my folders. > Where are messages that are *not* in the Inbox kept? Your IMAP server takes care of storing your

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> Looking at the php session code in the ext/session/mod_files.c file > which is what I believe is used to handle the file based sessions, > flock() is called on the session file itself, using an exclusive lock. > Maybe I missed a bit of the thread somewhere on this bit... what is > the problem wit

[SM-USERS] Backing up folders

2005-04-28 Thread Stuart Carroll
I know that the Squirrelmail Inbox can be found in var/spool/mail and backed up as one file. But I can't seem to located any of my folders. Where are messages that are *not* in the Inbox kept? Thanks, Stuart Carroll --- SF.Net email is spon

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Jonathan Angliss
Hello p, Thursday, April 28, 2005, 3:44:33 PM, you wrote: - User 1 logs in to webserver 1, gets session id abc123 - User 2 logs in to webserver 2, gets session id abc123 and trashes current contents of abc123 session file >>> Can this happen? What is the probability of tw

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
>> Using persistence is a shield against this sort of problem. It allows >> changes >> to >> be sync'd NFS-wise and to ensure that "the previous web server" isn't doing >> anything else with the session file. All user activity within the >> persistence >> timeout is bound to "the previous web s

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Paul Lesneiwski
John Madden wrote: If using NFS as the session store, you don't even have to get this specific -- one user using "his" session from two servers simultaneously will eventually see problems. Isn't that an argument not to use LVS persistence? Using persistence is a shield against this sort of proble

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> Although John's example of a single user hitting the same legitimate > session file just by doing multiple simultaneous requests from different > tabs/windows for a single login does seem like a potential problem... > again, unless PHP's locking mechanism is file system-based. (...And as long as

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
>> If using NFS as the session store, you don't even have to get this specific >> -- >> one >> user using "his" session from two servers simultaneously will eventually see >> problems. > > Isn't that an argument not to use LVS persistence? Using persistence is a shield against this sort of proble

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread p dont think
Jonathan Angliss wrote: Hello John Madden, On Thursday, April 28, 2005, you wrote: - User 1 logs in to webserver 1, gets session id abc123 - User 2 logs in to webserver 2, gets session id abc123 and trashes current contents of abc123 session file If using NFS as the session store, you don't

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread p dont think
Jonathan Angliss wrote: Hello Rafael Martinez Guerrero, On Thursday, April 28, 2005, you wrote: On Thu, 2005-04-28 at 01:01, Jonathan Angliss wrote: - User 1 logs in to webserver 1, gets session id abc123 - User 2 logs in to webserver 2, gets session id abc123 and trashes current contents o

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Paul Lesneiwski
John Madden wrote: - User 1 logs in to webserver 1, gets session id abc123 - User 2 logs in to webserver 2, gets session id abc123 and trashes current contents of abc123 session file If using NFS as the session store, you don't even have to get this specific -- one user using "his" session

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread p dont think
(B (BRafael Martinez Guerrero wrote: (B> On Wed, 2005-04-27 at 23:57, p dont think wrote: (B> (B> (B>>>The only change in the SM code to save session data in a DB is a (B>>>"require_once("db_sessions.php")" line in functions/global.php to (B>>>include a file we have programed to define t

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread p dont think
>>>We have a cluster of 4 linux servers running SM without problems. (B>>> (B>>>3 webservers running apache/PHP/SM and a database server running (B>>>postgreSQL for sessions/addressbooks/userprefs. (B>>> (B>>>We use LVS to access the webservers so we have full (B>>>failover/redundancy/load b

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> So your saying that between children of a webserver PHP can handle it, > but if, for example, you set up 2 webserver instances on the same machine > with different IPs to the same physical filesystem then it too would be an > issue? Is there some other directory that php uses, or is it sema

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> I'm still not sure WHY they will see problems. What is the difference > of 2 servers using a common store compared to 1 server with multiple accesses > to a single store? One server "knows what it's doing." One server has no idea what anyone else is doing. John -- John Madden UNIX S

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tomas Kuliavas
>> >Ports, but according to php-info : >> > >> > './configure' '--enable-versioning' '--enable-memory-limit' >> > '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' >> > '--disable-all' '--with-regex=php' '--with-openssl=/usr' >> > '--with-openssl-dir=/usr' '--with-apxs=/usr/l

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > Ports, but according to php-info : > > > > './configure' '--enable-versioning' '--enable-memory-limit' > > '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' > > '--disable-all' '--with-regex=php' '--with-openssl=/usr' > > '--with-openssl-dir=/usr' '--with-apxs=/usr/local/

Re: [SM-USERS] Shared Calendar

2005-04-28 Thread Joel Zucker
:-) I'm just learning to work with C++ and MFC (Microsoft's Foundation Classes). Half the time I saying, "I don't understand, why did they do this THIS way???". But they is da giant. So I just do it their way and shake da head. I'll just use Textpad to convert the file until (if ya decide) ther

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tomas Kuliavas
>> >> >> You forgot to provide list of installed plugins. SquirrelMail stock >> plugins should not create this error. Remove all enabled plugins >> and >> enable them one by one. >> >> >>> No plugins installed. >> >> >> >> what modifications are made in squirrelmail script

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > > Is this possible even with plain NFS if both servers point to the same > > session store over NFS? I thought NFS was designed to avoid that. Is > > the only solution to run NFS on top of something like GFS? What a hassle. > > Yes. However it is that PHP prevents multiple scripts from ac

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > > - User 1 logs in to webserver 1, gets session id abc123 > > > > - User 2 logs in to webserver 2, gets session id abc123 and trashes > > current contents of abc123 session file > > If using NFS as the session store, you don't even have to get this specific > -- one > user using "his

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> On Thu, 2005-04-28 at 01:01, Jonathan Angliss wrote: > > > - User 1 logs in to webserver 1, gets session id abc123 > > - User 2 logs in to webserver 2, gets session id abc123 and trashes > > current contents of abc123 session file > > Can this happen? What is the probability of two diff

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tomas Kuliavas
>> No, why? Since I've moved sessions to an NFS shared point that >> should be fine. No? > > You WILL get goofy behaviour with this due to NFS's lack of flock() > support. SQM > will work, but strange things will happen (messages being deleted from the > wrong > folder, for example) when sess

Re: [SM-USERS] Some new mailboxes don't create folders properly

2005-04-28 Thread Jonathan Angliss
Hello Dale Kunze, On Thursday, April 28, 2005, you wrote: > I recently created a number of new (cyrus) mailboxes. When connecting to > them through Squirrelmail, some of them give this error: > ERROR : Could not complete request. > Query: SUBSCRIBE "INBOX.Sent" > Reason Given: Subscribe: System I

RE: [SM-USERS] Some new mailboxes don't create folders properly

2005-04-28 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:squirrelmail- > [EMAIL PROTECTED] On Behalf Of Dale Kunze > Sent: Thursday, April 28, 2005 9:43 AM > To: Squirrelmail user list > Subject: [SM-USERS] Some new mailboxes don't create folders properly > > I recently created a number of

Re: [SM-USERS] Some new mailboxes don't create folders properly

2005-04-28 Thread Marc Groot Koerkamp
Dale Kunze wrote: > I recently created a number of new (cyrus) mailboxes. When connecting to > them through Squirrelmail, some of them give this error: > > ERROR : Could not complete request. > Query: SUBSCRIBE "INBOX.Sent" > Reason Given: Subscribe: System I/O error > > > Most of the new mailboxe

Re: [SM-USERS] charset dismatch & html display invisible

2005-04-28 Thread Tomas Kuliavas
> Hello list: > > I am a new admin and I have searched this list > already, no luck to find answers for my two problems: > > (1) when I receive an email which has header > "Content-Type: text/plain; charset=us-ascii" but > actually contains other charset characters in the > email body, say, Chinese

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Jonathan Angliss
Hello John Madden, On Thursday, April 28, 2005, you wrote: >> - User 1 logs in to webserver 1, gets session id abc123 >> >> - User 2 logs in to webserver 2, gets session id abc123 and trashes >> current contents of abc123 session file > If using NFS as the session store, you don't even ha

[SM-USERS] Some new mailboxes don't create folders properly

2005-04-28 Thread Dale Kunze
I recently created a number of new (cyrus) mailboxes. When connecting to them through Squirrelmail, some of them give this error: ERROR : Could not complete request. Query: SUBSCRIBE "INBOX.Sent" Reason Given: Subscribe: System I/O error Most of the new mailboxes act normally. I have deleted the

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> Why would the database see it as any different from a single > server? The database doesn't. The multiple clients will get inconsistent views of the data stored within it, though. John -- John Madden UNIX Systems Engineer Ivy Tech State College [EMAIL PROTECTED]

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > You WILL get goofy behaviour with this due to NFS's lack of flock() > > support. SQM > > will work, but strange things will happen (messages being deleted from the > > wrong > > folder, for example) > > I was going to say "that should never happen", but if one web server > clobbers another'

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > > No, why? Since I've moved sessions to an NFS shared point that > > should be fine. No? > > You WILL get goofy behaviour with this due to NFS's lack of flock() support. > > SQM will work, but strange things will happen (messages being deleted from > the wrong folder, for example) when s

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Jonathan Angliss
Hello Rafael Martinez Guerrero, On Thursday, April 28, 2005, you wrote: > On Thu, 2005-04-28 at 01:01, Jonathan Angliss wrote: >> >> - User 1 logs in to webserver 1, gets session id abc123 >> >> - User 2 logs in to webserver 2, gets session id abc123 and trashes >> current contents of a

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Tuc at Beach House
> > > You forgot to provide list of installed plugins. SquirrelMail stock > plugins should not create this error. Remove all enabled plugins and > enable them one by one. > > >>> No plugins installed. > >> > >> what modifications are made in squirrelmail scripts? > >> >

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> We do not want to use NFS for saving session data and there is anything > better than a database to keep data consistent. NFS should be fine with persistence, GFS should be fine all around, as long as PHP uses something that's NFS-safe for locking the files. For that matter though, if its loc

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> Is this possible even with plain NFS if both servers point to the same > session store over NFS? I thought NFS was designed to avoid that. Is > the only solution to run NFS on top of something like GFS? What a hassle. Yes. However it is that PHP prevents multiple scripts from accessing the s

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> No, not at all. Three consecutive request can be served by three > different webservers. So is there something in your SQL session handler (locking?) that prevents multiple servers from clashing? John -- John Madden UNIX Systems Engineer Ivy Tech State College [EMAIL PROTECTED]

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread John Madden
> - User 1 logs in to webserver 1, gets session id abc123 > > - User 2 logs in to webserver 2, gets session id abc123 and trashes > current contents of abc123 session file If using NFS as the session store, you don't even have to get this specific -- one user using "his" session from two

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Rafael Martinez Guerrero
On Thu, 2005-04-28 at 01:01, Jonathan Angliss wrote: > > - User 1 logs in to webserver 1, gets session id abc123 > > - User 2 logs in to webserver 2, gets session id abc123 and trashes > current contents of abc123 session file > Can this happen? What is the probability of two different

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Rafael Martinez Guerrero
On Wed, 2005-04-27 at 23:57, p dont think wrote: > > > The only change in the SM code to save session data in a DB is a > > "require_once("db_sessions.php")" line in functions/global.php to > > include a file we have programed to define the > > "session_set_save_handler()" code used to access the

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Rafael Martinez Guerrero
On Thu, 2005-04-28 at 00:14, John Madden wrote: > > I don't think this has been raised before. You are looking for a > > database replacement for the attachments directory? I suppose there > > could be an option to upload files straight to the db as blobs or > > something, but thus far there has

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Rafael Martinez Guerrero
On Thu, 2005-04-28 at 00:11, John Madden wrote: > > We use LVS to access the webservers so we have full > > failover/redundancy/load balancing at webserver level. The database is > > working perfect but we need to do something with it if we want to have > > an automatic failover/redundancy at this

Re: [SM-USERS] Load Balancing and session side effect

2005-04-28 Thread Rafael Martinez Guerrero
On Wed, 2005-04-27 at 23:57, p dont think wrote: [..] > > [.] > > > > Hello > > > > We have a cluster of 4 linux servers running SM without problems. > > > > 3 webservers running apache/PHP/SM and a database server running > > postgreSQL for sessions/addressbooks/userprefs. > > > >

Re: [SM-USERS] Shared Calendar

2005-04-28 Thread Paul Lesneiwski
Joel Zucker wrote: Hey Paul, Everything is working on the Squirrelmail side, but now I'm trying to use the exported ics file with Outlook and Outlook says there is something wrong with the format of the file. The error it gives is: ==

Re: [SM-USERS] Error Sending Message

2005-04-28 Thread Ean Kingston
On April 27, 2005 05:33 pm, Eric N. Valor wrote: > All: I continually get this message when trying to send mail via > squirrelmail. The filesystem is only 15% utilized (so it's not actually > an error of "no space left on device"). I likewise have no quotas set > on any filesystems on this serve

Re: [SM-USERS] Squirrelmail Advance search-- Help required

2005-04-28 Thread p dont think
Rajesh R R wrote: Hi All I am trying to make an advance search feature in Squirrelmail but unfortunatly it Why are you reinventing the wheel? Some people have put a LOT of work into creating an advanced search that you can try in the development stream (1.5.x). If you need more than it gives,

[SM-USERS] Squirrelmail Advance search-- Help required

2005-04-28 Thread Rajesh R R
Hi All I am trying to make an advance search feature in Squirrelmail but unfortunatly it is not working. I have some doubts in that which most of you may be knowing. I will explain by senario here. My search form have some fields like To, From, Body, Subject, Date before / After, flagged etc.. Wh