wwhcn: zmailer bugs

Date: Mon, 10 Mar 1997 13:44:38 -0400
From: Gerard MacNeil <macneil@chebucto.ns.ca>
To: csuite-tech@chebucto.ns.ca
Precedence: bulk

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


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

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 '

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?

Question 2:
If not, which files should have the ownership and permissions reset, and
who and what are they?

Gerard MacNeil, P. Eng.



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