[imapfilter-devel]It does nothing

Matej Cepl matej at ceplovi.cz
Mon Sep 30 18:13:01 EEST 2002


On Mon, Sep 30, 2002 at 01:40:48AM +0300, Lefteris Chatzibarbas wrote:
> The config file looks fine.  What exact command do you give to redirect
> imapfilter's output?  When you run imapfilter without redirecting
> it's stdout/stderr anywhere what do you get?  Only, those two lines?
> If yes, then compile the program from the sources turning DEBUG information
> on (using the config script).  What's its output then?

OK, attached to this message is one beautiful piece of spam
(gzipped, so that hopefully it will go through your spam filters
:-), my imapfilterrc and output from debugging version of
imapfilter. ~/.imapfilter.log is empty.

My system is GNU/Debian (testing). What more do you want to know?
What do you think about that?

Thanks for any help,
Matej

-- 
Matej Cepl, matej at ceplovi.cz
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
See, when the GOVERNMENT spends money, it creates jobs; whereas
when the money is left in the hands of TAXPAYERS, God only knows
what they do with it. Bake it into pies, probably. Anything to
avoid creating jobs.
    -- Dave Barry

-------------- next part --------------
# Options #
###########
#
# Some program options, such as log file and non-response server timeout.
#
set logfile = /home/matej/.imapfilter.log
set namespace = no
set timeout=120
set headers=yes


# Accounts and mailboxes #
##########################

account neu cepl.m:messiah at neumail04.neu.edu ssl
  folder inbox-folder INBOX

# Filters #
###########

filter korejci and
  mask header Content-Type text/html;
  mask header Content-Type euc-kr
  mask or header Content-Type gb2312
  mask or header Content-Type ks_c_5601-1987
action delete Subject

filter spam or
  mask header X-AntiAbuse ""
  mask header X-YahooFilteredBulk ""
  mask header Received superonline.com
  mask subject FREE
#  mask body "Credit"
#  mask and body "Bankruptcy"
#  mask and body "Debt"
#  mask and body "Guarantee"
#  mask or subject "Approval"
#  mask and subject "Credit"
action move spam Subject

# Jobs #
########
#
# Last, there is the definition of the jobs where user combines
# folders and filters _already_ defined, and specifies which filters
# should be applied to which folders.
#
job korejci inbox-folder
job spam inbox-folder
-------------- next part --------------
imapfilter: getting term attributes; Invalid argument
imapfilter: warning: using insecure memory
debug: configuration file: '/home/matej/.imapfilterrc'
debug: ACCOUNT: 'neu'
debug: USERNAME: 'cepl.m'
debug: PASSWORD: 'messiah'
debug: SERVER: 'neumail04.neu.edu'
debug: FOLDER: 'inbox-folder'
debug: MBOX: 'INBOX'
debug: FILTER: 'korejci' AND
debug: MASK: 'HEADER "Content-Type" "text/html;"'
debug: MASK: 'HEADER "Content-Type" "euc-kr"'
debug: MASK: 'HEADER "Content-Type" "gb2312"'
debug: MASK: 'HEADER "Content-Type" "ks_c_5601-1987"'
debug: ACTION: 1 '(null)' '' 0 'Subject'
debug: FILTER: 'spam' OR
debug: MASK: 'HEADER "X-AntiAbuse" ""'
debug: MASK: 'HEADER "X-YahooFilteredBulk" ""'
debug: MASK: 'HEADER "Received" "superonline.com"'
debug: MASK: 'SUBJECT "FREE"'
debug: ACTION: 3 '(null)' 'spam' 0 'Subject'
debug: JOB: 'korejci' 'inbox-folder'
debug: JOB: 'spam' 'inbox-folder'
debug: deleting FOLDER: 'inbox-folder'
debug: options: 0x00000094
debug: logfile: '/home/matej/.imapfilter.log'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spam.001.gz
Type: application/octet-stream
Size: 2461 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20020930/828ac143/attachment.obj>


More information about the Imapfilter-devel mailing list