Commit graph

49 commits

Author SHA1 Message Date
Kirill Ponomarev
ce87e07dc8 "Spamooborona 1024" software by Yandex allows to filter up to 1024
good messages per day for any mailhost. It is to note: 1024 - it is
not the total amount of messages scanned but the only good ones,
which aren't considered as spam. Once 1024 good messages get passed
through the filter, the rest of mail traffic will be passed without
considering spam or ham until the end of the day.

http://so.yandex.ru/companies/so1024.xml

The patch allows use of "Spamooborona 1024" with Exim by using
Local_scan()'s functionality provided by Yandex LLC.

PR:		ports/146215
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org>
2010-05-05 18:08:18 +00:00
Kirill Ponomarev
16f0b1fa35 Update to version 4.70
- Add devel/pcre dependency
 - Add option for checking ACL in DCC
 - Add WITH_DEBUG option
 - Remove Domain Keys option
 - Remove DKIM option

Submitted by:	"Alexey V. Degtyarev" <alexey@renatasystems.org>
2009-11-15 18:18:20 +00:00
Kirill Ponomarev
fce5fb8da6 Fix plist.
Submitted by:	pav
2007-06-15 08:56:47 +00:00
Kirill Ponomarev
bf440612a0 Add mail/dovecot auth daemon for authentication.
Use USE_RC_SUBR correctly.

PR:		ports/112784
Submitted by:	Jan Srzednicki <w@wrzask.pl>
2007-05-28 20:52:13 +00:00
Kirill Ponomarev
e805bc5e48 Remove FAQ since file was deleted from master sites.
Fix build with gcc41.
2007-03-23 10:38:58 +00:00
Kirill Ponomarev
b840e1e7eb Add libsrs_alt support.
Some cleanups.

Submitted by:	Simon Dick <simond@irrelevant.org>
2006-03-25 23:12:18 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Kirill Ponomarev
d0ec9aa055 Update to 4.50
* Remove WITH/WITHOUT_EXISCAN variable, since exiscan code was
  merged into exim-4.50

* Introduce two new variables: WITH_CONTENT_SCAN and WITH_OLD_DEMIME.

* Enable WITH_OLD_DEMIME by default to preserve backward
  compatibility with deprecated "demime" ACL condition.  For Exim
  itself, setting WITH_OLD_DEMIME forces WITH_CONTENT_SCAN to be set.

* Remove POST-INSTALL-NOTES.exiscan-acl and xpatch-exiscan2 patches.

* Add experimental-spec.txt into docs, to inform about experimental
  features.

PR:		ports/78168
Submitted by:	krion
Approved by:	maintainer is currently MIA
2005-03-02 21:50:48 +00:00
Oliver Eikemeier
335b7e4c69 Fix location of radiusclient.conf when RADIUS_TYPE=RADIUSCLIENT
Make some more options tunable

Noted by:	Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de>
2004-10-17 12:05:20 +00:00
Oliver Eikemeier
25bef59d89 - update to Exim 4.43 and exiscan 28
- add support for the SA-Exim local_scan function
  + http://marc.merlins.org/linux/exim/sa.html
- new options WITH_SA_EXIM, WITH_AUTH_SASL, WITH_RADIUS_TYPE

- fix 150.exim-tidydb.sh when Exim is installed, but not run [1]

Submitted by:	Brian Somers <brian@Awfulhak.org> [1]
2004-10-11 23:48:25 +00:00
Oliver Eikemeier
32ed790ca9 - Update to version 4.40
- Support for WITH_SPF and WITH_SRS via libspf2/libsrs2, needs exiscan

- Note for 5.x users: the default location of the start/stop file has changed.
  Build WITH_RCORDER=yes when you depend on the old behaviour

- WITH_OPENLDAP_VER and WITH_MYSQL_VER does no longer imply the corresponding WITH_ variable.

- experimental support for optionsng from devel/portmk
2004-07-17 14:21:13 +00:00
Oliver Eikemeier
c7cbd04be9 make LOGDIR and LOG_FILE_PATH tunable [1]
add WITH_AUTH_RADIUS support [2]

Requested by:	Lonnie Santella <lonniesantella@hotmail.com> [1]
		Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de> [2]
2004-06-07 10:53:11 +00:00
Oliver Eikemeier
db1fb430dc - update to exiscan-acl version 18
- change `WITH_EXIMON' to include exim-monitor in this package
- remove WITHOUT_WILDLSEARCH, it was non-functional
- add fix for race condition in MBX locking
- add fix for rewrite bug
- add iplsearch wishlist patch
2004-04-28 17:08:06 +00:00
Oliver Eikemeier
2bcf92159e - update to Exim 4.31:
A surprisingly large number of minor bugs have been fixed.
  Support for maildirsize files has been completely rewritten.
  A limited number of feature enhancements are included.
  For instance, TLS now supports Certificate Revocation Lists (CRL),
  and the dnslookup router now (optionally) supports the use of SRV
  records (see RFC 2782) in addition to MX and address records.
  - /usr/local/share/doc/exim/NewStuff
  - /usr/local/share/doc/exim/ChangeLog
  - /usr/local/share/doc/exim/README.UPDATING
2004-03-31 22:33:42 +00:00
Oliver Eikemeier
706ab3f6f1 - update exiscan-acl to version -16
Read /usr/local/share/doc/exim/exiscan-acl-spec.txt for
information about the new MIME ACL.
2004-03-09 18:35:55 +00:00
Sheldon Hearn
06a6053bab Fix creation of /var/log/exim, which I botched when making EXIM_USER
and EXIM_GROUP operator-overidable.

Submitted by:	eik
2004-01-31 15:27:22 +00:00
Sheldon Hearn
2f4eff9be7 WARNING: See caution at the end of this bullet list.
* Update to exim-4.24 (bugfix release).
* Wishlist patch for "eqi" incorporated.
* Mark exim-{ldap2,mysql,postgresql,} as conflicting.
* Substitute PORTREVISION for build number so that the version string
  hints at which version of the port the binary comes from.
* Clean up POST-INSTALL-NOTES.
* Install example scripts, especially upgrade converters, now that exim-old
  has been retired.
* Enable DNSDB-style lookup support by default; it can be disabled with
  WITHOUT_DNSDB.
* Simplify LDAP support, using various versions of OpenLDAP only.
  The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use
  WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead.
* Retired exim-ldap port; OpenLDAP 1.2 is ancient.
* Allow the operator to specify preferred MySql version with
  WITH_MYSQL_VER.
* Allow the operator to specify preferred Berkeley DB version with
  WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid.
* Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1.
* Allow the operator to specify default charset for header conversions,
  with WITH_DEFAULT_CHARSET.
* Limit configure files to ${PREFIX}/etc/exim by default for security
  reasons; the operator may override this behaviour with
  WITHOUT_ALT_CONFIG_PREFIX.

!!!WARNING!!!
Some of these changes may cause trouble for folks who have a bunch of
exim port tweaks in make.conf and pkgtools.conf.  The ALT_CONFIG_PREFIX
change may break existing deployments.

PR:		ports/57098
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
PR:		ports/56117
Submitted by:	Pat Lashley <patl+freebsd@volant.org>
PR:		ports/57099
Reported by:	Mark Foster <mark@foster.cc>
2003-09-29 11:42:45 +00:00
Sheldon Hearn
55c1140415 Bring the Exim port closer to use as an install-time sendmail
replacement for FreeBSD:

* Use an rc.subr start/stop script.
* Include contributed periodic scripts.
* Replace $PREFIX with the build-time value of PREFIX.
* Generate a default configure file if it doesn't exist at install-time.
* Remove the default configure file if it hasn't been modified at
  deinstall-time.
* Install additional documentation.
* Move creation and removal of /var/log/exim to pkg-plist.

Bump PORTREVISION accordingly.

This paves the way for ports/56458, which teaches sysinstall about Exim.
Bug trhodes about that PR. :-)

PR:		ports/56450
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-09-10 13:49:09 +00:00
Sheldon Hearn
89d12ec2e8 Import my exiscan-acl clamd virus scanner integration notes.
I can't say enough good things about clamd.
2003-08-25 06:57:40 +00:00
Sheldon Hearn
397db8d46b Update to exim-4.22:
* IPv6 bug fix incorporated.
* Catch up with changes in makefiles.
* Make portlint happier with respect to DOCSDIR, INFO and spaces.
* Use the new INFO macro.
* Use PATCHFILES instead of patching by hand, now that we don't support
  the non-ACL exiscan patch.

This release fixes a few last minute release mistakes from 4.21.

PR:		ports/55701
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-08-18 17:19:58 +00:00
Sheldon Hearn
fc0f425d13 Roll forward over the last revision's backout.
This reinstates exim-4.21, but with PORTREVISION bumped so that folks
unlucky enough to get the bum version can easily upgrade.

Include a patch to fix the reported IPv6 bug.
2003-08-14 15:46:27 +00:00
Sheldon Hearn
873e93e1de Revert previous delta, which updated to exim-4.21.
The update causes segfaults during remote delivery for at least one
IPv6 user, and I don't have an IPv6 testbed to work with yet.

Requested by:	Suresh Ramasubramanian <suresh@outblaze.com>
2003-08-14 12:06:41 +00:00
Sheldon Hearn
944ed68cfa Update to exim-4.21:
* This is a mostly maintenance release, although some new features have
  been added (including Sieve support).

!!!WARNING!!!

The non-ACL exiscan patch is no longer supported.  The exiscan-acl patch
is now used by default, unless WITHOUT_EXISCAN is given.

This means that existing installations that rely on non-ACL exiscan
CAN NOT be upgraded without changes to the configure file.
2003-08-14 10:25:15 +00:00
Sheldon Hearn
70b4918cf0 1) Update exiscan-acl patch to -09:
Improved clamd support.
   New FAQ/example documentation.

2) Enable wildlsearch lookups by default and add new
   WITHOUT_WILDLSEARCH knob for disabling them.

3) Issue a fat warning if 127.0.0.1 is found in the relay_from_hosts
   hostlist of an existing configure file on upgrade.  This is important
   for IPv6 users and doesn't hurt IPv4-only users.

4) Attempt local deliveries as the owner of the mailbox (still group
   mail) and don't fail if the existing mailbox permissions are narrower
   than those with which we would have created it.  This works around
   pw(8) creating mailboxes with 0600 permission (instead of 0660).

Don't advertise Exim's configuration syntax as simple any more.  This
implies that you could leverage Exim's power with just a little reading,
which is not the case.

Bump PORTREVISION accordingly.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com> (1)
PR:		ports/52952 (2)
Submitted by:	Tim Bishop <tim@bishnet.net> (2)
Reported by:	Yann Golanski <yann@kierun.org> (3)
Reported by:	"Simon L. Nielsen" <simon@nitro.dk> (4)
2003-06-13 13:20:56 +00:00
Sheldon Hearn
4d42a2e4fb * Update to exim-4.20, featuring host of minor bugfixes and some feature
enhancements.  Non-critical upgrade.
* Distribution site fixes and cleanups (somehow ommitted in prev delta).
* Put distribution files in a subdirectory.
* Optional support for exiscan-acl; exiscan is still the default.

I think the submitter is doing a great job.

PR:		ports/52228
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-05-15 15:18:05 +00:00
Sheldon Hearn
5f0e3b5298 * Update exim-4.12 -> exim-4.14:
This is a maintenance release, but there are a few edge cases where
  backward compatibikity in the configure file was broken.

  While upgrading is recommended, administrators are encouraged to
  Update exim-4.12 -> exim-4.14:

  This is a maintenance release, but there are a few edge cases where
  backward compatibikity in the configure file was broken.

  While upgrading is recommended, administrators are encouraged to
  examine the README.UPDATING file in the distribution.

* Catch up to changes in the ports tree with respect to available
  OpenLDAP releases.  While backward compatibility is preserved,
  administrators may use WITH_OPENLDAP1, WITH_OPENLDAP20 and
  WITH_OPENLDAP21 for more fine-grained control of the OpenLDAP
  release on which to depend.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-03-31 09:27:08 +00:00
Sheldon Hearn
d9b85a2948 Update 4.10 -> 4.12:
For Exim, this includes an enormous number of fixes.  Most of these are
for esoteric configurations, although if you're bitten by them, you're
bitten hard.

The fixes also include closing up a buffer overflow that is not believed
to be exploitable, and a format string vulnerability that was only
exploitable by an Exim admin user, but then provided root access.

For Eximon, this just rationalizes a patch we carried locally for ages.
2003-01-08 13:33:30 +00:00
Akinori MUSHA
989d36020b Fix plist and unbreak packaging.
Submitted by:	bento
2002-09-23 11:09:50 +00:00
Sheldon Hearn
d7182cf459 Enable exiscan content scanning unless the new knob WITHOUT_EXISCAN
is defined.

Bump PORTREVISION accordingly.
2002-09-19 10:34:12 +00:00
Sheldon Hearn
71de2357c8 I agree with the Exim community that the exim-4.xx has reached production
quality.

Move exim to exim-old for folks who need exim-3.xx, because the
configuration file for exim-4.xx is not backward compatible.  Move
exim-devel to exim, removing NO_LATEST_LINK:

        repo-copy       exim            -> exim-old
        copy over       exim-devel      -> exim
        retire          exim-devel

Slave ports are intended for use with the exim port, as before, so they
now build and install for exim-4.xx.
2002-09-12 10:09:02 +00:00
Sheldon Hearn
d95748dac9 Fix pkg-list following the move from exim.sh.sample to exim.sh.
Bump PORTREVISION to reflect the whole rc.d startup change and
the "NULLs in message body as exposed to filters" patch.
2002-04-03 16:15:30 +00:00
Sheldon Hearn
2515226235 Cope with the fact that at least one 3rd-party package against which
Exim may be linked (MySQL) uses a startup script to add its library
path to the linker hints.

Explain the problem in POST-INSTALL-NOTES and provide a sample
startup script.

I think such packages should do away with the script and provide
POST-INSTALL-NOTES that encourage the operator to add the library
path to ldconfig_paths in /etc/rc.conf, but provide this work-around
anyway.

Reported by:	Oliver Brandmueller <ob@e-Gitt.NET>
2002-02-25 12:51:33 +00:00
Sheldon Hearn
a2c2418b51 Stop people complaining about the absence of plain text versions of
the documentation by installing them.

Update the post-install notes to reflect the presence of the new
exim-doc-* ports for alternative documentation formats.

Bump PORTREVISION.
2001-11-30 14:31:11 +00:00
Sheldon Hearn
e19aceb0b2 * Drop deprecated USE_PERL5.
* Move the contents of pkg-message into POST-INSTALL-NOTES, which
  gets installed in the !NOPORTDOCS case for future reference.

* Refer to POST-INSTALL-NOTES from pkg-message in the !NOPORTDOCS
  case.  In the NOPORTDOCS case, use POST-INSTALL-NOTES as the
  pkg-message.
2001-09-11 11:06:54 +00:00
Sheldon Hearn
d52469e050 * Break eximon into its own port. The goal is to allow administrators
to install and use Exim from the packages without having to install
  XFree86.

* Remove a stale SEDLIST entry for BINOWN handling.

* Use LOCALBASE instead of PREFIX when referring to already installed
  software.

* Use more strict pattern matching in SEDLIST.

Folks who want eximon (the Exim monitor) must now either build exim
or one of its slave ports with WITH_EXIMON defined or install the
standalone exim-monitor package.
2001-08-27 13:23:52 +00:00
Sheldon Hearn
c06da2ea40 Exim is a drop-in replacement for sendmail. Since 4.1-RELEASE,
FreeBSD has shipped with mailwrapper(8), which facilitates the use of
drop-in replacements for sendmail.  Retire exim.sh in favour of the
mailwrapper(8) approach.

Requested by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-06-15 14:12:44 +00:00
Sheldon Hearn
98bfa4fbf7 Retire our local copy of configure.default, which is a maintenance pain.
Replace it with a patch against the distribution configure.default,
which changes as little as possible so that folks who are accustomed to
Exim on other platforms will not be astonished.

Install the file as configure.default instead of configure.sample, since
it's as close as damnit to the default Exim configuration file.

The only arguably unnecessary deviation from the default is:

* Accept SMTP relay from the loopback IP address.  Too many applications
  require this, and the window of abuse is arguably negligible.
2001-06-14 18:43:05 +00:00
Sheldon Hearn
896d5bff25 Install the Exim info files with more useful names. Before, the command
``info exim'' would fail to descend into any of the 3 Exim info files
from the dir top branch.

While we're at it, add a pkg-message that

1) Points to the documentation
2) Explains how to get Exim started
2001-06-14 17:37:59 +00:00
Sheldon Hearn
64a29c4fcd Update to exim-3.20. 2000-12-21 08:02:23 +00:00
Michael Haro
5ce8e8e5c7 Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
1999-06-05 22:32:11 +00:00
Mark Murray
ceedb8af33 Duh!
Previous commit taught exim to use ``configure.sample'' as its default
configuration file instead of ``configure''. Fix that and a PLIST nit.
1998-11-18 11:42:46 +00:00
Mark Murray
bfcc6414a5 Upgrade to version 2.053 (test release), which includes embedded perl
support and incorporates some FreeBSD-specific patches.
1998-11-16 09:45:24 +00:00
Steve Price
7b97e507de Remove empty directories on deinstall. 1998-10-20 01:41:32 +00:00
Mark Murray
64fb7f1aad Update to 2.02; set Sheldon Hearn as maintainer.
*NOTE* Configure file is not backward compatible!!
The new configure file is installed as configure.sample.
1998-10-07 10:49:32 +00:00
Mark Murray
ca0c6e0686 Ugrade to v1.92. 1998-05-25 12:13:38 +00:00
Mark Murray
25365f174c Upgrade to 1.70. (Lotsa bug fixes, improved macros, improved filtering) 1997-09-08 11:19:08 +00:00
Mark Murray
323ac7e8a1 Upgrade to version 1.60.
Note! I have fixed a bogon from previous versions where I was putting the
executables in $(PREFIX)/bin. They now go in $(PREFIX)/sbin, so make
sure your previous binaries have been properly removed!
1997-02-26 13:51:00 +00:00
Mark Murray
a588bce354 Ugrade to version 0.57 1996-10-31 19:26:07 +00:00
Mark Murray
18ecf108f8 Add Exim. Exim is a high performance sendmail replacement (except no UUCP)
wiyh powerful retry/requeue and management features.
Written by Philip Hazel of Cambridge University.

OKed by: asami
1996-07-06 11:13:58 +00:00