Koozali.org: home of the SME Server

E-mail retrieval time

Offline szenczi

  • *
  • 10
  • +0/-0
E-mail retrieval time
« on: October 16, 2008, 02:44:26 PM »
Hi,

I need help to set a custom interval of download mails from our ISP. (E.g. 2 min.)
How can I do this?

Thanks,
Norbert

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: E-mail retrieval time
« Reply #1 on: October 16, 2008, 03:00:57 PM »
you have to copy the template fragments into /etc/e-smith/templates-custom/path_to_crontab_file, modify them accordingly to your need and then expand the right template.

BTW an interval shorter than 5 minutes will create you some problems..

HTH
ciao
Stefano

Offline szenczi

  • *
  • 10
  • +0/-0
Re: E-mail retrieval time
« Reply #2 on: October 16, 2008, 04:04:29 PM »
Thank you!

To what problems do you think?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: E-mail retrieval time
« Reply #3 on: October 16, 2008, 04:28:03 PM »
Thank you!

To what problems do you think?

- timeout in mail receiving: if you have (let's say) 5 email accounts to retrieve, one fetchmail process could start while another is running..
- some ISPs don't like too many connections

BTW, search the forums about it.. there are other 3ad about your question

ciao
Stefano

Offline szenczi

  • *
  • 10
  • +0/-0
Re: E-mail retrieval time
« Reply #4 on: October 16, 2008, 04:49:27 PM »
Thanks all!

Norbert

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: E-mail retrieval time
« Reply #5 on: October 16, 2008, 06:49:48 PM »
I need help to set a custom interval of download mails from our ISP. (E.g. 2 min.)

Why do you want to do that?

If you want email to arrive "as soon as possible", then you should not be using the ISP's mailbox, but should arrange direct SMTP delivery.