Add a simple but very functional native feature of qmail, the use of QUEUE_EXTRA
option, as described in http://cr.yp.to/qmail/faq/admin.html. Can be used with every slaveport. PR: ports/108987 Submitted by: Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
This commit is contained in:
parent
97a2f4acc2
commit
9d6b51a247
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184890
@ -179,6 +179,9 @@ OPTIONS+= RELAYMAILFROM "Open relay based on mailfrom" off \
|
||||
BIGTODO "Bruce Guenter's BigToDo patch" off \
|
||||
SMTPEXTFORK "Allow qmail-smtpd fork external progs" off
|
||||
.endif
|
||||
|
||||
OPTIONS+= QEXTRA "enable QUEUE_EXTRA e-mail copy feature" off
|
||||
|
||||
.if !defined(SLAVE_LDAP)
|
||||
OPTIONS+= RCDLINK "create rc.d/qmail.sh" on
|
||||
.endif
|
||||
@ -631,6 +634,11 @@ post-patch:
|
||||
@${REINPLACE_CMD} '/"man"/d; /man\/man/d; /man\/cat/d; \
|
||||
/"doc"/d; /"boot","/d' \
|
||||
${WRKSRC}/hier.c
|
||||
.if defined (WITH_QEXTRA)
|
||||
@${REINPLACE_CMD} 's!QUEUE_EXTRA ""!QUEUE_EXTRA "Tlog\\0"!g; \
|
||||
s!QUEUE_EXTRALEN 0!QUEUE_EXTRALEN 5!g' \
|
||||
${WRKSRC}/extra.h
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
@${SED} -e 's,%%RCDLINK%%,${RCDLINK},g; s,%%LOCALBASE%%,${LOCALBASE},g' \
|
||||
|
Loading…
Reference in New Issue
Block a user