[imp] Invalid mailbox list warning message
Patrick Timmons
ptimmons@courriel.polymtl.ca
Wed, 03 Jan 2001 12:51:16 -0500
Hi.
This message comes (AFAIK) from the imap client. We use imap 4.7. It comes from
subroutine rfc822_parse_adrlist() which is called to parse the From:, To:, Cc:
and Bcc: fields of the enveloppe. According to the sources, it has nothing to do
with the mailbox list of your user. The ' (errflg=...' part is added to the
message by some routine in php_imap.c (php-4.0.3).
You can apply this 'patch' to log the contents of the recepient list before it
is parsed to see if there is an error in one of the recepient's address.
[root@c2:/home/courrier/horde] # diff -C 3 lib/horde.lib.orig lib/horde.lib
*** lib/horde.lib.orig Tue Oct 24 19:43:30 2000
--- lib/horde.lib Tue Nov 7 17:18:39 2000
***************
*** 1060,1065 ****
--- 1060,1068 ----
function mailfrom ($rcpt, $envelope, $body) {
global $default, $imp;
+ openlog($default->log_ident, LOG_PID, $default->log_stats_facil);
+ syslog($default->log_prio,"Chaine originale [$rcpt]");
+ closelog();
// Parse the recipients first. Leave out all personal info here.
$rcpt_arr = imap_rfc822_parse_adrlist($rcpt, $imp->from_server);
if (is_array($rcpt_arr) && count($rcpt_arr) > 0) {
chris@telerama.com wrote:
>
> Hi there!
>
> I was wondering if anyone has ever seen this error message, and/or
> knows how to fix it:
>
> Warning: Invalid mailbox list: @telerama.com (errflg=3) in Unknown on line 0
>
> It shows up in the mailbox summary list, and the number of times that
> the error was displayed varied according to the user (i.e., this
> message might show up multiple times on the same screen.) It would
> also keep showing up as the user read email and returned back to the
> mailbox summary page...
>
> We are using IMP 2.2.3, horde 1.2.3, and whatever corresponding PHPlib
> that was included with that distribution... The machine running
> IMP/horde is a FreeBSD 4.0-STABLE box with mod_php-4.0.0. The IMAP
> server it is connecting to runs uw-imapd 4.7c.
>
> I tried greping through my entire horde/ directory for "Invalid
> mailbox list" and it turned up nothing. Therefore I believe this
> error is probably coming from the IMAP server itself, and IMP is just
> relaying it...(?)
>
> Also, this person's .mailboxlist file on the IMAP server only contains
> one line:
> speedbuggy# cat .mailboxlist
> mail/sent-mail
>
> If anyone has any clues as to why this may be happening, they would be
> greatly appreciated.
>
> Thanks!
> -Chris
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org