From owner-freebsd-ports Fri Apr 17 14:40:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03482 for freebsd-ports-outgoing; Fri, 17 Apr 1998 14:40:09 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03434; Fri, 17 Apr 1998 14:40:04 -0700 (PDT) (envelope-from gnats) Received: from roma.coe.ufrj.br (root@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA03002 for ; Fri, 17 Apr 1998 21:38:51 GMT (envelope-from jonny@coe.ufrj.br) Received: (from root@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id SAA14340; Fri, 17 Apr 1998 18:38:48 -0300 (EST) (envelope-from jonny) Message-Id: <199804172138.SAA14340@roma.coe.ufrj.br> Date: Fri, 17 Apr 1998 18:38:48 -0300 (EST) From: Joao Carlos Mendes Luis Reply-To: jonny@coe.ufrj.br To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6337: procmail behaves badly with majordomo Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6337 >Category: ports >Synopsis: procmail does not believe majordomo as trusted user >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 17 14:40:03 PDT 1998 >Last-Modified: >Originator: Joao Carlos Mendes Luis >Organization: COPPE/UFRJ >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD, majordomo, procmail as standard local mailer (MDA) in sendmail, elm as MUA. >Description: procmail does not believe majordomo, and inserts a >From_ line just after the From_ one. This makes elm (and probably other mailers) to not understand the reply-to field. probably is a bug in elm or sendmail. Should elm understand that syntax ? And why sendmail does not change the uid to root while delivering the message ? Maybe it's a misconfiguration on my site, but this patch will help others anyway. >How-To-Repeat: Create a majordomo list with reply-to to the list, in a machine with procmail as local mail agent in sendmail, and use elm to reply. >Fix: Here's the patch for the procmail port: --- patches/patch-ab.old Wed Aug 28 10:18:46 1996 +++ patches/patch-ab Fri Apr 17 18:29:43 1998 @@ -1,17 +1,22 @@ *** config.h.bak Mon Oct 30 05:09:07 1995 --- config.h Wed Aug 28 17:10:52 1996 *************** -*** 45,51 **** +*** 43,51 **** + >From_ field will be added in the header */ + #define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\ - "list","slist","lists","news",0} +! "list","slist","lists","news",0} ! /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ---- 45,51 ---- +--- 43,52 ---- + >From_ field will be added in the header */ + #define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\ - "list","slist","lists","news",0} +! "list","slist","lists","news",\ +! "majordom", "majordomo",0} ! #define NO_fcntl_LOCK /* uncomment any of these three if you */ /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message