Mailing List Archive

squirrelmail doesn't work
Hi,

Evolution and mutt work fine with dbmail, Squirrelmail 1.4.2 gets the
folder list but can't show the message list in any folder. I always get:

----
Warning: strpos(): Offset not contained in string. in
/var/www/de.geht-schon.webmail/weball/functions/imap_messages.php on
line 522

ERROR : Could not complete request.
Unknown response from IMAP server: 1.
----

I've set in the dbmail config in section [IMAP]: TRACE_LEVEL=5.
The only '1' I found in the log is this one:
----
Jan 17 18:23:56 server dbmail/imap4d[6239]: COMMAND: [A008 UID SEARCH
UID 1:*]
Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[0]: 'SEARCH'
Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[1]: 'UID'
Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[2]: '1:*'
Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
Executing command uid...
Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
Finished command uid
Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
executing query [SELECT
permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag
FROM mailboxes WHERE mailbox_idnr = '1']
Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
executing query [.SELECT message_idnr, seen_flag, recent_flag FROM
messages WHERE mailbox_idnr = '1' AND status < 2 AND unique_id != ''
ORDER BY message_idnr ASC]
----

I read IC&S uses Squirrelmail too - do I have to do anything special?

Thanks!


--
MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B)
Re: squirrelmail doesn't work [ In reply to ]
What version of DBMail?

The only thing that I think you have to do to Squirrelmail to get it
working is change the imap server type flag to other:

/* $imap_server_type = 'uw'; */
$imap_server_type = 'other';

If that doesn't help, we will need more detail on what is failing, log
entries from dbmail that show problems, or from apache / squirrelmail
would help.

Matthew


Thomas Mueller wrote:

> Hi,
>
> Evolution and mutt work fine with dbmail, Squirrelmail 1.4.2 gets the
> folder list but can't show the message list in any folder. I always get:
>
> ----
> Warning: strpos(): Offset not contained in string. in
> /var/www/de.geht-schon.webmail/weball/functions/imap_messages.php on
> line 522
>
> ERROR : Could not complete request.
> Unknown response from IMAP server: 1.
> ----
>
> I've set in the dbmail config in section [IMAP]: TRACE_LEVEL=5.
> The only '1' I found in the log is this one:
> ----
> Jan 17 18:23:56 server dbmail/imap4d[6239]: COMMAND: [A008 UID SEARCH
> UID 1:*]
> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[0]: 'SEARCH'
> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[1]: 'UID'
> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[2]: '1:*'
> Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
> Executing command uid...
> Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
> Finished command uid
> Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
> executing query [SELECT
> permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag
> FROM mailboxes WHERE mailbox_idnr = '1']
> Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
> executing query [.SELECT message_idnr, seen_flag, recent_flag FROM
> messages WHERE mailbox_idnr = '1' AND status < 2 AND unique_id != ''
> ORDER BY message_idnr ASC]
> ----
>
> I read IC&S uses Squirrelmail too - do I have to do anything special?
>
> Thanks!
>
>
Re: squirrelmail doesn't work [ In reply to ]
He is probably seeing the same thing I was when I upgraded to 2.0cvs
that if you don't specify the 1:* in the FETCH statment dbmail doesn't
return anything and thus squirrelmail gives that error, I temporaily
added a check to squirellmail to make sure it sends a range.

-Leif


"Matthew T. O'Connor" wrote:
>
> What version of DBMail?
>
> The only thing that I think you have to do to Squirrelmail to get it
> working is change the imap server type flag to other:
>
> /* $imap_server_type = 'uw'; */
> $imap_server_type = 'other';
>
> If that doesn't help, we will need more detail on what is failing, log
> entries from dbmail that show problems, or from apache / squirrelmail
> would help.
>
> Matthew
>
> Thomas Mueller wrote:
>
> > Hi,
> >
> > Evolution and mutt work fine with dbmail, Squirrelmail 1.4.2 gets the
> > folder list but can't show the message list in any folder. I always get:
> >
> > ----
> > Warning: strpos(): Offset not contained in string. in
> > /var/www/de.geht-schon.webmail/weball/functions/imap_messages.php on
> > line 522
> >
> > ERROR : Could not complete request.
> > Unknown response from IMAP server: 1.
> > ----
> >
> > I've set in the dbmail config in section [IMAP]: TRACE_LEVEL=5.
> > The only '1' I found in the log is this one:
> > ----
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: COMMAND: [A008 UID SEARCH
> > UID 1:*]
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[0]: 'SEARCH'
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[1]: 'UID'
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[2]: '1:*'
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
> > Executing command uid...
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
> > Finished command uid
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
> > executing query [.SELECT
> > permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag
> > FROM mailboxes WHERE mailbox_idnr = '1']
> > Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
> > executing query [.SELECT message_idnr, seen_flag, recent_flag FROM
> > messages WHERE mailbox_idnr = '1' AND status < 2 AND unique_id != ''
> > ORDER BY message_idnr ASC]
> > ----
> >
> > I read IC&S uses Squirrelmail too - do I have to do anything special?
> >
> > Thanks!
> >
> >
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev

--
Jones Jackson Consulting http://www.jjcons.com
Programmer && Linux Enthusiast ljackson@jjcons.com
"#define QUESTION ((bb) || !(bb))" - Shakespeare
http://www.jjcons.com/pgpkeys.html
Re: [Dbmail-dev] squirrelmail doesn't work [ In reply to ]
You need to disable uid_support.


> What version of DBMail?
>
> The only thing that I think you have to do to Squirrelmail to get it
> working is change the imap server type flag to other:
>
> /* $imap_server_type = 'uw'; */
> $imap_server_type = 'other';
>
> If that doesn't help, we will need more detail on what is failing, log
> entries from dbmail that show problems, or from apache / squirrelmail
> would help.
>
> Matthew
>
>
> Thomas Mueller wrote:
>
>> Hi,
>>
>> Evolution and mutt work fine with dbmail, Squirrelmail 1.4.2 gets the
>> folder list but can't show the message list in any folder. I always get:
>>
>> ----
>> Warning: strpos(): Offset not contained in string. in
>> /var/www/de.geht-schon.webmail/weball/functions/imap_messages.php on
>> line 522
>>
>> ERROR : Could not complete request.
>> Unknown response from IMAP server: 1.
>> ----
>>
>> I've set in the dbmail config in section [IMAP]: TRACE_LEVEL=5.
>> The only '1' I found in the log is this one:
>> ----
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: COMMAND: [A008 UID SEARCH
>> UID 1:*]
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[0]: 'SEARCH'
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[1]: 'UID'
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: arg[2]: '1:*'
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
>> Executing command uid...
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: IMAPClientHandler():
>> Finished command uid
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
>> executing query [SELECT
>> permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag
>> FROM mailboxes WHERE mailbox_idnr = '1']
>> Jan 17 18:23:56 server dbmail/imap4d[6239]: dbpgsql.c,db_query:
>> executing query [.SELECT message_idnr, seen_flag, recent_flag FROM
>> messages WHERE mailbox_idnr = '1' AND status < 2 AND unique_id != ''
>> ORDER BY message_idnr ASC]
>> ----
>>
>> I read IC&S uses Squirrelmail too - do I have to do anything special?
>>
>> Thanks!
>>
>>
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>