Article View: comp.mail.elm
Article #5390Help needed with filter
From: Iain Wood
Date: Wed, 07 Feb 1990 12:14
Date: Wed, 07 Feb 1990 12:14
44 lines
2306 bytes
2306 bytes
We are experiencing problems using filter. Any attempt to pass
messages through filter resulted in corrupted mailbox/folders. The
problem was that the messages were being saved without the initial
From line ( the one without the : after the From)
This was bodged by executing a script that echoed "From somwhere" then
cat'd the message. Messy but sucessful.
However.... During routine testing, it became apparant that some
messages were just not getting through.
I would mail something to myself and wait for it to arrive.
Approximately one in three of these messages would disappear without
trace. filter -s would report that it had been processed, but it just
never appeared in my mailbox.
I suspect this might be a side effect of the kludge I applied, but
would rather get rid of the kludge than patch it further. Any ideas?
( Here are my .filter-rules.
-----------------------------------------------------------------------
# rule 1
if (subject = "InterleafMailFTP") then
execute "/user/ndiw/.filterfudge/uudecodeto /user/ndiw/desktop/Mail.drw "
# default rule
always execute "/user/ndiw/.filterfudge/save /usr/spool/mail/ndiw"
-----------------------------------------------------------------------
and here is the .filterfudge/save script
----------------------------------------------------------------------
cat > /tmp/insert.$$
while test -f /tmp/filter.fudge
do
sleep 2
done
touch /tmp/filter.fudge
( echo "From Ojas-to-Bindu" `date`; cat /tmp/insert.$$ ; echo "" ) >>$1
rm /tmp/insert.$$ /tmp/filter.fudge
----------------------------------------------------------------------
)
Thanks in advance
Iain
--------------------------------------------------------------
Iain Wood | E-mail D.I.Wood@uk.ac.newcastle
Newcastle University | phone 091 222 8237
--------------------------------------------------------------
Technical Details
Message-ID:
<1990Feb7.121441.25802@newcastle.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!newcastle.ac.uk!shotton!ndiwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!newcastle.ac.uk!shotton!ndiw From: D.I.Wood@newcastle.ac.uk (Iain Wood) Newsgroups: comp.mail.elm Subject: Help needed with filter Message-ID: <1990Feb7.121441.25802@newcastle.ac.uk> Date: 7 Feb 90 12:14:41 GMT Sender: news@newcastle.ac.uk Distribution: comp Organization: Computing Laboratory, University of Newcastle upon Tyne, UK, NE1 7RU Lines: 44