FreeBSD Bugzilla – Attachment 81216 Details for
Bug 116332
[NEW PORT] mail/xf-spf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
xf-spf.txt
xf-spf.txt (text/plain), 3.74 KB, created by
Felippe de Meirelles Motta
on 2007-10-14 01:26:20 UTC
(
hide
)
Description:
xf-spf.txt
Filename:
MIME Type:
Creator:
Felippe de Meirelles Motta
Created:
2007-10-14 01:26:20 UTC
Size:
3.74 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># xf-spf/ ># xf-spf/pkg-descr ># xf-spf/Makefile ># xf-spf/files ># xf-spf/files/pkg-message.in ># xf-spf/distinfo ># >echo c - xf-spf/ >mkdir -p xf-spf/ > /dev/null 2>&1 >echo x - xf-spf/pkg-descr >sed 's/^X//' >xf-spf/pkg-descr << 'END-of-xf-spf/pkg-descr' >XWhen an SMTP session starts, xf-spf is expected to be forked from >Xqmail-smtpd - this is why you need SMTPEXTFORK. When forked, this processes >Xgets all enviroment variables which were available for the parent process >X(qmail-smtpd). >X >XA customized SPF checker for qmail to be used with >XSMTPEXTFORM patch, used and approved by a number of FreeBSD Brasil LTDA's >Xcustomers. >X >XWWW: http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail-smtpextfork/ >END-of-xf-spf/pkg-descr >echo x - xf-spf/Makefile >sed 's/^X//' >xf-spf/Makefile << 'END-of-xf-spf/Makefile' >X# New ports collection makefile for: xf-spf >X# Date created: 2007-09-12 >X# Whom: Felippe de Meirelles Motta <lippe@freebsdbrasil.com.br> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= xf-spf >XPORTVERSION= 0.2 >XCATEGORIES= mail >XMASTER_SITES= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail-smtpextfork/ >X >XMAINTAINER= lippe@freebsdbrasil.com.br >XCOMMENT= SPF checker for Qmail's SMTPEXTFORK patch >X >XLIB_DEPENDS+= spf2.2:${PORTSDIR}/mail/libspf2 >X >XUSE_QMAIL= yes >XUSE_BZIP2= yes >X >XSUB_FILES= pkg-message >XSUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX} >XPLIST_SUB= QMAIL_PREFIX=${QMAIL_PREFIX} >X >XPORTDOCS= README TODO CHANGELOG COPYRIGHT >X >X.include <bsd.port.pre.mk> >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X. for i in ${PORTDOCS} >X @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} >X. endfor >X.endif >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >END-of-xf-spf/Makefile >echo c - xf-spf/files >mkdir -p xf-spf/files > /dev/null 2>&1 >echo x - xf-spf/files/pkg-message.in >sed 's/^X//' >xf-spf/files/pkg-message.in << 'END-of-xf-spf/files/pkg-message.in' >X=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >X >XThe enviroment var, SPFBEHAVIOR needs to be set. If it is not set, >Xxf-spf will not run, and will log a message stating SPFBEHAVIOR en- >Xviroment var is not available. SPFBEHAVIOR will define the proper >Xbehavior of xf-spf. >X >XSPFBEHAVIOR enviroment may have values between 0 and 6, similar to >Xqmail's SPF patch. You can have a full description off all behavior >Xvalues reading the installed README file: >X >X %%DOCSDIR%%/README >X >XIf you want to disable xf-spf for some reason, or disable it's che- >Xcking for one particular IP address, using tcprules(1), set >XSPFBEHAVIOR to 0. >X >XConfigure xf-spf usage on qmail-smtpd's SMTPEXTFORK patch: >X >XAdd %%QMAIL_PREFIX%%/bin/xf-spf to the appropriated enviroment var: >X >X echo %%QMAIL_PREFIX%%/bin/xf-spf > /var/service/smtpd/env/SMTPEXTFORK >X >XOr use it with tcprules: >X >X :allow,SMTPEXTFORK="%%QMAIL_PREFIX%%/bin/xf-spf" >X >XRemember that more than one program can be used with SMTPEXTFORK patch. >XIf you already use any other, add xf-spf separated by comma: >X >X :allow,SMTPEXTFORK="%%QMAIL_PREFIX%%/bin/xf-spf,/some/other/prog" >X >XOr >X >X echo "/some/other/prog,%%QMAIL_PREFIX%%/bin/xf-spf" \ >X > /var/service/smtpd/env/SMTPEXTFORK >X >X=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >X >END-of-xf-spf/files/pkg-message.in >echo x - xf-spf/distinfo >sed 's/^X//' >xf-spf/distinfo << 'END-of-xf-spf/distinfo' >XMD5 (xf-spf-0.2.tar.bz2) = 882cd99ef898a693caff3be1dec12d67 >XSHA256 (xf-spf-0.2.tar.bz2) = 9ad031c1545d6b60b6cfc008ee3815ed85951f10b6795690d0ea210df0754db7 >XSIZE (xf-spf-0.2.tar.bz2) = 6148 >END-of-xf-spf/distinfo >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 116332
:
81214
|
81215
| 81216