[imp] Problem with Fetchmail

Jan Schneider jan at horde.org
Tue Jul 25 00:47:15 PDT 2006


Zitat von commedo <commedo at portal.ebdesk.com>:

> Hi, I'm deploying Horde+IMP using qmail+vpopmail. I experienced that
> fetchmail for external account is not working properly. I tried to debug the
> IMP program (source code) and found that call of imap_append() function (in
> function: IMP_Fetchmail::_addMessage(), file: horde/imp/lib/Fetchmail.php)
> is always failed.
> And I tried to create a simple code to ensure that the call of imap_append()
> is failed as following:
>
> <?
> $stream = imap_open("{192.168.50.41/pop3:110}","comm at test.com", "hallo456");
>
> $check = imap_check($stream);
> print "Msg Count before append: ". $check->Nmsgs."\n";
>
> imap_append($stream,"{192.168.50.41/pop3:110}"
>                    ,"From: commedo at test.com\r\n"
>                    ."To: comm at test.com\r\n"
>                    ."Subject: test - ".time()."\r\n"
>                    ."\r\n"
>                    ."this is a test message, please ignore\r\n"
>                    );
>
> $check = imap_check($stream);
> print "Msg Count after append : ". $check->Nmsgs."\n";
>
> imap_close($stream);
>
> ?>
>
> With the code, I experienced the same problem with fetchmail feature caused
> by imap_append() function which is always failed.

And what error message do you get?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list