Exim and filtering
I read through the whole filtering documentation (filter.txt.gz file). So I set
up my .forward file as such:
# Exim filter
# For testing filters, comment out when done
#if error_message then finish endif
# Route vacation message only for personal messages
#if personal then
# mail
# to $reply_address
# subject "Re: $h_subject:"
# file $home/vacation/message
# once $home/vacation/once
# once_repeat 10d
#endif
# Genric mailing list template
#if $header_to: contains "list@lists.com(org)" or
# $header_cc: contains "list@lists.com(org)"
#then
# $home/mail/list-inbox
#endif
# Debian Lists
if $header_to: contains "lists.debian.org" or
$header_cc: contains "lists.debian.org"
then
# Stick the message in hurd-inbox if from debian-hurd list
if $header_to: contains "hurd" or
$header_cc: contains "hurd"
then
save $home/mail/hurd-inbox
endif
else
save $home/mail/debian-inbox
endif
Then I tested it by running '/usr/sbin/sendmail -bf ~/.forward <
~/test-message'
and I got the follwoing output which suggests to me that it didn't work:
Sender taken from "From" line
Sender = aaa@aaa
Recipient = baumannd@obfuscation.penguinpowered.com
Testing Exim filter file /home/baumannd/.forward
Filter processing ended:
Filtering did not set up a significant delivery.
Normal delivery will occur.
The contents of test-message was:
>From aaa@aaa Mon Jan 01 00:00:00 1997
>Return-Path: <debian-laptop-request@lists.debian.org>
>Received: from localhost (IDENT:baumannd@localhost [127.0.0.1])
> by obfuscation.penguinpowered.com (8.9.3/8.9.3) with ESMTP id
SAA01254
> for <baumannd@localhost>; Thu, 17 Aug 2000 18:57:48 -0400
>Resent-Date: Thu, 17 Aug 2000 18:57:48 -0400
>Received: from essex.msoe.edu
> by localhost with IMAP (fetchmail-5.1.0)
> for baumannd@localhost (single-drop); Thu, 17 Aug 2000 18:57:48 -0400
(EDT)
>Received: from murphy.debian.org (216.234.231.6 [216.234.231.6]) by
yorktown.msoe.edu with SMTP (Microsoft Exchange Internet Mail Service Version
5.5.2650.21)
> id Q9093CBK; Thu, 17 Aug 2000 19:04:48 -0500
>Received: (qmail 22892 invoked by uid 38); 18 Aug 2000 00:01:41 -0000
>X-Envelope-Sender: baumannd@obfuscation.penguinpowered.com
>Received: (qmail 22854 invoked from network); 18 Aug 2000 00:01:39 -0000
>Received: from d142.as3.nwbl1.wi.voyager.net (HELO
obfuscation.penguinpowered.com) (root@169.207.86.80)
> by murphy.debian.org with SMTP; 18 Aug 2000 00:01:39 -0000
>Received: from localhost (localhost [[UNIX: localhost]])
> by obfuscation.penguinpowered.com (8.9.3/8.9.3) id SAA01235
> for debian-laptop@lists.debian.org; Thu, 17 Aug 2000 18:55:14 -0400
>From: "Daniel E. Baumann" <baumannd@msoe.edu>
>To: debian-laptop@lists.debian.org
>Subject: Install Debian using PCMCIA Zip100 miniDrive
>Date: Thu, 17 Aug 2000 18:45:57 -0400
>X-Mailer: KMail [version 1.0.29.2]
>Content-Type: text/plain
>MIME-Version: 1.0
>Message-Id: <00081718551305.00966@obfuscation>
>Content-Transfer-Encoding: 8bit
>Resent-Message-ID: <OY9-UB.A.ilF.lzHn5@murphy>
>Resent-From: debian-laptop@lists.debian.org
>X-Mailing-List: <debian-laptop@lists.debian.org> archive/latest/3001
>X-Loop: debian-laptop@lists.debian.org
>Precedence: list
>Resent-Sender: debian-laptop-request@lists.debian.org
>Status: RO
>X-Status: O
>Hello all. I have a question regarding installing debian on my laptop. I
have
>a zip100 minidrive that I use with a pcmcia card. I am using it successfully
>under redhat 6.1 with the ide_cs pcmcia kernel module. I was wondering if it
>would be possible to install Debian from this. I have made the boot and root
>disks and I want to put the drivers.tgz and the base2_2.tgz on a zip disk
and
>install from that. Linux sees this drive as /dev/hde4. Is this going to be
>possible to do with the current debian installation method or will I need to
>hack it? I have no problems with rolling a custom kernel if I have to.
>Dan
>--------------------------------------------------------------------------
>Daniel E. Baumann
>Phone: (414) 462-1403
>E-mail: baumannd@msoe.edu (preferred)
> baumannd@trio.msoe.edu
> baumannd@penguinpowered.com (caution: dynamic DNS service, may
bounce)>
>
>Web location: http://www.msoe.edu/~baumannd
> http://www.linuxfreak.com/~baumannd
>
>"Life would be so much easier if we could just look at the source code."
>
> -- Dave Olson
>---------------------------------------------------------------------------
>
>
>--
>To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Without the <'s, I didn't want anyone's mailer to interpret this as another
message ;).
So what is wrong and why doesn't it append the message to
/home/baumannd/mail/debian-inbox? I am stumped. I made sure that filtering was turned on in
/etc/exim.conf. (Oh btw, I had to backslash some apastrophes in eximconfig comments or
else perl would choke when running eximconfig).
Please CC back to me as I temporarily removed myself from the list.
Thanks,
Dan
P.S. If anyone wants to know I did get Debian installed using the PCMCIA
minizip drive. I am running woody on it right now. I love debian it kicks redhat's
sorry ass. apt/dpkg is a dream come true compared to rpm.
--------------------------------------------------------------------------
Daniel E. Baumann
E-mail: baumannd@msoe.edu (preferred)
baumannd@penguinpowered.com
baumannd@obfuscation.penguinpowered.com (caution: dynamic DNS)
Web location: http://www.msoe.edu/~baumannd
http://www.linuxfreak.com/~baumannd
"Life would be so much easier if we could just look at the source code."
-- Dave Olson
---------------------------------------------------------------------------
Reply to: