Commit graph

51 commits

Author SHA1 Message Date
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
Roman Bogorodskiy
8922b5cb8b Make pkg-install not to create wrong file in /var/qmail/alias.
PR:		81467
Submitted by:	Renato Botelho (maintainer)
2005-05-25 19:11:25 +00:00
Sergey Matveychuk
0695fe3817 - Rewrite pkg-install using switch case for PRE-INSTALL and POST-INSTALL
parameters, and, use this parameters to call PKGINSTALL on Makefile.
- Remove some redundant things from Makefile and use it only on
  pkg-install.
- Move pkg-install to files/pkg-install.in because i'm using some
  %%MACROS%% on this.

PR:		ports/80911
Submitted by:	maintainer
2005-05-17 09:14:30 +00:00
Sergey Matveychuk
2aa88641dc - 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>
2005-05-10 14:31:29 +00:00
Sergey Matveychuk
f49371e1f6 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
2005-05-05 20:03:10 +00:00
Mario Sergio Fujikawa Ferreira
db109513fe o Add both hoststat and purgestat entries for qmail's mailer.conf
mailwrapper sample configuration
o Bump PORTREVISION

Submitted by:	Luca Morettoni <luca@morettoni.net>
2004-03-09 23:48:44 +00:00
Mario Sergio Fujikawa Ferreira
7324117abc 1) PORTREVISION bump due to [3] and [4]
2) distinfo - update checksum for outgoingip.patch: no major change
   in code
3) New patch files/patch-qmail-local.c
	-  Erik Sjlund pointed out a bug in qmail-local at
	http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/10/msg00696.html
	- Precedence bug corrected by adding parentheses which
	affects .qmail files parsing code
4) Add qmail's sendmail emulation fix: "David Phillips noticed that
   sendmail's '-f' option sets a default From: header, and so should
   qmail's emulation."
	- Add distinfo checksum for the patch

Submitted by:	too many [2]
Obtained from:	http://www.qmail.org/ [3] [4]
2003-12-10 21:40:13 +00:00
Mario Sergio Fujikawa Ferreira
1a32f86a3f 1) Fix bug introduced in Makefile rev 1.29: files/maildir not
replacing @PREFIX@ with ${PREFIX}
2) Rewrite rc script patching to both handle more cases and
   fix (1). Mostly within thereal-post-patch target
3) Update files/maildir both due to (2) and to resemble the rc
   scripts supplied with the qmail distribution

Prompted by:	Thomas Sarlandie <sarfata@altern.org>
2001-05-26 03:27:55 +00:00
Mario Sergio Fujikawa Ferreira
90a7b13a96 Add {start|stop} support to the initialization (rc.d style) scripts.
Also, add a informational message if the user does not use the
scripts correctly.
2001-03-13 05:47:01 +00:00
Steve Price
c0a42fd5da - Don't hardcode /usr/local.
- Also add a mailer.conf that allows sendmail to be replaced with qmail.

PR:		19449
Submitted by:	Mike Meyer <mwm@mired.org> and maintainer
2000-07-07 18:52:32 +00:00
Chris Piazza
e690b295ee Update MASTER_SITES and add a file explaining how to replace
sendmail on 4.0 (mailwrapper)

PR:		16921
Submitted by:	maintainer
2000-02-25 22:14:29 +00:00
Peter Wemm
7b8fca1447 $Id$ -> $FreeBSD$ 1999-08-30 12:09:14 +00:00
Tim Vanderhoek
bce8695182 Add a '&' to all bootfiles so they can be used directly as
/usr/local/etc/rc.d/x.sh.
1998-07-28 00:54:06 +00:00