From owner-freebsd-questions Fri Sep 22 2:12:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 1E18337B422 for ; Fri, 22 Sep 2000 02:12:06 -0700 (PDT) Received: from vedette by siafu.iconnect.co.ke with local (Exim 2.12 #1) id 13cOr2-0006Dp-00 for freebsd-questions@FreeBSD.org; Fri, 22 Sep 2000 12:10:48 +0300 Date: Fri, 22 Sep 2000 12:10:48 +0300 From: Odhiambo Washington To: FreeBSD-Questions Subject: Procmail Message-ID: <20000922121048.F50352@siafu.iconnect.co.ke> Mail-Followup-To: FreeBSD-Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en fr X-Editor: Pico http://www.washington.edu/pine X-Location: Mombasa, Kenya, East Africa X-Uptime: 11:29AM up 25 days, 19 mins, 12 users, load averages: 0.42, 0.56, 0.52 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After a very long period of headache with hundreds of e-mail from all parts of the world (I even had to create a user acct dedicated to FreeBSD-questions list!!) I finally managed to get procmail to do it for me - sort the mails into mailboxes (pls don't laugh at me, I can see you giggling). But now every e-mail that comes to me has these funny fortunes appended at the top!! Two fortunes to be exact. The only place I call fortunes from is my .cshrc. Why?? I've not told procmail to do that. I call procmail from .forward "| /usr/local/bin/procmail" NB: There were about 5 options for calling it from the HOWTO I relied on and my way of calling it is NOT amongst them. Here are what they suggested; 1. In a Perfect World:-) "| exec /usr/local/bin/procmail #vedette" 2. Almost Perfect World: "| exec /usr/local/bin/procmail USER=vedette" 3. In Another world: "| IFS=' ' ; exec /usr/local/bin/procmail #vedette" 4. Different world: "| IFS=' ' ; exec /usr/local/bin/procmail USER=vedette" 5. Smrsh world: "| /usr/local/bin/procmail #vedette" They noted that these formats can be tried in different combinations, the leading "| can be tried as |" instead, or vice versa. Now, looking at all those options, NONE worked for me. So mine is in a weird world, isn't it? If I added anything after the word 'procmail' I would compalints that mail addressed to me is bouncing...but all the same I ended up getting a copy because I was clever enough ;-) to have the line vedette@iconnect.co.ke after the procmail line..phew..but now I have removed that... Procmail is not my default mail deliver agent. Well all this is peculiar to me. I just don't like the fortunes being forcefully embedded into all incoming mails. Someone must have had that experience. And neither do I want to remove the fortune lines from my .cshrc . Is procmail getting its funny ideas from .cshrc?? thanks/danke/merci Wash -- Odhiambo Washington Systems Administrator Inter-Connect Ltd. 3rd Flr The Chancery Valley Rd PO Box 39519 Nairobi, KENYA Tel: 254 2 711140 Fax: 254 2 718418 One of the penalties for refusing to participate in politics is that you end up being governed by your inferiors. -Plato To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message