Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 01:57:54 -0800 (PST)
From:      vadim@gc.lviv.ua
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10725: Wrong Cyrus IMAP deliver group
Message-ID:  <19990322095754.4EA401513B@hub.freebsd.org>

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

>Number:         10725
>Category:       ports
>Synopsis:       Wrong Cyrus IMAP deliver group
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 22 02:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Vadim Chekan
>Release:        FreeBSD-3.0
>Organization:
GC
>Environment:
FreeBSD gate.gc.lviv.ua 3.0-STABLE FreeBSD 3.0-STABLE #0: Sun Jan 31 18:41:43 EE
T 1999     vadim@gate.gc.lviv.ua:/usr/src/sys/compile/GATE.3  i386
>Description:
Cyrus IMAP local deliver is installed with cyrus.cyrus user/group
In this case sometimes erroer 
SYSERR(logger): Cannot exec /usr/local/cyrus/bin/deliver: Permission denied
apers

But in sendmail.cf:
/etc/sendmail/gate > grep -5 Mcyrus sendmail.cf
###   Cyrus Mailer specification               ###
##################################################

#####  @(#)cyrus.m4     8.9 (Carnegie Mellon) 5/19/98  #####

Mcyrus,         P=/usr/local/cyrus/bin/deliver, F=lsDFMnPqA5@/:|, S=10, R=20/40,
 T=X-Unix,
                U=cyrus:mail,
                        ^^^^^

Group must be "mail"!
>How-To-Repeat:
Install Cyrus mail from the ports.
Configure Cyrus as default local mailer or only for one user

LOCAL_RULE_0
Rvadim < @ $=w . >              $# cyrus $: vadim
Rvadim                          $# cyrus $: vadim

Login as trivial user
echo 'Hello!' | /usr/sbin/sendmail vadim

Now in log is an error message, undeliveres mail is in a spool.
>Fix:
/usr/ports/mail/cyrus > diff -u Makefile.old Makefile
--- Makefile.old        Mon Mar 22 12:44:21 1999
+++ Makefile    Mon Mar 22 12:44:32 1999
@@ -22,7 +22,7 @@

 HAS_CONFIGURE= YES
 CONFIGURE_ARGS=        --with-cyrus-prefix=${PREFIX}/cyrus \
-               --with-cyrus-group=cyrus \
+               --with-cyrus-group=mail \
                --with-login=unix_pwcheck \
                --with-tclsh=${PREFIX}/bin/tclsh8.0 \
                --with-auth=unix \

>Release-Note:
>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?19990322095754.4EA401513B>