Shukla Vipul wrote:
> HI,
>
> I am using fetchmail for downloading mails from server, but
> fetchmail is very slow i got my mail after 12hours i want to get it
> fast. as per i have searched ther is two parameter which i have to set
> that is fetchlimit and fetchsizelimit. but i dont know where i have to
> use these parameter i have checked ~/.fetchmailrc file also, i am
> not able to undestand how to modify it.
What do you mean when you say your mails arrived after 12 hours ?
- does it take 12 hours to download the actual data of your mails (i.e
the connection is slow);
- does it try to download the mails for 12 hours until it succeeds (a
lot of connection failures);
- does it sit around and eventually fetch your mails (the poll delay is
too long) ?
The first two cases, may not be related to fetchmail or its
configuration file but some settings may help. The latter is the poll
delay set by parameter "set daemon" in your fetchmailrc file. Mine looks
like this (only the relevant lines shown):
# The default for this option is 300, which polls the server every 5
# minutes.
#
set daemon 300
Regarding your second question, the parameters should be defined in your
fetchmailrc either in a default section like this:
defaults:
uidl
batchlimit 100
fetchlimit 100
flush
or in the poll command in fetchmailrc or on the command line (sorry, I
have no example here :-).
Note: you must insert these commands in the fetchmailrc fetchmail is
looking at (obvious, but I got caught there) ! It is ~/.fetchmailrc
unless the -f option is given on the command line.
Frederic
|