Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: hairybiker on March 04, 2009, 08:20:39 PM

Title: [fixed] Howto: Set fetch mail on a cron?
Post by: hairybiker on March 04, 2009, 08:20:39 PM
I want to use smeserver, but I need it to fetch mail from some pop3 servers at regular intervals, rather than when a user logs into webmail.

So my Q is this how to do this?
Title: Re: Howto: Set fetch mail on a cron?
Post by: stephen noble on March 04, 2009, 11:32:00 PM
wiki > search > fetchmail
Title: Re: Howto: Set fetch mail on a cron?
Post by: hairybiker on March 05, 2009, 09:25:37 AM
Fine but that sill doesn't answer my Q. There is nothing in the wiki about fetchmail and cron. (NOT THAT I FOUND USING A FETCHMAIL SEARCH ANYWAY)
Title: Re: Howto: Set fetch mail on a cron?
Post by: Stefano on March 05, 2009, 09:40:44 AM
hairybiker..

the answer snoble gave you IS the answer..

if you want to fetch mail from a pop3 external account all you have to do is install smeserver-fethmail contrib and configure it via the server-manager.. it will fetch your mail every 5/15/30/60 minutes

please re-read the documentation as everything you need is there

thank you
Ciao
Stefano
Title: Re: Howto: Set fetch mail on a cron?
Post by: hairybiker on March 05, 2009, 10:24:23 AM
IF I GO TO YOUR SITE YES. But there is nothing on the wiki page to suggest that, only a cryptic link saying fetchmail utils here.

Fine I now have it working, but my system when I entered:-
rpm -Uvh http://www.schirrms.net/files/perl-CGI-FormMagick-0.89-08.noarch.rpm

It sat at :-
Retrieving

for nearly an hour. I downloaded the rpm on my desktop and scp'ed it across and it worked fine.
Why should this be?
Title: Re: Howto: Set fetch mail on a cron?
Post by: David Harper on March 05, 2009, 10:59:40 AM
You shouldn't need to manually download and install any RPM packages. Please be sure you have read the correct instructions (http://wiki.contribs.org/Fetchmail).
Title: Re: Howto: Set fetch mail on a cron?
Post by: Stefano on March 05, 2009, 11:02:53 AM
Why should this be?

because you've read only the first 2 lines of the page of the wiki?

if you think something is wrong with wiki, please fill a bug in bugzilla or, even more, ask for a wiki access and correct yourself, thank you

Ciao
Stefano
Title: Re: Howto: Set fetch mail on a cron?
Post by: hairybiker on March 05, 2009, 11:18:04 AM
because you've read only the first 2 lines of the page of the wiki?
No I did read it all. BUT Because the webmail option mentions fetchmail, I made the bad assumption that it was installed and so didn't have to re-install it.