🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3538

Re: Procmail for fetchmail and local MDA

#3538
From: Nick Andrew
Date: Tue, 24 Mar 1998 00:00
24 lines
1733 bytes
In <350e577e.232540@news.hunterlink.net.au> jcooksey@hunterlink.net.au (Justin S. Cooksey) writes:

>I am using RedHat Linux 5.0, which uses procmail as the local delivery
>agent. I am getting mail from my ISP using fetchmail with procmail as
>the delivery agent. Basically I want to set up a few rules to sort
>mail amongst some users on the Linux system. Any message that dosn't
>fit those rules gets passed to root.

>However if I create a .procmailrc file in /root for when I pickup mail
>the same .procmailrc file will be used for the local delivery and the
>mail gets stuck in a never ending loop.

So don't use root as your filter destination.

It sounds like all your inbound mail (as picked up from fetchmail) is
going to root and being processed by procmail there; all you have to do
is filter your mail at that point and any message which does not pass
your rules gets sent to a mailbox other than root.

Nick.
-- 
Zeta Internet                     SP4   Fax: +61-2-9233-6545 Voice: 9231-9400
G.P.O. Box 3400, Sydney NSW 1043        http://www.zeta.org.au/
Technical Details
Message-ID: <6f8673$nc2$1@gidora.zeta.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <350e577e.232540@news.hunterlink.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,d5af6550ad72900e
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,d5af6550ad72900e
X-Google-Attributes: gid102983,public
X-Google-Thread: 10de99,d5af6550ad72900e
X-Google-Attributes: gid10de99,public
From: nick@zeta.org.au (Nick Andrew)
Subject: Re: Procmail for fetchmail and local MDA
Date: 1998/03/24
Message-ID: <6f8673$nc2$1@gidora.zeta.org.au>
X-Deja-AN: 337147291
References: <350e577e.232540@news.hunterlink.net.au>
Organization: Zeta Internet, http://www.zeta.org.au/
Newsgroups: comp.mail.sendmail,aus.computers.linux,comp.os.linux.misc