From: Matthias A. <mat...@gm...> - 2010-06-25 08:51:13
|
Am 25.06.2010, 02:58 Uhr, schrieb Lorenzo Milesi: >> The configuration is contradictory. "keep" prevents deletions >> altogether - >> and then there will be nothing to expunge. > > I don't think so. > I run with keep in daemon mode, to keep mail on the server. Once in a > while I execute with -F, to free up server. > > In fact, removing the "keep" and running, doesn't seem to expunge > anything. --flush isn't the same as omitting --keep, and these are not opposites. Unfortunately, this is not too obvious from the documentation, and it might be (I'll have to dig deeper in the source code to figure, which won't happen today) that --expunge isn't taken into account with --flush. If someone else wants to take a look and possibly send a patch, feel free. Relevant code is in driver.c's fetch_messages() near the check for ctl->flush, code available at <http://gitorious.org/fetchmail/fetchmail/>, on the master branch. -- Matthias Andree |