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 ;-) ).

Aleks

Attachment: signature.asc
Description: Digital signature

Reply via email to