procmail
[Top] [All Lists]

Re: Question on Filtering

1998-05-11 08:26:37
message or header, and have procmail drop the message into the bit

:0
* ybecker.net
/dev/null

You'll need to add the B flag if you want to check body and header:

:0 BH
* ybecker\.net
/dev/null

Also note the escaped '.'.

   Also, I tried to compile the current version, but get the following

By current, you mean 3.11pre7?

misc.c: In function `Terminate':
misc.c:273: `UDP_protocolno' undeclared (first use this function)
misc.c:273: (Each undeclared identifier is reported only once
misc.c:273: for each function it appears in.)
make[1]: *** [misc.o] Error 1

Did you make any changes to config.h or Makefile?  The auto-configuration
should create autoconf.h with a UDP_protocolno value (probably 17).
Are there any funky messages that come up when running make for the
first time?

   Get the same thing using gcc. I'm using the compilers/libs that came
with Linux Slackware 3.3 Distribution, so I would think everything should
be recent enough. :-)

Haven't used Slackware for about 4 years now, so I can't offer too much
advice about its configuration.  What Linux kernel version does it have,
and what gcc version are you using?

Doing 'uname -a' and 'gcc -v' will tell you this.

Incidentally, I haven't had any problems with Linux 2.0.30 running RedHat
or 2.0.0 running my own distribution.

Chris

<Prev in Thread] Current Thread [Next in Thread>