[imp] Problem with Fetchmail
commedo
commedo at portal.ebdesk.com
Sun Jul 23 19:08:21 PDT 2006
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.
Does eanyone here experience the same problem and perhaps found or have
solutions for this?
Thx in advance.
regards,
commedo
More information about the imp
mailing list