Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2008 01:21:26 GMT
From:      Takeshi Taguchi <taguchi@ff.iij4u.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127530: LDA of postfix with dovecot will fail when startup
Message-ID:  <200809220121.m8M1LQCo020645@www.freebsd.org>
Resent-Message-ID: <200809220130.m8M1U1S7033355@freefall.freebsd.org>

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

>Number:         127530
>Category:       ports
>Synopsis:       LDA of postfix with dovecot will fail when startup
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 22 01:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Takeshi Taguchi
>Release:        7.1
>Organization:
>Environment:
FreeBSD bsd.example.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Aug 28 21:41:01 JST 2008     root@bsd.example.com:/usr/obj/usr/src/sys/CUSTUM-Xeon  amd64
>Description:
When system rebooting, syslog(using syslog-ng2) said:
Sep 22 09:28:43 bsd deliver(user@bsd.example.com): Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory

>How-To-Repeat:
install postfix with dovecot as LDA.
Reboot and try to deliver mail to it same time.


>Fix:
I think this probrem will be fix attached patch.
Does anyone test/commit it?
Thanks.


Patch attached with submission follows:

--- /usr/ports/mail/postfix/Makefile~	2008-08-27 19:12:32.000000000 +0900
+++ /usr/ports/mail/postfix/Makefile	2008-09-22 09:56:30.000000000 +0900
@@ -112,6 +112,7 @@
 .if defined(WITH_DOVECOT)
 RUN_DEPENDS+=		dovecot:${PORTSDIR}/mail/dovecot
 POSTFIX_CCARGS+=	-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"
+_REQUIRE=		dovecot
 .endif
 
 .if defined(WITH_SASLKRB)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809220121.m8M1LQCo020645>