Re: procmail....................
On Sat, Nov 21, 1998 at 4:57PM -0300, Phillip Neumann wrote:
Hey Phillip, a couple of things should get you set up:
> :0
> * ^TOdebian-user@lists.debian.org
> debian-english
>
> :0
> * ^TOdebian-user-spanish@lists.debian.orgdebian-spanish
> debian-spanish
These rules won't do what you want. They should be:
:0:
* ^To:.*debian-user@lists.debian.org
debian-english
:0:
* ^To:.*debian-user-spanish@lists.debian.org
debian-spanish
The extra colons tell procmail to use lockfiles, which will avoid potential
problems with receiving two pieces of mail simultaneously. The rules also
needed to be changed...the ".*" means "zero or more characters".
> How do i make it work? First i run fetchmail to get the mails, and then
> when running `procmail' the xterm stops...
Secondly, you need to set up a .forward that sends all incoming mail
through procmail automatically. Mine looks like:
"|exec /usr/bin/procmail"
That's it...just one line. This makes procmail look at each piece of mail
that comes in.
good luck,
J
Reply to: