Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 18:38:48 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@coe.ufrj.br>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6337: procmail behaves badly with majordomo
Message-ID:  <199804172138.SAA14340@roma.coe.ufrj.br>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804172138.SAA14340>