[horde] FW: fetchmail
Jan Schneider
jan at horde.org
Tue Jun 21 02:25:50 PDT 2005
Zitat von Kevin Myer <kevin_myer at iu13.org>:
> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von alan walters <alan at aillweecave.ie>:
>>
>>> Yep I know about fetchmail. But it was the 'fetchmail' part of imp that
>>> I was trying to use. This is not using the original fetchmail is it.
>>> More the horde framework.
>>>
>>> So do we think it would be possible to run this from cron or something
>>> similar so a user could check additional accounts with out having to
>>> login.
>>
>> The problem is that you don't have access to the user's passwords from
>> an external cron tab. But this is necessary to fetch the stored mail
>> into the local imap server. A solution would be to make it an
>> additional preference if the user wants fetchmail support in a crontab
>> and let him provide his password in this case.
>
> I think the idea of using a crontab will not work generally. At least
> our Horde
> installation has no user accounts on the Horde web servers, so I don't
> know how
> cron would really help. What I think would be useful would be to have
You don't need accounts on the Horde machine, you only need an
authentication backend that allows listing of users. This solution
wouldn't use the fetchmail binary with IMP's preferences, but IMP's own
fetchmail code. This works with a CLI called from a crontab as well as
through the browser frontend.
> something like FetchMail in IMP be a recurring maintenance task, where you
> could specify the interval that it would run. You can set the sidebar to
> refresh every so often and you can set IMP to refresh every so often
> and you'd
> be able to set fetchmail to execute every so often as well. Or just
> have it be
> a preference to be part of the refresh process for IMP. If you choose,
> you can
> have IMP run fetchmail when the INBOX is refreshed.
The fetchmail process *is* already an (optional) maintenance task. He
is looking for a solution that works if the user is not logged in.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list