Bug 108606

Summary: Courier MTA terminates abnormaly after installation
Product: Ports & Packages Reporter: Valery Marchuk <vmarchuk>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Valery Marchuk 2007-01-31 14:50:27 UTC
PORTNAME=       courier 
PORTVERSION=    0.54.0  
After installation from /usr/ports/mail/courier server fails to function correctly. In the log file appears:

Jan 31 16:29:57 vpn courierd: Initializing dsn
Jan 31 16:29:57 vpn courierd: Started exec ./courierlocal, pid=44791, maxdels=10, maxhost=4, maxrcpt=1
Jan 31 16:29:57 vpn courierd: Started exec ./courieresmtp, pid=44792, maxdels=40, maxhost=4, maxrcpt=100
Jan 31 16:29:57 vpn courierd: Started exec ./courierdsn, pid=44793, maxdels=4, maxhost=1, maxrcpt=1
Jan 31 16:29:57 vpn courierd: queuelo=200, queuehi=400
Jan 31 16:29:57 vpn courierd: Purging /var/spool/courier/msgq
Jan 31 16:29:57 vpn courierd: Purging /var/spool/courier/msgs
Jan 31 16:29:57 vpn courierd: Permission denied
Jan 31 16:29:57 vpn courierd: ABNORMAL TERMINATION, exit status: 1
Jan 31 16:29:57 vpn courierd: Will restart in 60 seconds.


After setting 777 permissions for /var/spool/courier/msgs:

Jan 30 10:05:45 mail courierd: Started exec ./courierlocal, pid=2398, maxdels=10, maxhost=4, maxrcpt=1
Jan 30 10:05:45 mail courierd: Started exec ./courieresmtp, pid=2399, maxdels=40, maxhost=4, maxrcpt=100
Jan 30 10:05:45 mail courierd: Started exec ./courierdsn, pid=2400, maxdels=4, maxhost=1, maxrcpt=1
Jan 30 10:05:45 mail courierd: queuelo=200, queuehi=400
Jan 30 10:05:45 mail courierd: Purging /var/spool/courier/msgq
Jan 30 10:05:45 mail courierd: Purging /var/spool/courier/msgs 
Jan 30 10:05:45 mail courierd: ABNORMAL TERMINATION BY A SIGNAL 
Jan 30 10:05:45 mail courierd: Will restart in 60 seconds. 

Tested on FreeBSD 6.1 and 6.2

How-To-Repeat: Install courier MTA from /usr/ports/mail/courier and run it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-31 19:58:40 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Valery Marchuk 2007-02-01 11:21:23 UTC
A little followup.
The problem exists when courier 0.54.0 is installed with option AUTH_MYSQL. 
If there are no option defined in the "make config" dialog window, 
everything seems to compile and work properly.
The authlib version is
PORTNAME=       courier-authlib
PORTVERSION=    0.59.1
PORTREVISION=   0
CATEGORIES?=    security mail
Comment 3 bsd 2007-02-24 12:54:47 UTC
I can't reproduce this behavior, maybe some leftover from earlier 
installation...
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2007-09-30 14:00:36 UTC
Hi Valery,

there hasn't been an update on this for quite a while. Are you still
experiencing this problem when installing mail/courier, or can this
problem report be closed?

Best regards,
Stefan
Comment 5 Stefan Walter freebsd_committer freebsd_triage 2007-10-01 17:47:56 UTC
State Changed
From-To: feedback->closed

Submitter replied in private mail that this PR can be closed.