Searches without login should now work. You must get asked to click a button.
Port details
qmail-spamcontrolQmail MTA with SpamControl patches
1.03.2731_3mailΣ=3 1.03.2731_3Version of this port present on the latest quarterly branch.
DEPRECATED: BROKEN for more than 4+ years This port expired on: 2023-11-30 IGNORE: is marked as broken on FreeBSD 13.2: incomplete definition of type 'struct X509_name_st'
SpamControl is a collection of patches for qmail developed and maintained
by Erwin Hoffmann (feh@fehcom.de).
Some SpamControl features: smtp-auth (plain, login and cram-md5),
requirement of brackets on addresses, qmail-queue, bigtodo, moreipme,
recipients, STARTTLS...
@unexec for alias in postmaster root mailer-daemon; do if [ -f %D/alias/.qmail-${alias} ] && [ $(stat -f '%%z' %D/alias/.qmail-${alias}) -eq 0 ]; then rm -f %D/alias/.qmail-${alias}; fi; done
@exec for alias in postmaster root mailer-daemon; do if ! [ -f %D/alias/.qmail-${alias} ]; then :> %D/alias/.qmail-${alias}; fi; done
@exec echo; echo "A /usr/local/etc/rc.d/qmailsmtpd and a /usr/local/etc/rc.d/qmailsend symlink were created." | /usr/bin/fmt; echo
@comment bin/auth_dovecot
@comment bin/auth_imap
@comment bin/auth_pop
@comment bin/auth_smtp
bin/bouncesaying
bin/condredirect
@comment bin/condwrite
bin/datemail
@comment bin/digest
bin/elq
bin/except
bin/forward
bin/ipmeprint
bin/maildir2mbox
bin/maildirmake
bin/maildirwatch
bin/mailsubj
@comment bin/pbsadd
@comment bin/pbscheck
@comment bin/pbsdbd
bin/pinq
bin/predate
bin/preline
bin/qail
bin/qbiff
bin/qmail-badloadertypes
bin/qmail-badmimetypes
@comment bin/qmail-cdb
bin/qmail-clean
@comment bin/qmail-forward
bin/qmail-getpw
@comment bin/qmail-group
bin/qmail-inject
@comment bin/qmail-ldaplookup
bin/qmail-local
bin/qmail-lspawn
bin/qmail-mfrules
bin/qmail-newmrh
bin/qmail-newu
bin/qmail-pop3d
bin/qmail-popup
bin/qmail-pw2u
bin/qmail-qmqpc
bin/qmail-qmqpd
bin/qmail-qmtpd
bin/qmail-qread
bin/qmail-qstat
@mode 04711
@owner qmailq
bin/qmail-queue
@mode
@owner
@comment bin/qmail-quotawarn
bin/qmail-recipients
bin/qmail-remote
@comment bin/qmail-reply
bin/qmail-rspawn
@comment bin/qmail-secretary
bin/qmail-send
bin/qmail-showctl
bin/qmail-smtpam
bin/qmail-smtpd
bin/qmail-start
bin/qmail-tcpok
bin/qmail-tcpto
@comment bin/qmail-todo
@comment %%EXTERNAL_TODO%%bin/qmail-todo
@comment bin/qmail-verify
bin/qreceipt
bin/qsmhook
bin/sendmail
bin/splogger
@comment bin/update_tmprsadh
bin/tcp-env
boot/binm1
boot/binm1+df
boot/binm2
boot/binm2+df
boot/binm3
boot/binm3+df
boot/home
boot/home+df
boot/maildir
boot/proc
boot/proc+df
boot/qmailsmtpd
boot/qmailsend
@comment boot/qmail/log/run
@comment boot/qmail/run
@comment boot/qmail-smtpd/log/run
@comment boot/qmail-smtpd/run
@comment boot/qmail-qmqpd/log/run
@comment boot/qmail-qmqpd/run
@comment boot/qmail-pop3d/log/run
@comment boot/qmail-pop3d/run
@comment boot/qmail-imapd/log/run
@comment boot/qmail-imapd/run
@comment boot/qmail-pop3d-ssl/log/run
@comment boot/qmail-pop3d-ssl/run
@comment boot/qmail-imapd-ssl/log/run
@comment boot/qmail-imapd-ssl/run
@comment boot/qmail-pbsdbd/log/run
@comment boot/qmail-pbsdbd/run
@comment This port installs the following manually (ie. not through qmail-hier)
configure/config
configure/config-fast
configure/dnsfq
configure/dnsip
configure/dnsptr
configure/hostname
configure/install
configure/ipmeprint
@comment control/Makefile
@comment @sample control/qmail-imapd.rules.sample
@comment @sample control/qmail-pop3d.rules.sample
@comment @sample control/qmail-qmqpd.rules.sample
@comment @sample control/qmail-smtpd.rules.sample
@comment @sample control/signatures.sample
man/man1/bouncesaying.1.gz
man/man1/condredirect.1.gz
man/man1/except.1.gz
man/man1/forward.1.gz
man/man1/maildir2mbox.1.gz
man/man1/maildirmake.1.gz
man/man1/maildirwatch.1.gz
man/man1/mailsubj.1.gz
man/man1/preline.1.gz
man/man1/qbiff.1.gz
man/man1/qreceipt.1.gz
man/man1/tcp-env.1.gz
man/man5/addresses.5.gz
man/man5/dot-qmail.5.gz
man/man5/envelopes.5.gz
man/man5/maildir.5.gz
man/man5/mbox.5.gz
man/man5/qmail-control.5.gz
man/man5/qmail-header.5.gz
man/man5/qmail-log.5.gz
man/man5/qmail-users.5.gz
man/man5/tcp-environ.5.gz
man/man7/forgeries.7.gz
man/man7/qmail-limits.7.gz
man/man7/qmail.7.gz
man/man8/qmail-clean.8.gz
man/man8/qmail-command.8.gz
man/man8/qmail-getpw.8.gz
man/man8/qmail-inject.8.gz
man/man8/qmail-local.8.gz
man/man8/qmail-lspawn.8.gz
man/man8/qmail-newmrh.8.gz
man/man8/qmail-newu.8.gz
man/man8/qmail-pop3d.8.gz
man/man8/qmail-popup.8.gz
man/man8/qmail-pw2u.8.gz
man/man8/qmail-qmqpc.8.gz
man/man8/qmail-qmqpd.8.gz
man/man8/qmail-qmtpd.8.gz
man/man8/qmail-qread.8.gz
man/man8/qmail-qstat.8.gz
man/man8/qmail-queue.8.gz
man/man8/qmail-remote.8.gz
man/man8/qmail-rspawn.8.gz
man/man8/qmail-send.8.gz
man/man8/qmail-showctl.8.gz
man/man8/qmail-smtpd.8.gz
man/man8/qmail-start.8.gz
man/man8/qmail-tcpok.8.gz
man/man8/qmail-tcpto.8.gz
man/man8/splogger.8.gz
man/man8/qmail-smtpam.8.gz
man/man8/qmail-badloadertypes.8.gz
man/man8/qmail-badmimetypes.8.gz
man/man8/qmail-mfrules.8.gz
man/man8/qmail-recipients.8.gz
scripts/enable-qmail
scripts/mkaliasdir
scripts/qmail-alias2recipients
scripts/qmail-pwd2recipients
scripts/qmail-users2recipients
scripts/qmail-vpopmail2recipients
@comment Setup non-bin/ dirs (can be removed once pkg_install is EOL)
@exec %D/configure/install x
@comment Do initial config setup if not already done
@exec if ! [ -e %D/control/me ]; then (cd %D/configure && ./config); fi
@comment @dir boot/qmail/env
@comment @dir boot/qmail-imapd/env
@comment @dir boot/qmail-imapd-ssl/env
@comment @dir boot/qmail-pbsdbd/env
@comment @dir boot/qmail-pop3d/env
@comment @dir boot/qmail-pop3d-ssl/env
@comment @dir boot/qmail-qmqpd/env
@comment @dir boot/qmail-smtpd/env
@comment @dir log/qmail
@comment @dir log/qmail-imapd
@comment @dir log/qmail-imapd-ssl
@comment @dir log/qmail-pbsdbd
@comment @dir log/qmail-pop3d
@comment @dir log/qmail-pop3d-ssl
@comment @dir log/qmail-qmqpd
@comment @dir log/qmail-smtpd
@dir alias
@dir control
@dir users
@unexec echo "1) If you are permanently removing qmail, you should also 'rm -rf ${PKG_PREFIX}' and remove the qmail users/groups." | /usr/bin/fmt
@unexec echo "2) Do not forget to reconfigure your /etc/mail/mailer.conf to use your older MTA, or reconfigure your old MTA binaries if you decided to replace them." | /usr/bin/fmt
@unexec echo "3) Do not forget to enable sendmail as your default MTA if you have to. You can do it just executing 'echo sendmail_enable=\"YES\"' >> /etc/rc.conf" | /usr/bin/fmt
===> The following configuration options are available for qmail-spamcontrol-1.03.2731_3:
BIG_CONCURRENCY_PATCH=off: Use a concurrency greater than 240
DOCS=on: Build and/or install documentation
EXTTODO_PATCH=off: Extern high-perform. todo processing
LOCALTIME_PATCH=off: Emit dates in the local timezone
MAILDIRQUOTA_PATCH=off: Maildir++ support
PAM111421=on: Smtpd allow email in case PAM failure
QEXTRA=off: Enable QUEUE_EXTRA copy feature
RCDLINK=on: Create rc.d/qmail symlink
SMTPEXTFORK=off: Allow qmail-smtpd fork external progs
SPF_PATCH=off: Implement SPF checker
XF_QUITASAP=off: Close SMTP session ASAP (SMTPEXTFORK)
===> Use 'make config' to modify these settings
mail/qmail-spamcontrol: Mark DEPRECATED
- BROKEN for more than 4+ years and on all supported versions
- Set EXPIRATION_DATE 2023-11-30
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
- Fix creation of rc symlink in package
- Fix procname in rc script so it can 'stop' correctly. [1]
Submitted by: Dirk Engling <erdgeist@erdgeist.org> [1]
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Fix patch application in mail/qmail-spamcontrol:
The spamcontrol patch is applied through a script, install_spamcontrol.sh. This
script does not return a non-zero status when patch failures are encountered.
So I missed many failures when updating this port.
To fix this, move the spamcontrol patch application to pre-patch so that the
PATCHFILES->DISTFILES (and manual patch application with PATCH) is not needed
for most patches. This ensures that the spamcontrol patch is always applied
before PATCHFILES. Some PATCHFILES were applying before the spamcontrol patch
causing it to fail to patch properly.
Bump revision as the build had been fine but some files were not being
generated in the package.
Also add my mirror as distcache does not have the updated patches yet.
Reported by: Oleg Strizhak
MFH: 2014Q3
mail/qmail-spamcontrol: Update to 2.7.31
TLSREMOTE, NEWLINE, and BIGTODO are now mandatory upstream and have been
removed as options.
MOREIPME was removed upstream.
Changes:
http://www.fehcom.de/qmail/spamcontrol/RELEASE_27.spamcontrol
CHANGES (2.6 -> 2.7)
--------------------
Userland:
+) ucspi-ssl (> 0.8) mandatory.
(Only the first 15 lines of the commit message are shown above )
mail/qmail, mail/qmail-tls, mail/qmail-mysql, mail/qmail-spamcontrol:
- Support stagedir
- Fix all leftovers
Note that this depends on new Mk/Scripts/check_leftovers.sh added in r351446.
- Bump PORTREVISION in all ports due to plist being fixed.
- Support man.d on FreeBSD 9+
- Convert NOPORTDOCS
- Fix bad perl shebang for scripts/mkaliasdir
- Remove pkg-install and move all to pkg-plist
- Fix /var/qmail modified warning in poudriere by doing nothing in
install-mtree
- Fix /var/qmail getting unpredictable/wrong permissions due to
USERS/GROUPS changing for every user with HOME=/var/qmail
- Use more OPTIONS helpers
- Fix ccache support for spamcontrol patch building
- Fix build of SMTPEXTFORK in mail/qmail-spamcontrol with recent clang
Tested with: pkg and pkg_install
- Cleanup example rc file
- Support SHUTDOWN
- Check for needed files/dependencies in precmd
- Respect LOCALBASE
- Make rclint happy
- Rename symlink from qmail.sh to qmailsmtpd
- Rename installed example rc file from qmail-smtpd.rcNG to qmailsmtpd
- Fix runtime crash when using SMTPEXTFORK option due to
calling strtok(3) without string.h included.
Not reported "upstream" as the last update was 2009
and the site is dead.
Reported by: Christopher Weimann <christopher@weimann.us>
- Really fix qmail-spamcontrol build now, i was building ucspi-ssl after
install_spamcontrol.sh and it must run before since this script need to copy
ssl.a to correct place
- Bump PORTREVISION
- Update spamcontrol to 2521 to fix recipients problem included by last version
- Remove spamcontrol spf patch MD% from distinfo, forgot un 2.5 upgrade
PR: ports/131889
Submitted by: howard goldstein <hg@queue.to>
- Update spamcontrol patch to 2.5.20 version to fix some problems with
recupients
- Update README.smtpdextfork distinfo entry, file was updated by author
- Update spamcontrol patch collection to 2519
For more information about this version, please check:
http://fehcom.de/qmail/spamcontrol/README_spamcontrol.html
Tested by: Sirko Zidlewitz <sz@bytecamp.net>
Thanks to: Erwin Hoffmann <feh@fehcom.de>
- Fix a bug detected on spamcontrol patch. This but is in qmail-smtpd.c, when
qmail_close return a reason that starts with char 'D', smtpd rejects the
message using a QHPSI virus_found message.
- Bump qmail-spamcontrol's PORTREVISION
Reported by: Wendell Martins Borges <wendellmartins@mac.com>
Tested by: Wendell Martins Borges <wendellmartins@mac.com>
- Fix a segfault on amd64 (except on qmail-spamcontrol and qmail-ldap) [1]
- Add an rcNG startup example file to QMAIL_PREFIX/boot [2]
- Bump PORTREVISION due to rcNG add (except for qmail-ldap)
- Fix make certificate to add ciphers file to QMAIL_PREFIX/control [3]
PR: ports/118117 [1], ports/117422 [2], ports/118198 [3]
Submitted by: Andrew Reilly <areilly@bigpond.net.au> [1] [3]
Nick@van-laarhoven.org [2]
- Add a copy of spamcontrol patch on MASTER_SITE_LOCAL and make it fetchable
again
PR: ports/104796
Submitted by: Stefan Witzel<stefan.witzel@zvw.uni-goettingen.de>
Approved by: portmgr (erwin)
- Update to spamcontrol 2.4.15:
2.4.15 FIXED missing IP information in Received header.
ADDED ucspi-ssl-0.70_ucspitls-0.4.patch_.
CHNGD order of qmail-smtpd reject conditions.
Adapt qmail-smtpd to work fine with new rblsmtpd functionality, checking envvar
set by rblsmtpd when IP matched on a RBL list and deny email is user is not
authenticated.
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
(Only the first 15 lines of the commit message are shown above )
- Transfer all work to MASTER port and make slave ports easier
- Use only one pkg-plist and use PLIST_SUB
- Use DOCSDIR intead of DOCDIR
- OPTIONS'ify
- Remove WITH_PRESERVE_CONFIG_FILES knob and detect automatically when is need
to create it.
- Add $FreeBSD$ tag to pkg-plist and pkg-install
- Fix error on enable-qmail script
- Remove MASTER_SITE_QMAIL definition from Makefile since it's defined on
bsd.sites.mk
- Add a new option to don't create rc.d/qmail.sh
- Add rc.d/qmail.sh to pkg-plist when necessary
PR: ports/80833
Submitted by: maintainer
Thanks to: novel, Joao Ricardo P. Mendes <joao@redepegasus.com.br>
o Pacify a lot of portlint WARN and FATAL messages
o Change ${PERL} to ${SED} or ${REINPLACE_CMD}
o Added patch patch-qmail-1.03-rfc2821.diff to search other MX servers
when the first return a code > 500 and < 599
o Install mkaliasdir script on ${PREFIX}/scripts directory
o Remove targets to disable-qmail and enable-sendmail and put it on a
shell script that is installed on /var/qmail/scripts. Change messages
reflect this.
o Organize better pkg-plist
o Remove thereal-post-patch target and put all on post-post-patch target
o Add [0-9] to CONFLICTS on qmail-ldap port
o Change LIB_DEPENDS to USE_MYSQL=yes on qmail-mysql port
o Change qmail-spamcontrol to don't need more to apply patches mannualy
PR: ports/79094
Submitted by: maintainer
- Remove BARRIER to show advertise of WITH_PRESERVE_CONFIG_FILES option
of the main qmail port.
PR: ports/78832
Submitted by: Renato Botelho <renato@galle.com.br> (maintainer)
- OPTIONS-ify
- Fix typo in Spamcontrol author's name in pkg-descr
- Quell install_spamcontrol.sh's desire to install anything into PREFIX
during configure phase
PR: ports/78813
Submitted by: Renato Botelho (maintainer)
Add mail/qmail-spamcontrol slave port: qmail MTA + SpamControl patches
SpamControl is a collection of patches for qmail developed and maintained
by Erwin Hoffman (feh@fehcom.de).
Some SpamControl features: smtp-auth (plain, login and cram-md5),
requirement of brackets on addresses, qmail-queue, bigtodo, moreipme,
recipients...
WWW: http://www.fehcom.de/qmail/spamcontrol.html
PR: ports/77637
Submitted by: Renato Botelho <renato@galle.com.br>