From owner-freebsd-ports Tue Dec 5 12:16:39 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA01184 for ports-outgoing; Tue, 5 Dec 1995 12:16:39 -0800 Received: from wiley.muc.ditec.de (wiley.muc.ditec.de [194.120.126.9]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA01172 for ; Tue, 5 Dec 1995 12:16:30 -0800 Received: from vector.enet ([139.92.42.172]) by wiley.muc.ditec.de (8.6.12/8.6.9) with ESMTP id VAA06373 for ; Tue, 5 Dec 1995 21:16:06 +0100 Received: (from jhs@localhost) by vector.enet (8.6.12/8.6.9) id VAA01459; Tue, 5 Dec 1995 21:09:52 +0100 Date: Tue, 5 Dec 1995 21:09:52 +0100 From: "Julian Stacey jhs@freebsd.org" Message-Id: <199512052009.VAA01459@vector.enet> To: ports@freebsd.org Subject: poclient/patches/patch-aa Reply-To: "Julian H. Stacey" Web: http://www.freebsd.org/~jhs/ Mailer: EXMH version 1.6.4 10/10/95 In-reply-to: Your message of "Fri, 02 Jun 1995 01:22:18 +0200." <11820.802048938@freefall.cdrom.com> Sender: owner-ports@freebsd.org Precedence: bulk -------- Hi, For the guy who was talking about procmail & patches, (& whose email adr. I have lost) I offer: /usr/ports/mail/popclient/patches/patch-aa ======= This patch prepared by Julian Stacey after some advice from *** config.h Fri Apr 1 21:09:07 1994 --- config.h Sun Nov 19 22:53:40 1995 *************** *** 37,50 **** /***** Mail Delivery Agent (MDA) definitions *****/ /* fully-qualified pathname for the MDA (usually /bin/mail) */ ! #define MDA_PATH "/bin/mail" /* passed as argv[0] to the MDA (usually just the basename of the mailer) */ #define MDA_ALIAS "mail" /* MDA command args; $u passes user's login id (usually "-d $u") */ /* (may be undefined if the mailer doesn't require arguments (?!)) */ ! #define MDA_ARGS "-d $u" /* MDA command arg count -- must be greater than or equal to the number of space-delimited arguments defined in MDA_ARGS. */ --- 37,51 ---- /***** Mail Delivery Agent (MDA) definitions *****/ /* fully-qualified pathname for the MDA (usually /bin/mail) */ ! #define MDA_PATH "/usr/bin/mail" /* passed as argv[0] to the MDA (usually just the basename of the mailer) */ #define MDA_ALIAS "mail" /* MDA command args; $u passes user's login id (usually "-d $u") */ /* (may be undefined if the mailer doesn't require arguments (?!)) */ ! /* #define MDA_ARGS "-d $u" ! perhaps -u might be appropriate ? */ /* MDA command arg count -- must be greater than or equal to the number of space-delimited arguments defined in MDA_ARGS. */ ======= BTW I agree the above needs review/enhancement, but it's succesfully dloading all my mail, BUT I do it via a cd $HOME MBOX=mbox.`date +%y_%m_%d_%H_%M` popclient -3 -v -p -o $MBOX my.drop.host cat $MBOX >> /var/mail/jhs rm $MBOX echo Starting $HOME/bin/procmail.sh ..... I havent got the direct pipe/append whatever working :-) Regards, Julian Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/