Koozali.org: home of the SME Server

fetch mail + cron

Offline groyk

  • ****
  • 140
  • +0/-0
fetch mail + cron
« on: June 28, 2008, 07:25:25 PM »
Hi

I have set up a fetch mail rule in the web mail for one of my users. (SME 7,3)

But how do I get this fetch mail running ex. every 15 min. or so.?

It would be great if it was possible to set up an fetch interval in the web mail.  :P


Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: fetch mail + cron
« Reply #1 on: June 28, 2008, 09:12:17 PM »
You don't.  In webmail you set up the accounts you want to fetch from, then you have to manually invoke it.

John
......

Offline groyk

  • ****
  • 140
  • +0/-0
Re: fetch mail + cron
« Reply #2 on: June 28, 2008, 10:04:34 PM »
You don't.  In webmail you set up the accounts you want to fetch from, then you have to manually invoke it.

John

Yes I know.

But most of the time I am working on a workstation and using Outlook through IMAP. Then I want my SME box to automatcly check all my hosted emails ex. every 15 min. or so. Just like Gmail.

Offline versa

  • ****
  • 109
  • +0/-0
Re: fetch mail + cron
« Reply #3 on: June 29, 2008, 12:34:29 AM »
I think this is what you want.
http://wiki.contribs.org/Fetchmail
......

Offline groyk

  • ****
  • 140
  • +0/-0
Re: fetch mail + cron
« Reply #4 on: June 29, 2008, 09:11:02 AM »
To begin with I thought so too.

But when I am trying to install i am getting following message

Existing lock /var/run/yum.pid: another copy is running. Aborting.

I expect it is because it is in the core app on SME 7,3. But it is not possible to setup time interval for recieving.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: fetch mail + cron
« Reply #5 on: June 29, 2008, 04:06:01 PM »
But when I am trying to install i am getting following message

Existing lock /var/run/yum.pid: another copy is running. Aborting.

I expect it is because it is in the core app on SME 7,3. But it is not possible to setup time interval for recieving.
I guess you have some stale yum processes lying around. To clean the up execute a reboot, wait a few minutes for th eupdate check to finish and then try again.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline groyk

  • ****
  • 140
  • +0/-0
Re: fetch mail + cron
« Reply #6 on: June 30, 2008, 10:43:02 AM »
I guess you have some stale yum processes lying around. To clean the up execute a reboot, wait a few minutes for th eupdate check to finish and then try again.

Hi Cactus

Thank you, now it works.

But why are every email received twice?

Found it!! I was forwarding to the same address as I was receiving to!!  :? - Stupid me!

I think it was a failure because of my poor English!  :-(
« Last Edit: June 30, 2008, 09:18:30 PM by groyk »