ports/51100: mail/imp3: fixing an error when saving attachments.

Thierry Thomas thierry at pompo.net
Thu Apr 17 19:00:34 UTC 2003


>Number:         51100
>Category:       ports
>Synopsis:       mail/imp3: fixing an error when saving attachments.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 17 12:00:32 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-RC i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-RC FreeBSD 4.8-RC #0: Sat Mar 29 02:08:33 CET 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Fixing an error reported by fran at his.com:
	Saving attachments causes an error:
	"You don't have permission to access /horde/imp/download/ on this server."
	and an error is reported in /var/log/httpd-error.log:
	[error] [client aaa.bbb.ccc.ddd] client denied by server configuration: /usr/local/www/horde/imp/download

	$LOCALBASE/etc/horde/httpd.conf.imp was protecting horde/imp/download/
	(my mistake), but IMP uses this as a pseudo-directory, and it must be
	readable by your clients.

>How-To-Repeat:
	Read a mail with an attachment, and try to save this attachment.

>Fix:
	Please apply the following patch:

--- imp3.diff begins here ---
diff -urN /usr/ports/mail/imp3.orig/Makefile /usr/ports/mail/imp3/Makefile
--- /usr/ports/mail/imp3.orig/Makefile	Mon Apr 14 21:01:09 2003
+++ /usr/ports/mail/imp3/Makefile	Thu Apr 17 20:25:01 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	imp
 PORTVERSION=	3.2.1
+PORTREVISION=	1
 CATEGORIES=	mail www
 MASTER_SITES=	ftp://ftp.horde.org/pub/imp/				\
 		ftp://ftp.au.horde.org/pub/horde/imp/			\
diff -urN /usr/ports/mail/imp3.orig/files/httpd.conf.imp /usr/ports/mail/imp3/files/httpd.conf.imp
--- /usr/ports/mail/imp3.orig/files/httpd.conf.imp	Sun Mar 30 21:07:35 2003
+++ /usr/ports/mail/imp3/files/httpd.conf.imp	Thu Apr 17 20:19:03 2003
@@ -7,10 +7,6 @@
     order deny,allow
     deny from all
 </Directory>
-<Directory "/home/httpd/html/horde/imp/download">
-    order deny,allow
-    deny from all
-</Directory>
 <Directory "/home/httpd/html/horde/imp/lib">
     order deny,allow
     deny from all
--- imp3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list