wwhcn: zmailer bugs

Date: Tue, 11 Mar 1997 10:50:56 -0400
From: Landon Boyd <landon@chebucto.ns.ca>
To: Gerard MacNeil <macneil@chebucto.ns.ca>
cc: csuite-tech@chebucto.ns.ca
Precedence: bulk

next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
On Mon, 10 Mar 1997, Gerard MacNeil wrote:

> There were five problems in all:
> 
> 1. compile failed for /var/csuite/src/etc/zmailer/smtpserver/relaytest.c
>    Bug:    "union _ndbm" not defined
>    Result: complile/build failed
>    Fix:    force #undef HAVE_NDBM_H in relaytest.c - still failed
> 		(it may not have been necessary)
> 	   surround calls to 'rel->ndbm' with 
> 	   	#ifdef HAVE_NDBM_H
> 	     	... 
> 		#endif
> 
>    Note: ndbm vs gdbm appears to be the cause of lqtext problems as well
> 
> 2. make fails when you re-run 'make install-csuite' from ..../zmailer
>    Bug:    ln: /var/csuite/etc/mail/router.cf: File exists
>    Result: make aborts 
>    Fix:    remove /var/csuite/etc/mail/router.cf before re-running make

I fixed this in the distribution.

> 
> 3. CSuite Distribution Bug:
>    compliled files in ..../zmailer installed even though the make did
> 	not complete.  You actually get 'make' reporting an error and
> 	'make-cgi' providing you a link to continue
> 
> 4. mailq was not defined as a service in /etc/services
>    Result: made the scheduler go nuts
>    Fix:	   added line to /etc/services
> 'mailq           174/tcp '

I've documented this and provided a link to edit /etc/services in the
build procedure.

> 
> 5. permissions on /var/spool/mail were wrong
>    Result: zmailer could not get a lock	
>    Fix:    chmod 3775 /var/spool/mail
> 
> 
> Observation:
> It appears that mail is running as 'root', rather than 'daemon', 'mail' or
> 'zmailer'.  
> 
> Question 1:
> Is this right?

I'm not positive, but that is how it's being run on Chebucto.  Zmailer is
installed using its standard 'make install' so the permissions should all
be correct.

> 
> Question 2:
> If not, which files should have the ownership and permissions reset, and
> who and what are they?
> 
> Gerard MacNeil, P. Eng.
> 
> 
> 


==================================================================
Landon Boyd                          landon@chebucto.ns.ca
Distribution Support Technician,     http://chebucto.ns.ca/~landon
Chebucto Community Net               902-455-4099hm 902-494-2449wk
==================================================================




next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects