fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] Re: "Limit" doesn't cooperates with "flush"

2003-10-10 05:28:57
Ralph Seichter <ralph(_at_)seichter(_dot_)de>:
If you removed the 'limit' option, how would one make sure that
messages > NNN bytes are not retrieved by fetchmail and instead be
deleted by the mini-client you suggested? How would this mini-client
integrate with fetchmail in daemon mode?

It wouldn't.  If you're so worried about bandwidth charges that
you're refusing oversized messages, you're not running in daemon
mode anyway because 

BTW, why does adding a new option give you more of a headache than
programming and testing an additional client? I'm just curious.

Interactions with the rest of the code.  You know code tends to get
stiffer as it ages because the density of interactions in it rises --
everything gets more conncected to everything else as you add
features.  Well, the fetchmail implementation is old enough and stiff
enough to make introducing new features problematic.

It needs a thorough rewrite and refactoring, really.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>