aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-03-06 02:39:52 +0800
committergarga <garga@FreeBSD.org>2009-03-06 02:39:52 +0800
commit8be88f6a39d9deb7fe6178f015f56752e5214e15 (patch)
tree9b2d7453b7fa27d25cdb432f9e88dbd1865f6e69 /mail
parentcb0cdc8f5665411a5dbf272b250f7c9851c685c0 (diff)
downloadfreebsd-ports-gnome-8be88f6a39d9deb7fe6178f015f56752e5214e15.tar.gz
freebsd-ports-gnome-8be88f6a39d9deb7fe6178f015f56752e5214e15.tar.zst
freebsd-ports-gnome-8be88f6a39d9deb7fe6178f015f56752e5214e15.zip
- Add SENDERCHECK4 patch for qmail-ldap, off by default, patch description:
This is a small change to SENDERCHECK feature in Qmail-LDAP which adds a new option called LOOSERELAY. It will allow the very same checks that "LOOSE" options do but exclusvely for RELAY clients. Therefore it is a split-horizon approach to the problem where our relayclients spoofs outgoing envelope sender causing abuses like phishing. Suggested by: Patrick Tracanelli (author)
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile10
-rw-r--r--mail/qmail/distinfo3
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 87457d593dbe..bb586175932f 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -165,7 +165,8 @@ OPTIONS+= TLS "SMTP TLS support" on \
AUTOHOMEDIRMAKE "auto-homedir-make feature" on \
LDAP_DEBUG "possibility to log and debug imap/pop" off \
SMTPEXTFORK "Allow qmail-smtpd fork external progs" off \
- XF_QUITASAP "Close SMTP session ASAP (SMTPEXTFORK)" off
+ XF_QUITASAP "Close SMTP session ASAP (SMTPEXTFORK)" off \
+ SENDERCHECK4 "LOOSE checks exclusively for RELAY clients" off
LDAP_PARAMS= ALTQUEUE BIGBROTHER BIGTODO BIND_8_COMPAT\
CLEARTEXTPASSWD DASH_EXT DATA_COMPRESS\
@@ -477,6 +478,13 @@ DISTFILES+= ${SMTPEXTFORK_PATCH:S/$/:extfork/} \
README.smtpextfork:extfork
.endif
+.if defined(SLAVE_LDAP)
+PATCH_SITES+= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail/:sendercheck4 \
+ ${MASTER_SITE_LOCAL:S/$/:sendercheck4/}
+PATCH_SITE_SUBDIR+= garga/qmail/:sendercheck4
+PATCHFILES+= qmail-ldap-1.03_qmail-smtpd_SENDERCHECK4.patch:sendercheck4
+.endif
+
# Some default values, these can be modified by make command line
.if defined(WITH_BIG_CONCURRENCY_PATCH) && !defined(BARRIER_BIG_CONCURRENCY_PATCH)
WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT?= 509
diff --git a/mail/qmail/distinfo b/mail/qmail/distinfo
index 8715d01bf164..023cf722725d 100644
--- a/mail/qmail/distinfo
+++ b/mail/qmail/distinfo
@@ -103,3 +103,6 @@ SIZE (qmail/smtpextfork-spamcontrol-2519.patch) = 7611
MD5 (qmail/README.smtpextfork) = de136d073c3acf2f651f536e41054b0f
SHA256 (qmail/README.smtpextfork) = baf23f1cc5676c67041cdaf7c8a0ce5b27365351a4ef52d235d6d021776bb72a
SIZE (qmail/README.smtpextfork) = 7690
+MD5 (qmail/qmail-ldap-1.03_qmail-smtpd_SENDERCHECK4.patch) = 28395f5b6edfff7bb58974cd5b46717a
+SHA256 (qmail/qmail-ldap-1.03_qmail-smtpd_SENDERCHECK4.patch) = 7656aef1f30f3c6a684e319d2a309d162b2a559eb84b38d21a1e23e88c78995b
+SIZE (qmail/qmail-ldap-1.03_qmail-smtpd_SENDERCHECK4.patch) = 2182