Re: Error when searching messages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error when searching messages

André Z. D. A.
Third try. Anyone around here can give me a bit of help, please?


> Maybe I started this message with the wrong sentence. So I'm writing again - but assuming someone will read the original message as needed, because it has all details that I imagine are needed.
>
> As the admin of a few Squirrelmail installations, I have reports of users that can't search their messages; they are using specific IMAP servers. Squirrelmail shows a strange error (see original message), which does not point me to anything to solve the problem, or to find the solution. May you help me?
>
> Another problem is that clicking in the message list headers to choose what field for message sorting causes an very bad error. Users cannot refresh message lists anymore! There is no way for them to reset the configuration. I must manually remove the sort option from each user configuration file.
>
> With Squirrelmail configured for each of these different IMAP servers, I run its configtest. No problem is pointed (see original message). So, why do I have these and other problems?
>
>> I get an error when searching my inbox for some subject. I use an IMAP server to this account.
>>
>> The error message (in Portuguese) is:
>>
>> ===============
>> ERRO:
>> Erro: pedido não pode ser completado.
>> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)])
>> Razão alegada: FETCH token is invalid
>> ===============
>>
>> Which should be something like this, in English:
>>
>> ===============
>> ERROR:
>> Error: request can't be completed.
>> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)])
>> Informed reason: FETCH token is invalid
>> ===============
>>
>> A configtest run on this install, right now, gives:
>>
>> ================================
>> 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.22
>> Config file version: 1.4.0
>> Config file last modified: 24 08 2015 02:31:37
>>
>> Checking PHP configuration...
>> PHP version 5.3.13 OK.
>> Running as me(123) / group(1000)
>> display_errors: 1
>> error_reporting: 22519
>> variables_order OK: EGPCS.
>> PHP extensions OK. Dynamic loading is enabled.
>> Checking paths...
>> Data dir OK.
>> Attachment dir OK.
>> Plugins OK.
>> Themes OK.
>> Default language OK.
>> Base URL detected as: https://my.domain.name.com/~squirrel/path/src (location base autodetected)
>> Checking outgoing mail service....
>> SMTP server OK (220 carretel.grude.ufmg.br ESMTP Service (Lotus Domino Release 8.5.3FP6HF1016) ready at Mon, 24 Aug 2015 02:32:47 -0300)
>> Checking IMAP service....
>> IMAP server ready (* OK Domino IMAP4 Server Release 8.5.3FP6HF1016 ready Mon, 24 Aug 2015 02:32:47 -0300)
>> Capabilities: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA UIDPLUS
>> Checking internationalization (i18n) settings...
>> gettext - Gettext functions are available. On some systems 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!
>>
>> ================================
>>
>> So. What should I do?
>>
>> There are other problems with Squirrelmail that I never tried to fix, but might be related: in the message lists, clicking on date, subject, size or date, to sort messages with them gives an error that I could only fix by manually editing the Squirrel config file, removing this sort option. The error makes it impossible to reopen the folder where I clicked the option to unclick it. This is very bad because normal users of this Squirrel install cannot do this. I do it as the admin, but would't be much fun to do this everytime an user clicks on something simple that is there waiting.
>>
>> If more information is needed, please ask. Suggestions are also welcome.
>>
>> Thank you,
>>
>> André
>>
>> ------------------------------------------------------------------------------
>> -----
>> squirrelmail-users mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: [hidden email]
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
> ------------------------------------------------------------------------------
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error when searching messages

Paul Lesniewski
André,

First, let's keep this on the thread with a more appropriate subject.

As to your meta comments about SquirrelMail support, the literal
answer to your question about having a public mailing list is obvious.
The answer to your *implied* question "why isn't anyone responding to
my questions?" is complex, but due in large part to a smaller
community of late and the obscure nature of what you ask.  It's
understandable that you are frustrated with the lack of help you've
been able to get here (I personally have at least one of your earlier
inquiries flagged for follow-up, but my unpaid time is in short
supply), but it would be best if you steer away from the language
you're trending toward that blames the SquirrelMail developers and
community when none of us has a single obligation to you.  That kind
of attitude will also make it less likely that you'll get support,
whereas reading your previous inquiries, it appears to me that you are
a dedicated SquirrelMail fan, for which we are grateful.

On 9/17/15, André Z. D. A. <[hidden email]> wrote:

>
>
>> On Thu, 2015-09-17 at 06:32 -0300, André Z. D. A. wrote:
>>
>>> Why having a user mailing list if no one answer questions that are
>>> natural to be asked, have no answer or documentation about them, and
>>> probably show common problems to many users?
>>>
>>>> Third try. Anyone around here can give me a bit of help, please?
>>>>
>>>>> Maybe I started this message with the wrong sentence. So I'm writing
>>>>> again - but assuming someone will read the original message as needed,
>>>>> because it has all details that I imagine are needed.
>>>>>
>>>>> As the admin of a few Squirrelmail installations, I have reports of
>>>>> users that can't search their messages; they are using specific IMAP
>>>>> servers. Squirrelmail shows a strange error (see original message),
>>>>> which does not point me to anything to solve the problem, or to find
>>>>> the solution. May you help me?
>>>>>
>>>>> Another problem is that clicking in the message list headers to choose
>>>>> what field for message sorting causes an very bad error. Users cannot
>>>>> refresh message lists anymore! There is no way for them to reset the
>>>>> configuration. I must manually remove the sort option from each user
>>>>> configuration file.
>>>>>
>>>>> With Squirrelmail configured for each of these different IMAP servers,
>>>>> I run its configtest. No problem is pointed (see original message). So,
>>>>> why do I have these and other problems?
>>>>>
>>>>>> I get an error when searching my inbox for some subject. I use an IMAP
>>>>>> server to this account.
>>>>>>
>>>>>> The error message (in Portuguese) is:
>>>>>>
>>>>>> ===============
>>>>>> ERRO:
>>>>>> Erro: pedido não pode ser completado.
>>>>>> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE
>>>>>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance
>>>>>> Priority Content-Type)])
>>>>>> Razão alegada: FETCH token is invalid
>>>>>> ===============
>>>>>>
>>>>>> Which should be something like this, in English:
>>>>>>
>>>>>> ===============
>>>>>> ERROR:
>>>>>> Error: request can't be completed.
>>>>>> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE
>>>>>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance
>>>>>> Priority Content-Type)])
>>>>>> Informed reason: FETCH token is invalid
>>>>>> ===============
>>
>> That's not a valid FETCH command that Squirrelmail is sending. It's not
>> including the sequence set (which messages to fetch those data items
>> for).
>
> Really!? That's a surprise I would never think about.
>
>> I assume that either your Domino server responded to a prior command
>> (LIST probably) with something that Squirrelmail wasn't expecting or
>> couldn't parse, or maybe there's just a very odd bug in Squirrelmail.
>
> I can make most tests within my server (with Squirrelmail in). I just cannot
> make tests that are either expeting to log the servers (IMAP or SMTP)
> internally, because they are external and inaccessible directly by me or by
> the other Squirrelmail users. I can't imagine what a test could be, from SM.
> I can make a setup where I can alter squirrel source code to log each
> commands it sends. Would it be useful? And what should I look for, to log?
> And what information can be needed (I don't know protocol details, so I
> would need a help with this kind of things).
>
>> Is there any way to enable protocol logging on your Domino server so you
>> can see every command that's sent by Squirrelmail and every response
>> that Domino sends back?
>
> No. I cannot access the Domino server. As I said above, it's external. The
> setup to use this server was the last one I have made. Although I have other
> issues with other server too, I can search messages with them. For example,
> with Yahoo's IMAP server (imap.mail.yahoo.com) I can search, I did it now.
> The setup I have made to use this Domino server was initially a copy from
> Yahoo's setup; after copying I just changed some obviously needed details
> (like server configuration, and nothing more I can remember, if anything
> else).
>
> If I patch every server action in Squirrel's functions, would it give useful
> information for you? With some help to what information is needed, or any
> needed details, I imagine this feasible without taking too much time.

It's unusual that an administrator does not have access to the IMAP
server itself, and as such, you need to understand that you are thus
severely crippled in your role and you should not thus place all of
your expectations for support onto the one place where it seems you
can get support.  It's ironic in a way, since presumably you'd be
paying for the IMAP server hosting, which means that hosting company
*does* have an obligation to you.  If they refuse to support your
needs, it might be more fruitful if you take your money elsewhere
rather than offload your frustrations here.

That said, you don't seem to be aware that it is perfectly feasible to
monitor the IMAP traffic on the SquirrelMail machine.  It doesn't
matter where you are doing it, as long as it's somewhere between the
two endpoints.  I suggest you look up tcpdump or ngrep or something
similar and run that on the SquirrelMail machine to capture the flow
if IMAP commands and responses when you see this error happen.

If you also want to insert PHP code into SquirrelMail that spits out
each IMAP command (and response) to a log, that is also very helpful.

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

------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Loading...