*BSD News Article 60873


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!jussieu.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.mail.elm
Subject: Re: Elm does not like me :(
Date: 29 Jan 1996 21:21:51 GMT
Organization: Usenet Canal Historique
Lines: 64
Message-ID: <4ejdpf$4uu@keltia.freenix.fr>
References: <4e34av$fin@tzlink.j51.com> <61elUjEZo$B@rimki.toppoint.de>
NNTP-Posting-Host: keltia.freenix.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:13406 comp.mail.elm:18555

In article <61elUjEZo$B@rimki.toppoint.de>,
Christoph Rimek <chrimek@toppoint.de> wrote:
> Specify only one of the locking methods fcntl() or flock(), they seem
> to be mutually exclusive. I preferred the old BSD-like flock(), not the
> SystemV-like fcntl(). 

fcntl(2) is more POSIX 1003.1 than SysV. SysV's  equivalent system call for
flock(2) is lockf(2).  Go figure. 

Anyway, flock is implemented exactly as fcntl. Look in
/sys/kern/kern_descrip.c.

> In addition to your choice you may (and should) choose the .lock method.

No. It is not needed with *BSD and Elm.
 
> BSD does neither have nor need the SystemV tool newgrp to change the
> group you are in - all the time you are in all groups you are listed in
> in /etc/group. But you have to tell elm to compile in a way where
> no change_group-function is available. 

Configure should pick it up automatically.  At least it  has been right for
me since 386BSD 0.1...
 
> The permissions have to be set according to the elm README, /var/mail
> has group write permission and elm itself uses sgid.

Wrong, see my other post. 

drwxr-xr-x  2 root  wheel   512 Jan  9 20:07 /var/mail

-rwxr-xr-x  1 root  bin  398310 Jan 23 22:32 /usr/local/bin/elm

Elm Version and Identification Information:

	Elm 2.4ME+ PL3 (25), of January, 1996
	(C) Copyright 1988-1992 USENET Community Trust
	Based on Elm 2.0, (C) Copyright 1986,1987 Dave Taylor
	----------------------------------
	Configured Tue Jan 23 22:25:11 MET 1996
	----------------------------------
	Use UNIX Mailbox Delimiters and /usr/sbin/sendmail Mail Transport Agent: 
    not MMDF
	Let the MTA add the From: header: DONT_ADD_FROM
	Following mail spool locking protocols will be used: USE_FCNTL_LOCKING
	From: and Reply-To: addresses are good: USE_EMBEDDED_ADDRESSES
	Support Multipurpose Internet Mail Extensions: MIME
	Use 8BIT content_transfer_encoding and -B8BITMIME -option: USE_8BITMIME
	Don't use BINARY content_transfer_encoding with -BBINARYMIME -option: 
    not USE_BINARYMIME (This option isn't fully implemented yet.)
	Prefers Internet address formats: INTERNET
	No debug options are available: not DEBUG
	Crypt function enabled: CRYPT
	Mailbox editing not included: not ALLOW_MAILBOX_EDITING
	Subshell menu items included: ALLOW_SUBSHELL
	Spell checking feature disabled: not ISPELL
	Calendar file feature enabled: ENABLE_CALENDAR
		(Default calendar file is calendar)
	PGP support enabled: USE_PGP
	Remailer support enabled: USE_REMAILER

-- 
Ollivier ROBERT  -=- FreeBSD: The daemon is FREE! -=-  roberto@freebsd.org
-=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-