Commit graph

63 commits

Author SHA1 Message Date
Antoine Brodin
944577e102 Revert r446735 and unbreak, the patch fails to apply and is probably wrong
PR:		218590
Reported by:	pkg-fallout
2017-07-28 08:22:16 +00:00
Bernard Spil
3a87361514 mail/qmail-tls: Fix patch
- Fix egregious accept=>connect mistake

PR:		218590
Reported by:	antoine
2017-07-27 11:56:01 +00:00
Bernard Spil
02bc8b0d80 mail/qmail-tls: Fix build with LibreSSL
- Replace direct struct access with get/setters

PR:		218590
Approved by:	erdgeist (maintainer)
MFH:		2017Q3
2017-07-27 11:20:12 +00:00
Kurt Jaeger
5b38ed18fe mail/qmail: Add rc.d script for qmails queue management daemons
PR:		210223
Submitted by:	Dirk Engling <erdgeist@erdgeist.org> (maintainer)
2016-06-25 14:44:04 +00:00
Bryan Drewery
6752b25fda - 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]
2015-10-30 23:07:16 +00:00
Mathieu Arnold
7f0f664d7e Drop 8 support.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
2015-10-15 14:55:14 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Bryan Drewery
92d8ac9962 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.
  +) Added CRAM-MD5 support for qmail-remote.
  +) Added qmail-smtpam PAM for Recipients extension.
  +) Added sender-domain based TLS settings for qmail-remote.
  :) Changed qmail-remote's 'tlspeerhosts' to' tlsdestinations'.
  -) Removed moreip and notipme feature.
  :) REQUIREAUTH has been collapsed into SMTPAUTH with leading "!",
  :) SMTPAUTH has been enhanced to support: "!" Required; "-" Off.
  :) SMTPAUTH cram-md5 annoucement has to be prefixed with a '+':
     SMTPAUTH='+cram' (to allow future additional AUTH mechanisms).
  :) UCSPITLS has been enhanced to support: "!" Required "-" Off.
  +) Added logging for qmail-popup.
  +) Added CAPA support for qmail-popup/qmail-pop3d.
  :) Unified qmail-smtpd and qmail-popup logging.
  +) SPF and RBLSMTPD hook to display info in Received header.
  +) LOCALMFCHECK='=' requiring 'Mail From:' = 'TCPREMOTEINFO'.

  Internal:
  !) Bigtodo is default now.
  !) Maximum silent concurrency increased to 500.
  #) Aligend with recipients-0.7.2.
  #) Aligned with smtp-authentication 0.7.6.
  %) qmail-smtpd logging and reply messages 'off-shored'.
  ?) qmail-smtpd tls vulnerability VU#555316 fixed.
  ?) qmail-smtpd DNS lookup failures don't result in dropped
     connections anymore.
  %) qmail-remote evalutes in addition Alternative Subject for TLS host verification.
  %) Complete FreeBSD AMD64 support (conf-cc, conf-ld, conf-spamcontrol).
  #) Aligned with mav 0.20.
  +) Added partial clang support.

  ADDITIONAL CHANGES
  ------------------

  +) Added SMTP Authentication based on smtproutes/destination.
  #) Aligned with SMTP Authentication 0.8.0.
  -) Removed obsolete SUBMISSION environment variable and special treatement.
  :) Enhanced badmailfrom with new qualifier '~' for extended addresses
     to filter mismatched domain names.
  +) Added *.3 man pages in setup (dirs were missing before).
  ;) SPF Hook working now.
2014-06-27 02:33:04 +00:00
Bryan Drewery
79a2bb25a8 - Add DNS_CNAME option to switch from using ANY queries, which was a hack
added many years ago for BIND 4. Using CNAME avoids excessive data in
  DNS query responses and temporary failures.

  This was already applied in spamcontrol.

  See also:
    http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/qmail/
    https://www.google.com/#q=CNAME_lookup_failed_temporarily

Submitted by:	Matt Simerson <matt@tnpi.net>
2014-06-20 03:17:04 +00:00
Bryan Drewery
bf48a40a29 Switch mail/qmail and mail/qmail-mysql to using netqmail. Switch their
PKGNAMEs to reflect this as well and bump their version up to the last
netqmail release of 1.06.

qmail-ldap and qmail-spamcontrol explicitly want to be applied on stock
qmail, so leave those alone.

This does not bring much, but it allows easier updates to qmail-tls and
some of the other patches which depend on netqmail.

qmail-tls is left as qmail for now. It will be updated to the newer
revision soon which does require netqmail.

Changes include:
  * QMAILQUEUE by default
  * Fix for 0.0.0.0
  * qmail-smtpd is protected from exceedingly long (eg 2GB) headers

Other than those listed, there are no other significant changes beyond
documentation or patches that were already applied by default.
2014-06-20 03:03:41 +00:00
Bryan Drewery
9c859f6f6e 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
2014-04-17 05:16:47 +00:00
Bryan Drewery
4750c6ff48 Add file meant for r325421 2013-08-26 23:31:42 +00:00
Bryan Drewery
678eff9c21 - 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
2013-02-23 18:49:29 +00:00
Bryan Drewery
7b01d09ebb - 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>
2013-02-06 04:49:01 +00:00
Renato Botelho
f73ec4c6b0 Fix MAILDIRQUOTA patch that was calculating the wrong email size.
PR:		ports/168870
Submitted by:	Michael Gmelin <freebsd@grem.de>
Feature safe:	yes
2012-10-11 13:35:55 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Adam Weinberger
047e56b829 Typo fix in a printed string.
Approved by:	garga (maintainer)
2011-09-30 15:20:48 +00:00
Renato Botelho
19760f48f0 - Make qmail use USERS and GROUPS [1]
- Add my local_distfiles as a MASTER_SITES to ucspi-ssl

PR:		ports/157622 [1]
Submitted by:	crees [1]
2011-07-18 20:55:29 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Renato Botelho
8d9c1f0443 When server announce auth as "PLAIN LOGIN" instead of the common inverse order
"LOGIN PLAIN" make sure qmail-remote can authenticate.
2010-09-20 13:35:44 +00:00
Renato Botelho
697b95bd06 Fix build with utmpx
Reported by:	pointyhat by erwin@
2010-04-06 11:51:22 +00:00
Renato Botelho
78ee99eb30 Remove references pointing to PORT_NOTE, a file that doesn't exist anymore
Reported by:	Elliot Denk <elliotdenk at googlemail.com>
Feature safe:	yes
2010-02-25 10:51:07 +00:00
Renato Botelho
35ffaa0b9a Fix build on 9-CURRENT after utmp -> utmpx
Provided by:	ed@
2010-01-19 10:26:57 +00:00
Renato Botelho
19c5907d88 Update spamcontrol patch to 2527 2009-12-23 17:29:38 +00:00
Renato Botelho
cc97a5cc60 - Update qmail-spamcontrol to 2525a 2009-06-16 16:38:27 +00:00
Renato Botelho
6dace6b6ad - Fix segfaulting on amd64 adding alloc.h on cdbmake_add.c
PR:		ports/133709
Submitted by:	Milos Vyletel <milos.vyletel@gmail.com>
2009-04-21 14:17:38 +00:00
Renato Botelho
209f586611 - 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>
2009-02-17 16:12:00 +00:00
Renato Botelho
96a69840e6 - Add a warning on pkg-install about rc.d/qmail.sh symlink and show to user
the way to have it working

PR:		ports/125740
Submitted by:	G. Georgiev <roots_bg@yahoo.com>
2008-08-19 13:13:46 +00:00
Renato Botelho
63f3b93b3d - Fix pkg-install to create initial aliases correctly, broken when was rewritten
from csh to sh
- Bump PORTREVISION from all slave ports
2008-03-31 01:07:19 +00:00
Renato Botelho
0517a32fc9 - Fix pkg-install's user detection
PR:		ports/119935
Submitted by:	Simon Shapiro <simon@niftywerks.com>
2008-01-24 16:33:20 +00:00
Renato Botelho
1a8f8ec40b - Convert pkg-install from csh to sh, since it's the default on ports
Reviewed by:	miwi
2008-01-21 17:49:27 +00:00
Renato Botelho
e1ab2d0519 - 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]
2007-12-26 16:43:55 +00:00
Renato Botelho
e82d707579 Revert last commit that added a rnCG example file, the script was totally out
of defaults from Porters Handbook and was an error add it.

Suggested by:	many people
2007-08-30 16:00:47 +00:00
Renato Botelho
c5f3f70024 - Add a rcNG startup script to ${PREFIX}/boot
PR:		ports/110109
Submitted by:	kitsune <v.velox@vvelox.net>
2007-07-28 13:50:18 +00:00
Renato Botelho
8136c101ce - RBL2SMTPD patch was not logging URL reference
Reported by:	Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
2007-01-31 17:09:02 +00:00
Renato Botelho
a86d546e46 Remove old PORT_NOTES and PORT_NOTES_FreeBSD_40-RELEASE, they are not so useful
these days.
2006-08-03 19:02:18 +00:00
Renato Botelho
3d655dcd60 - Change spamcontrol's spf patch to log when deny an email
- Move auth patches from FILESDIR to MASTER_SITE_LOCAL
2006-07-28 18:21:59 +00:00
Renato Botelho
f5c06e857b Fix auth patch for qmail-tls
Submitted by:	Luiz Souza <luiz at visualconnect.com.br> by email
2006-07-28 13:53:25 +00:00
Renato Botelho
195dc22fa1 - 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.
2006-06-30 19:13:21 +00:00
Renato Botelho
32447622f7 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.
2006-06-08 23:47:10 +00:00
Renato Botelho
9c37005da8 - One more fix for tls+auth patches, now I hope all are working fine.
Submitted by:	Manuel Mausz <manuel@mausz.at>
2006-01-31 12:40:37 +00:00
Renato Botelho
f0ccca2ea5 - qmail-tls is not working fine with auth, fix it printing STATTLS alone in
one line on EHLO command [1]
- Add ECHO_CMD to SUB_LIST, it's necessary to boot files

PR:		ports/92574 [1]
Submitted by:	Cristiano Deana <cris@gufi.org> [1]
2006-01-31 09:38:25 +00:00
Renato Botelho
e1ed2e8e9c - Revert last commit and back to use alias user, that is the default.
- Fix mkaliasdir accordingly
2006-01-30 16:25:14 +00:00
Renato Botelho
effbdad4cb - Fix username creation on pkg-install - s/alias/qalias/g
Reported by:	B. Cook <bcook@bsdwebsolutions.com>
2006-01-30 09:27:01 +00:00
Renato Botelho
1f0edbb3c7 - Remove mail/qmail-smtp_auth+tls since you can choose SMTP_AUTH_PATCH on
qmail-tls port.
2005-12-12 15:17:23 +00:00
Renato Botelho
6aa04113c2 - Add SMTP Authentication on qmail-tls slave port, after that, i'll remove
port mail/qmail-smtp_auth+tls, since it won't be necessary anymore
2005-12-12 14:36:13 +00:00
Renato Botelho
1887dc5e18 - Add patch to provide SMTP Authentication on main qmail port. 2005-12-12 13:44:34 +00:00
Renato Botelho
dadc7493ee - Fix patch-install.c, like qmail-ldap 2005-12-09 16:26:16 +00:00
Roman Bogorodskiy
8ce28cb5ea Fix qmail-tls and qmail-smtp_auth+tls pkg-message.
PR:		82970
Submitted by:	Renato Botelho (maintainer)
2005-07-04 15:15:15 +00:00
Pav Lucistnik
fab158e1f3 - Update ldap patch to 20050401a
- Add sysutils/daemontools to RUN_DEPENDS because the new patch works
  just with it
- Change pkg-message to reflect qmail.schema file installation
- Change pkg-descr to reflect new features

PR:		ports/81966
Submitted by:	Renato Botelho <freebsd@galle.com.br> (maintainer)
2005-06-06 21:50:00 +00:00