[imapfilter-devel] More detailed control of output.
Rick Nyman
rnyman_imapfilter at afterburner.net
Tue Jun 29 15:40:42 EEST 2004
There are sort of two different issues here. For the first, I had a
script that I thought was working, but then I later noticed that some of
the messages that should have been moved were actually not being moved.
When I ran an imapfilter -d, I caught the lines:
C (4): 103B SELECT "hold008"
S (4): 103B NO Mailbox does not exist
, which made my troubleshooting fairly quick. That said, is there any
way to have imapfilter automatically catch any NO responses and echo
them? It already shows actions, and I eyeball a daily summary of the
logs for problems.
Second issue is related to traffic I would like to supress (the less
stuff is in the logs, the easier it is to spot problems. I have an
archive folder, and would like to keep a specific number of messages in
it. Any time the archive goes over that size, I start purging messages,
one per poll cycle, starting with the top of the mailbox (message 1).
Here is my code that I used to perform this:
x,y,z=check(an,'00archive')
if (x>9999) then
first={1}
delete(an,'00archive',first)
end
On every poll cycle, I see this line in the log:
906 messages, 0 recent, 0 unseen, in
harry.homeowner at hechingers.com/00archive.
Is there any way to supress this output when I am setting a variable?
Many thanks for all the hard work you've done; imapfilter is an
exceptional tool, and makes email much more useful for me - especially
with accounts that do not support server side rules, but even in
accounts that do.
R...
Rick Nyman <rick at afterburner.net>
http://www.afterburner.net
Yahoo Messenger and AOL Instant Messenger: RickAfterburner
More information about the Imapfilter-devel
mailing list