Koozali.org: home of the SME Server

Changing the frequency of multi-drop email collection

Offline Mangetout

  • **
  • 22
  • +0/-0
Changing the frequency of multi-drop email collection
« on: May 26, 2006, 04:39:36 PM »
I would like to be able to set my server to check for multi-drop email more frequently than every 15 minutes; I know I can just edit crontab, but this will be overwritten next time anyone saves settings on a scheduled job.

Is there any way I can edit the data that is behind the drop-down lists here?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Changing the frequency of multi-drop email collection
« Reply #1 on: May 26, 2006, 05:28:40 PM »
Quote from: "Mangetout"
I would like to be able to set my server to check for multi-drop email more frequently than every 15 minutes;


You need a custom template. You'll find lots of information about creating those on this website.

Offline Mangetout

  • **
  • 22
  • +0/-0
Changing the frequency of multi-drop email collection
« Reply #2 on: May 30, 2006, 11:12:02 AM »
Thanks, but I'm having trouble finding an entry point to such info; is there any chance someone could give me a pointer?  Thanks.

Offline Mangetout

  • **
  • 22
  • +0/-0
Changing the frequency of multi-drop email collection
« Reply #3 on: May 30, 2006, 01:36:01 PM »
That is to say... I found some quite accessible tutorials about the general principles of setting up custom template, but I'm at a loss to know which one to alter in order to provide a wider range of options in the mail retrieval dialog.

Offline blacknz

  • *
  • 9
  • +0/-0
Did you ever find out how to do this?
« Reply #4 on: December 17, 2006, 02:18:15 AM »
Hi,

Did you ever find out how to get the 5 minute option?

I'm also trying to get Multi-Drop mail to fetch more often than 15 minutes.
I have searched the forum but have only found responses stating that they already have the 5 minute option.

I've done several installs on Virtual machines (>5 (because I keep screwing things up) :oops:) and none of these have had the 5 minute option.

I've found the template which lists the options (/etc/e-smith/templates/etc/fetchmail/50multi-drop) but it looks like it extracts the list of options using a function: fetchmail_frequencies

Does anyone have any idea where I can find this function so I can modify it to list the 5 minute option?

Or even better, to include a 1 minute option?

[EDIT]
Forgot to mention that I am new to linux and although its very exciting, its also very confusing coming from a windows environment.
If anyone responds, please be gentle :D and also include full paths and/or commands as I still have to use google to find the various linux commands :oops: (eg delete, move etc)

Offline pfloor

  • *****
  • 889
  • +1/-0
Changing the frequency of multi-drop email collection
« Reply #5 on: December 17, 2006, 03:37:30 AM »
The 5 minute option *IS* there.  It is out of order and towards the bottom.  Look again.

Every 15 minutes
Every 30 minutes
Every 2 hours
Every 5 minutes  <<<<<<<<<<<<
Every hour
Not at all

Modifying the panel to have a 1 minute option would take a bit of work.

Try looking at /etc/e-smith/templates/etc/crontab/email and make a custom-template that would retreive the mail every minute.
In life, you must either "Push, Pull or Get out of the way!"

Offline blacknz

  • *
  • 9
  • +0/-0
Changing the frequency of multi-drop email collection
« Reply #6 on: December 17, 2006, 04:18:47 AM »
Quote from: "pfloor"
The 5 minute option *IS* there.
....
Look again.

Every 5 minutes  <<<<<<<<<<<<

Modifying the panel to have a 1 minute option would take a bit of work.


Wow ... I can't believe I didn't see that option!

Thanks pfloor!