[26154] in Athena Bugs
Re: sun4 [9.3.14]: mitmaildel
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Mon Oct 25 07:52:09 2004
Message-Id: <200410251151.i9PBphm9017041@bearing-an-hourglass.mit.edu>
From: Jonathon Weiss <jweiss@mit.edu>
To: Robert A Basch <rbasch@mit.edu>
In-reply-to: Your message of "Mon, 18 Oct 2004 16:17:27 EDT."
<200410182017.i9IKHRa8009171@anhedonia.mit.edu>
Date: Mon, 25 Oct 2004 07:51:43 -0400
cc: Jacob Morzinski <jmorzins@mit.edu>
cc: bugs@mit.edu
cc: Jonathon Weiss <jweiss@mit.edu>
Errors-To: bugs-bounces@mit.edu
> confusing than useful. However, you can query based on this internal
> date via the --search-key option, e.g. --search-key="BEFORE 01-Sep-2004".
> (The --before option uses the "SENTBEFORE" search query).
This is, in fact, what I really wanted anyway. Thanks.
> I cannot reproduce mitmaildel's failure to delete messages when trying
> similar commands against the MIT IMAP servers. The debug output you
> provided suggests that the server does not recognize the given UIDs
> as valid, for whatever reason. (Unfortunately, the server returns
> an "OK" response even for an unknown UID; an additional "FETCH"
> response with the updated FLAGS value indicates that the STORE
> command actually did something to a given UID). Can you provide
> --debug output for the mitmailscan command whose output was piped
> into mitmaildel (without actually running mitmaildel)? Also, do you
> get the same results if you specify the UIDs manually to mitmaildel,
> i.e. instead of using the "mitmailscan ... | xargs mitmaildel ..."
> pipeline?
bearing-an-hourglass:/afs/.sipb/machine/multics: mitmailscan --debug --by-uid --mailbox INBOX.Spamwindow --id-only --search-key="before 01-sep-2004"
Sending: EXAMINE "INBOX.Spamwindow"
In number callback: keyword EXISTS, number 16186
Response: status OK, text [READ-ONLY] Completed
Sending: UID SEARCH before 01-sep-2004
In SEARCH callback: text 20345 26181
Response: status OK, text Completed
Sending: UID FETCH 20345,26181 (FLAGS BODY.PEEK[HEADER.FIELDS (FROM SUBJECT DATE)])
In FETCH callback: msgno 1 text (FLAGS () UID 20345 BODY[HEADER.FIELDS (FROM SUBJECT DATE)] {116}
From: "Marla Callahan" <vilcaktrp@inbox.lv>
Subject: squid 4857 midwives
Date: Thu, 15 Jul 2004 20:42:30 -0200
)
In FETCH callback: msgno 2 text (FLAGS () UID 26181 BODY[HEADER.FIELDS (FROM SUBJECT DATE)] {112}
From: "Sheldon Skinner" <yespiqel@list.ru>
Subject: squid 315 gonads
Date: Mon, 09 Aug 2004 05:26:47 -0700
)
Response: status OK, text Completed
315 4857
Note that one of the 3 original problem messages is gone. Iwas able
to delete and expunge it using pine, to make sure it wasn't totally
borked on the server.
Jonathon