From owner-freebsd-questions Mon Mar 10 19:17:18 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0349C37B401 for ; Mon, 10 Mar 2003 19:17:18 -0800 (PST) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ECCB43F75 for ; Mon, 10 Mar 2003 19:17:17 -0800 (PST) (envelope-from dragoncrest@voyager.net) Received: from works (works.jasnetworks.net [192.168.0.2]) by dragoncrest.jasnetworks.net (8.12.8/8.12.3) with ESMTP id h2ANOaQf043467 for ; Mon, 10 Mar 2003 23:24:36 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <4.2.0.58.20030310222622.009788d0@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Mon, 10 Mar 2003 22:26:25 -0500 To: freebsd-questions@FreeBSD.ORG From: Dragoncrest Subject: Fetchmail question Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all. Got a question about fetchmail again. This one should be easy. I'm looking for the easiest way to get fetchmail to purge a mailbox for me. Here's what I'm after. First off, when my mail downloads, fetch has been told (via a config I have in sendmail) to leave mail on the server if the user has an invalid domain name. IE. From viruses, spam, etc. What I want it to do is to try to download all of the messages on the server, then, regardless if they succeed or fail, I want fetchmail to just nuke them off the server. Currently it only nukes mail that has been successfully delivered to the local computer. I want it to dump all of them so that it doesn't end up leaving all the rejected mail messages to pile up on the server, yet at the same time I don't want it to wipe all of the messages till it's tried to download each message at least once. Anyone got any good suggestions on how to setup fetch to do this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message