diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2015-03-11 13:28:05 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2015-03-11 13:28:05 +0000 |
commit | 7676e9c404708d5d55f58024d8b1ddaceedbd240 (patch) | |
tree | ca071d936f7d3bb453e10e237e839d7818ea7550 /mail | |
parent | 4293d044d2703b78b2d45ce914ae1eb5c58db058 (diff) |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/proxsmtp/Makefile | 11 | ||||
-rw-r--r-- | mail/proxsmtp/files/pkg-message.in | 12 |
2 files changed, 20 insertions, 3 deletions
diff --git a/mail/proxsmtp/Makefile b/mail/proxsmtp/Makefile index 637920aa2244..655b1f9948eb 100644 --- a/mail/proxsmtp/Makefile +++ b/mail/proxsmtp/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 1 CATEGORIES= mail security MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= zi@FreeBSD.org COMMENT= Flexible SMTP filter which can act also as transparent proxy LICENSE= BSD3CLAUSE @@ -22,7 +22,16 @@ PORTDOCS= ChangeLog NEWS README OPTIONS_DEFINE= DOCS +PROXSMTP_BANNER?= 220 smtp.passthru +PROXSMTP_HELO_RSP?= 250 smtp.passthru +PROXSMTP_SMTP_EHLO_RSP?=250-smtp.passthru + post-patch: + @${REINPLACE_CMD} \ + -e 's|220 smtp.passthru|${PROXSMTP_BANNER}|g' \ + -e 's|250 smtp.passthru|${PROXSMTP_HELO_RSP}|g' \ + -e 's|250-smtp.passthru|${PROXSMTP_SMTP_EHLO_RSP}|g' \ + ${WRKSRC}/common/smtppass.c @${REINPLACE_CMD} -e \ '/^acx_pthread_flags/s|=.*|="${PTHREAD_LIBS}"|' \ ${WRKSRC}/configure diff --git a/mail/proxsmtp/files/pkg-message.in b/mail/proxsmtp/files/pkg-message.in index 1cdac12db3cf..c4d40526a7be 100644 --- a/mail/proxsmtp/files/pkg-message.in +++ b/mail/proxsmtp/files/pkg-message.in @@ -3,8 +3,16 @@ Edit /etc/rc.conf and set proxsmtpd_enable="YES" -to enable proxsmtpd. +to enable proxsmtpd. -To make it work with Postfix, see: +To make it work with Postfix, see: http://memberwebs.com/stef/software/proxsmtp/postfix.html + +You can also specify the following make variables: + + PROXSMTP_BANNER="220 smtp.passthru" + PROXSMTP_HELO_RSP="250 smtp.passthru" + PROXSMTP_SMTP_EHLO_RSP="250-smtp.passthru" + +to define default values (or to override the defaults). /* ================================================================= */ |