ports/127530: LDA of postfix with dovecot will fail when startup

Takeshi Taguchi taguchi at ff.iij4u.or.jp
Mon Sep 22 01:30:02 UTC 2008


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list