Re: Interesting Fetchmail Foible
On Tue, 15 Jan 2008 23:23:43 +0100
Александър Л. Димитров <aleks_d@gmx.de> wrote:
> Quoth David Baron:
> > I have been having network problems lately. Comes up for a second, then dies,
> > repeatedly.
> >
> > So I get the same emails, over and over again. Fetchmail can apparently get
> > them but not tell the provider that they have been received so delete them on
> > their server. Until the network is up properly, I must shut down fetchmail.
> >
> > Would there be any script, option, or such to solve this problem in a more
> > elegant manner and leave things alone when the network is doing what it is
> > supposed to do?
>
> Depends. Are you using procmail, too? If so, you might be interested in the
> following rule I have in my .procmailrc:
>
> # Dupes? Nuke'em!
> :0 Wh: msgid.lock
> | $FORMAIL -D 8192 msgid.cache
>
> That's it. All there is to it. Just put that little beast in and all duplicate
> massages will get deleted.
>
> (there is something similar for maildrop, too. Just in case you use it - but I
> forgot, just what it was... GIYF ;-) ).
Maildrop's reformail utility is similar to procmail's formail; it
also has a -D option.
> Aleks
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: