// COMPLETE THREAD

Re: procmail

4 expanded posts ยท every known parent and child

NODE 95cc4920Re: procmail
>Date: Tue, 31 May 1994 11:22:17 -0600
>From: Martin Janzen <janzen@idacom.hp.com>
>
>tim werner <werner@mc.ab.com> writes:
>>> With procmail, you can associate arbitrary actions with a match, so no
>>> it would not have to be silent.
>>
>>Will anyone who has procmail working please send me an example of how you
>>use it?  I am totally confused.
>
>First, you have to tell the mail system that you want your mail to be
>filtered through the procmail program.  You do this by creating a
>one-line file called ".forward" in your home directory:
>
>"| IFS=' '; /usr/local/bin/procmail -p"


Sorry to bother the list with this thread, but I need just one more
question answered, and I don't know where else to ask.

I work on a heterogeneous system.  My personal workstation is a decstation,
running Ultrix-4.3, but I'm pretty sure that email enters our local domain
via a sparcstation running SunOS-4.1.3.  My email ends up in
/var/spool/mail/werner, which is one of the sparcstation disk partitions.

If I use the above-mentioned .forward magic to start procmail, does it
execute on my local decstation, or on the sparcstation.  In other words,
do I build a decstation or sparcstation executable?

Is there some way I can test this without the mail daemon getting into some
kind of infernal .forward loop if there is an error?

thanks a lot,
tw
NODE 8184a63bRe: procmail
At least at my site, it runs on the server that would otherwise be
putting your mail into your spool file.  I think that this means that
you should build a Sun executable.

Also, you realize that your .forward will now be increasing the load
on your server machine which could make your local sysadmins unhappy.
It's also possible to use a combination of cron, lockfile and formail
to cause your procmailing to be done on your own machine.

			Rick
NODE 2f3b7204Re: procmail
On Tue, 31 May 1994, tim werner wrote:

> 
> Sorry to bother the list with this thread, but I need just one more
> question answered, and I don't know where else to ask.
> 

the place to ask procmail questions is on the procmail list

it's low volume, centres on problem solving, and never flames dumb questions.

to subscribe:

>To: procmail-request@informatik.rwth-aachen.de

>subscribe procmail xxxxx

steve
NODE 6f9fad25procmail
My first guess: if you have a home directory on the sparcstation, but
a .forward file and procmailrc there.  procmail is pretty good about
being transparent for delivery.  If you have an empty .procmailrc
file, it should dump everything right back in your spool file.

You can look at the last Received line in your incoming mail to
determine what machine the last sendmail is running on.  Your binary
should go on that machine, I think.

Eric