This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fetchmail and Procmail


George,

On Mon, Jul 26, 2004 at 06:14:36AM -0700, George wrote:
> Jason Tishler wrote:
> >On Sun, Jul 25, 2004 at 05:19:26AM -0700, George wrote:
> >
> >>1.  I'm getting an error about a "suspicious ~/.procmailrc" file.
> >>I'm guessing this is a permissions problem.  If that's the case,
> >>could someone let me know what the correct permissions should be?
> >>For the moment, using a '/etc/procmailrc' seems to be the only thing
> >>that works.
> >
> >See the procmail man page.
> >
> I've read all man page and all related manpages.

Hmm...

What about the following?

    $ man procmail
    [snip]

    Suspicious rcfile "x"  The owner of the rcfile was not the recipient
                           or root, the file was world writable, or the
                           directory that contained it was  world
                           writable,  or this  was the default rcfile
                           ($HOME/.procmailrc) and either it was group
                           writable or the directory that contained it
                           was group writable (the rcfile was not used).

> >>2.  Procmail seems to be rather slow.  I don't know whether this is
> >>normal, but I've timed one mailbox download and it's taking on
> >>average 10 minutes to process 317 messages (2MB total)
> >>
> >
> >It's fast enough for me, 10,000 - 30,000 messages per month -- even
> >on a PIII 500 MHz.  Have you tried your test case on a Unix box?  If
> >so, is it significantly faster?
> >
> >
> I'm confident procmail is an excellent solution, but using the rate
> I'm getting, 30,000 messages that would translate into 17 hours of
> processing; given the span of a month, that leaves plenty of time to
> read all 30,000 of them. :-)  I'm wondering if whether the 2
> seconds/message average is normal, or indicates a problem with my
> setup.
> 
> As for testing on a Unix box, I'm in that category of Cygwin users who
> need to make something work in a Windows environment.  My question
> relates more to whether I should be disppointed or satisfied with the
> results.

I suggested a comparison to help you find the "bottleneck."  If the cost
of the fork (of procmail) is the issue, then Cygwin is slowing you down.
If the network speed or the way that fetchmail interacts with the mail
server is the issue, then it's not.  Note these are just some ideas...
I will leave it to you to dig deeper, if interested.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]