From owner-freebsd-questions Tue Mar 11 20:25:11 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 141AB37B401 for ; Tue, 11 Mar 2003 20:25:10 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-31.maa.sify.net [210.214.66.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F2BE43FA3 for ; Tue, 11 Mar 2003 20:24:59 -0800 (PST) (envelope-from shantanoo+fbsd@ieee.org) Received: by dhumketu.homeunix.net (Postfix, from userid 1000) id 696F33C6; Wed, 12 Mar 2003 01:54:21 +0530 (IST) Date: Wed, 12 Mar 2003 01:54:21 +0530 From: Shantanu Mahajan To: Dragoncrest Cc: freebsd-questions@freebsd.org Subject: Re: Fetchmail question Message-ID: <20030311202421.GA528@dhumketu.homeunix.net> Mail-Followup-To: Dragoncrest , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.7-RELEASE i386 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 +++ Dragoncrest [freebsd] [10-03-03 22:26 -0500]: | 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? | | ------------------------------ if you are downloading for POP, try filtermail. /usr/ports/mail/filtermail Regards, Shantanu -- Truly great madness can not be achieved without significant intelligence. PGP keyID : 137AFD9E PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC D92A F0D4 C2ED 137A FD9E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message