summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1996-07-06 11:13:58 +0000
committerMark Murray <markm@FreeBSD.org>1996-07-06 11:13:58 +0000
commit18ecf108f8917254151f6c2c5d0389a4c38a5ddb (patch)
tree078259439cb078c76ff41088fb6634149edee32c /mail/exim
parentAdd net/radius: rlmadmin.c has a restrictive copyright (shareware for (diff)
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
Notes
Notes: svn path=/head/; revision=3320
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile27
-rw-r--r--mail/exim/distinfo2
-rw-r--r--mail/exim/files/Makefile210
-rw-r--r--mail/exim/files/eximon.conf149
-rw-r--r--mail/exim/files/patch-aa43
-rw-r--r--mail/exim/pkg-comment1
-rw-r--r--mail/exim/pkg-descr15
-rw-r--r--mail/exim/pkg-plist22
8 files changed, 469 insertions, 0 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
new file mode 100644
index 000000000000..7aa06642ff50
--- /dev/null
+++ b/mail/exim/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: exim
+# Version required: 0.53
+# Date created: 23 June 1996
+# Whom: markm
+#
+# $Id$
+#
+
+DISTNAME= exim-0.53
+CATEGORIES+= mail
+MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/
+DISTFILES= exim-0.53.tar.gz exim-texinfo-0.52.gz
+EXTRACT_ONLY= exim-0.53.tar.gz
+
+MAINTAINER= markm@FreeBSD.ORG
+
+post-extract:
+ @cp ${DISTDIR}/exim-texinfo-0.52.gz ${WRKSRC}/doc
+ @gunzip ${WRKSRC}/doc/exim-texinfo-0.52
+
+do-configure:
+ mkdir ${WRKSRC}/Local
+ cp ${FILESDIR}/Makefile ${WRKSRC}/Local
+ cp ${FILESDIR}/eximon.conf ${WRKSRC}/Local
+ -(cd ${WRKSRC}; make)
+
+.include <bsd.port.mk>
diff --git a/mail/exim/distinfo b/mail/exim/distinfo
new file mode 100644
index 000000000000..5348e72f4559
--- /dev/null
+++ b/mail/exim/distinfo
@@ -0,0 +1,2 @@
+MD5 (exim-0.53.tar.gz) = 7da8888862849fed6610dc6376f09557
+MD5 (exim-texinfo-0.52.gz) = 13d8717da854dba08365074c931adf25
diff --git a/mail/exim/files/Makefile b/mail/exim/files/Makefile
new file mode 100644
index 000000000000..f0432c722bf5
--- /dev/null
+++ b/mail/exim/files/Makefile
@@ -0,0 +1,210 @@
+##################################################
+# The Exim mail transport agent #
+##################################################
+
+# This is the template for Exim's main build-time configuration file. It
+# contains settings that are independent of any operating system. It should
+# be edited and then saved to a file called Local/Makefile before first running
+# the make command.
+
+# Things that depend on the operating system have default settings in files
+# called OS/Makefile-<osname>. These can be overridden by creating files
+# called Local/Makefile-<osname>, though it is hoped that this will rarely
+# be necessary.
+
+
+# The binary directory: This variable defines where the exim binary will be
+# installed by "make install" or "exim_install". It is also used internally
+# by exim when it needs to re-invoke itself, either to send an error message,
+# or to recover root privilege. Exim's utility binaries and scripts are also
+# installed in this directory. There is no default for this variable built into
+# the source files; it must be set in one of the local configuration files.
+
+BIN_DIRECTORY=/usr/local/bin
+
+
+# The info directory: This variable defines where the exim info files will be
+# installed by "make install" or "exim_install".
+
+INFO_DIRECTORY=/usr/local/info
+
+
+# The runtime configuration file: This variable defines where Exim's runtime
+# configuration file is. There is no default built into the source files, so
+# there must be a setting in one of the local configuration files. The
+# location of all other runtime files and directories can be changed in the
+# runtime configuration file.
+
+CONFIGURE_FILE=/usr/local/etc/exim.conf
+
+
+# The size of the delivery buffer: This specifies the size of buffer which is
+# used when copying a message from the spool to a destination. The default
+# value built into the source is 8192.
+
+# DELIVER_BUFFER_SIZE=8192
+
+
+# Included directors: These variables determine which individual director
+# drivers are included in the Exim binary. There are no defaults; those that
+# are wanted must be defined here by setting the appropriate variables to the
+# value "yes". The actions of each director are described in a separate chapter
+# in the manual. Including a director in the binary does not cause it to
+# be used automatically. It has also to be specified in the runtime
+# configuration file.
+
+DIRECTOR_ALIASFILE=yes
+DIRECTOR_FORWARDFILE=yes
+DIRECTOR_LOCALUSER=yes
+DIRECTOR_SMARTUSER=yes
+
+
+# The mode of the database directory: Exim creates a directory called "db"
+# in its spool directory, to hold its databases of hints. This variable
+# determines the mode of the created directory. The default value in the
+# source is 0750.
+
+# DB_DIRECTORY_MODE=0750
+
+
+# Database locking: When trying to obtain a lock on one of its database files,
+# there is a limit to the number of retries (default 10) and a time between
+# retries (default 5 seconds). These can be altered here.
+
+# DB_LOCK_RETRIES=10
+# DB_LOCK_SLEEP=5
+
+
+# Database file mode: The mode of files created in the "db" directory defaults
+# to 0640 in the source, and can be changed here.
+
+# DB_MODE=0640
+
+
+# Running Exim not as root: A uid and gid for Exim can be specified here. These
+# are compiled into the binary, but can be changed by settings in the runtime
+# configuration file. The default in the code is -1, which means "unset" -
+# i.e. run as root unless specified otherwise at run time. Specifying 0 at
+# run time has the effect of unsetting any configured values.
+
+# The settings here must be numeric; the run time file allows names to
+# be used. When this uid and gid are set, the Exim binary still has to be
+# setuid root if local deliveries are to be performed or a listener on port
+# 25 is to be run, but it gives up its privilege when possible. There is a
+# trade-off between security and efficiency, controlled by the runtime
+# "security" setting, which controls how privilege is released (setuid vs
+# seteuid). The default value of -1 here means "unset".
+
+# EXIM_GID=-1
+# EXIM_UID=-1
+
+
+# Compiling the Exim monitor: If you want to compile the Exim monitor,
+# a program that requires an X11 display, then EXIM_MONITOR should be
+# set to the value "eximon.bin". Comment out this setting to disable
+# compilation of the binary file that is run by the eximon script. The
+# locations of various X11 directories for libraries and include files
+# are defaulted in the OS/Makefile-Default file, and can be overridden
+# in local OS-specific make files.
+
+EXIM_MONITOR=eximon.bin
+
+
+# The mode of the input directory: The input directory is where messages are
+# kept while awaiting delivery. Exim creates it if necessary, using a mode
+# which can be defined here (default 0750).
+
+# INPUT_DIRECTORY_MODE=0750
+
+
+# Exim log directory and files: Exim creates a directory called "log" inside
+# its spool directory. The mode defaults to 0750, but can be changed here.
+# The log files themselves are created with a default mode of 0640, but that
+# can also be changed here.
+
+# LOG_DIRECTORY_MODE=0750
+# LOG_MODE=0640
+
+
+# Per-message logs: While a message is in the process of being delivered,
+# comments on its progress are written to a message log, for the benefit of
+# human administrators. These logs are held in a directory called "msglog"
+# in the spool directory. Its mode defaults to 0750, but can be changed here.
+# The message log directory is also used for storing files that are used by
+# transports for returning data to a message's sender (see the "return_output"
+# option for transports).
+
+# MSGLOG_DIRECTORY_MODE=0750
+
+
+# Included routers: These variables determine which individual router drivers
+# are included in the Exim binary. There are no defaults; those that are
+# wanted must be defined here by setting the appropriate variables to the value
+# "yes". The actions of each router are described in a separate chapter
+# in the manual. Including a router in the binary does not cause it to
+# be used automatically. It has also to be specified in the runtime
+# configuration file.
+
+ROUTER_DOMAINLIST=yes
+ROUTER_LOOKUPHOST=yes
+ROUTER_QUERYPROGRAM=yes
+
+
+# The spool directory: This directory is where all the data for messages in
+# transit is kept. There is no default in the source, so its location must be
+# defined in a local configuration file. Exim creates it if it does not exist,
+# using the mode required for the sub-directory that it is trying to create at
+# the time. If a non-root uid and gid have been defined for Exim (either in
+# this configuration file, or by the runtime configuration options), then this
+# directory and all sub-directories and their files will be created with their
+# owners and groups set to Exim's uid and gid.
+
+# Many installations will want something like this
+SPOOL_DIRECTORY=/var/spool/exim
+
+# Others may prefer to keep all Exim things under one directory
+# SPOOL_DIRECTORY=/usr/exim/spool
+
+
+# If Exim creates the spool directory, it is given this mode, defaulting in the
+# source to 0750.
+
+# SPOOL_DIRECTORY_MODE=0750
+
+
+# The mode of files on the input spool which hold the contents of message can
+# be changed here. The default is 0600. If you have defined a uid and gid for
+# Exim and want information from the spool to be available to anyone who is a
+# member of the Exim group, change the value to 0640. This is particularly
+# relevant if you are going to run the Exim monitor.
+
+# SPOOL_MODE=0600
+
+
+# If STDERR_FILE is defined then the -df command line option causes Exim to
+# redirect stderr to the named file. This is useful for catching debugging
+# output when starting Exim via inetd.
+
+# STDERR_FILE=
+
+
+# Included transports: These variables determine which individual transport
+# drivers are included in the Exim binary. There are no defaults; those that
+# are wanted must be defined here by setting the appropriate variables to the
+# value "yes". The actions of each transport are described in a separate chapter
+# in the manual. Including a transport in the binary does not cause it to
+# be used automatically. It has also to be specified in the runtime
+# configuration file.
+
+TRANSPORT_APPENDFILE=yes
+TRANSPORT_PIPE=yes
+TRANSPORT_SMTP=yes
+
+# The Debug transport is special, and should be included only when low-level
+# debugging is being performed. In conjunction with the "debug_transport"
+# configuration option, it permits the subversion of all mail deliveries to
+# a given file.
+
+# TRANSPORT_DEBUG=
+
+# End of EDITME
diff --git a/mail/exim/files/eximon.conf b/mail/exim/files/eximon.conf
new file mode 100644
index 000000000000..350c7524a36a
--- /dev/null
+++ b/mail/exim/files/eximon.conf
@@ -0,0 +1,149 @@
+##################################################
+# The Exim Monitor #
+##################################################
+
+# This is the template for the Exim monitor's main build-time configuration
+# file. It contains settings that are independent of any operating system. It
+# should be edited and then saved to a file called Local/eximon.conf before
+# running the make command to build the monitor, if any settings are required.
+# Local/eximon.conf can be empty if no changes are needed. The examples given
+# here (commented out) are the default settings.
+
+
+##################################################################
+# Set these variables as appropriate for your system #
+##################################################################
+
+# The qualifying name for your domain. The only use made of this is for
+# testing that certain addresses are the same when displaying the
+# log tail, and for shortening sender addresses in the queue display.
+
+# QUALIFY_DOMAIN=
+
+# The initial depth for the main display window, in pixels. The minimum
+# is 160, which is enough to hold the stripcharts but not the other
+# display sub-windows.
+
+# START_DEPTH=700
+
+# The title for eximon's main display window. It is possible to have
+# host name of the machine you are running on substituted into the
+# title string. If you include the string ${fullhostname} then the
+# complete name is used. If you include ${hostname} then the full
+# host name will have the string contained in the DOMAIN variable
+# stripped from its right-hand end before being substituted. Any other
+# shell or environment variables may also be included.
+
+# If you use any substitutions, remember to ensure that the $ and {}
+# characters are escaped from the shell, e.g. by using single quotes.
+
+# WINDOW_TITLE='${hostname} eximon'
+
+# The domain that you want to be stripped from the machine's full hostname
+# when forming the short host name for the eximon window title, as
+# described above.
+
+# DOMAIN=
+
+# Parameters for the rolling display of the tail of the exim log file.
+# The width and depth are measured in pixels; LOG_BUFFER specifies the
+# amount of store to set aside for holding the log tail, which is displayed
+# in a scrolling window. When this store is full, the earlier 50% of it
+# is discarded - this is much more efficient that throwing it away line
+# by line. The number given can be followed by the letter K to indicate
+# that the value is in kilobytes. A minimum value of 1K is enforced.
+
+# LOG_DEPTH=300
+# LOG_WIDTH=950
+# LOG_BUFFER=20K
+
+# The font which is used in the log tail display. This is defined in
+# the normal X manner. It must be a "character cell" font, because this
+# is required by the text widget.
+
+# LOG_FONT=-misc-fixed-medium-r-normal-*-14-140-*-*-*-*-iso8859-1
+
+# Parameters for the display of message that are on the exim queue.
+# The width and depth are measured in pixels.
+
+# QUEUE_DEPTH=200
+# QUEUE_WIDTH=950
+
+# The font which is used in the queue display.
+
+# QUEUE_FONT=$LOG_FONT
+
+# When a message has more than one undelivered address, they are listed
+# one below the other. A limit can be placed on the number of addresses
+# displayed for any one message. If there are more, then "..." is used
+# to indicate this.
+
+# QUEUE_MAX_ADDRESSES=10
+
+# The display of the contents of the queue is updated every QUEUE_INTERVAL
+# seconds by default (there is a button to request update).
+
+# QUEUE_INTERVAL=300
+
+# The stripcharts are updated every STRIPCHART_INTERVAL seconds.
+
+# STRIPCHART_INTERVAL=60
+
+# The following variable contains a specification of which stripcharts
+# you want eximon to display based on log entries. The string consists of
+# pairs of strings, delimited by slash characters. The first string in each
+# pair is a regular expression that matches some distinguishing feature in a
+# exim log entry.
+
+# Entries that match the expression will be counted and displayed in a
+# stripchart whose title is given by the second string. The string may
+# be continued over several input lines, provided that it is split
+# after a slash, and an additional slash (optionally preceded by white
+# space) is included at the start of the continuation line.
+
+# The regular expression syntax supported by eximon is as follows:
+
+# A regular expression is zero or more branches, separated by `|'. It
+# matches anything that matches one of the branches. A branch is zero or
+# more pieces, concatenated. It matches a match for the first, followed by
+# a match for the second, etc. A piece is an atom possibly followed by
+# `*', `+', or `?'.
+#
+# An atom followed by `*' matches a sequence of 0 or more matches of the atom.
+# An atom followed by `+' matches a sequence of 1 or more matches of the atom.
+# An atom followed by `?' matches a match of the atom, or the null string.
+#
+# An atom is a regular expression in parentheses (matching a match for the
+# regular expression), a range (see below), `.' (matching any single
+# character), `^' (matching the null string at the beginning of the input
+# string), `$' (matching the null string at the end of the input string),
+# a `\' followed by a single character (matching that character), or a
+# single character with no other significance (matching that character).
+#
+# A range is a sequence of characters enclosed in `[]'. It normally
+# matches any single character from the sequence. If the sequence begins
+# with `^', it matches any single character not from the rest of the
+# sequence. If two characters in the sequence are separated by `-', this
+# is shorthand for the full list of ASCII characters between them (e.g.
+# `[0-9]' matches any decimal digit). To include a literal `]' in the
+# sequence, make it the first character (following a possible `^'). To
+# include a literal `-', make it the first or last character.
+
+# A stripchart showing the count of messages in the queue is always
+# displayed on the left of eximon's window. Stripcharts configured
+# by this parameter are displayed to its right, in the order defined
+# here.
+
+# LOG_STRIPCHARTS='/ <= /in/
+# / => /out/
+# /D=/local/
+# /T=smtp/smtp/'
+
+# The following variable may be set to the name of a disc partition. If
+# it is, a stripchart showing the percentage fullness of the partition
+# will be displayed as the second stripchart. This can be used to keep
+# a display of a mail spool partition on the screen.
+
+# SIZE_STRIPCHART=/var/mail
+
+# End of exim_monitor/EDITME
diff --git a/mail/exim/files/patch-aa b/mail/exim/files/patch-aa
new file mode 100644
index 000000000000..1f37cb44967e
--- /dev/null
+++ b/mail/exim/files/patch-aa
@@ -0,0 +1,43 @@
+diff -udr ../exim-0.52.ORG/scripts/exim_install ./scripts/exim_install
+--- ../exim-0.52.ORG/scripts/exim_install Mon Jun 10 12:04:44 1996
++++ ./scripts/exim_install Sun Jun 23 10:42:40 1996
+@@ -63,6 +63,20 @@
+ fi
+ fi
+
++# If info directory doesn't exist, try to create it
++
++if [ ! -d ${INFO_DIRECTORY} ]; then
++ echo mkdir -p ${INFO_DIRECTORY}
++ ${real} mkdir -p ${INFO_DIRECTORY}
++ if [ $? -ne 0 ]; then
++ echo $com ""
++ echo $com "**** Exim installation ${ver}failed ****"
++ exit 1
++ else
++ echo $com ${INFO_DIRECTORY} created
++ fi
++fi
++
+ # If no arguments, install everything
+
+ if [ $# -gt 0 ]; then
+@@ -127,6 +141,18 @@
+ echo $com ${name} is not newer than ${BIN_DIRECTORY}/${name}
+ fi
+ done
++
++echo $com ""
++echo $com Installation directory is ${INFO_DIRECTORY}
++echo $com ""
++
++if [ -f ../doc/exim-texinfo-0.52 ]; then
++ makeinfo --output ../doc/exim.info ../doc/exim-texinfo-0.52
++ for info in ../doc/exim.info*; do
++ echo ${CP} ${info} ${INFO_DIRECTORY}
++ ${real} ${CP} ${info} ${INFO_DIRECTORY} ; gzip -9n ${INFO_DIRECTORY}/${info}
++ done
++fi
+
+ # If there is no configuration file, install the default,
+ # building the lib directory if necessary.
diff --git a/mail/exim/pkg-comment b/mail/exim/pkg-comment
new file mode 100644
index 000000000000..e8677d2b4577
--- /dev/null
+++ b/mail/exim/pkg-comment
@@ -0,0 +1 @@
+High performance MTA for Unix systems on the Internet.
diff --git a/mail/exim/pkg-descr b/mail/exim/pkg-descr
new file mode 100644
index 000000000000..ffc90bf0c43f
--- /dev/null
+++ b/mail/exim/pkg-descr
@@ -0,0 +1,15 @@
+Exim is a mail transfer agent for Unix systems connected to the Internet.
+
+ . Exim is intended for use as an Internet mailer, and therefore handles
+ addresses in RFC 822 domain format only.
+
+ . The only external transport currently implemented is an SMTP transport
+ over a TCP/IP network (using sockets). A pipe transport is available,
+ and this could be used to send messages to some other transport mechanism.
+
+ . Exim is very configurable, and its management is very powerful. It can
+ be configured to be "fussy" about certain hosts or domains, and
+ can easily serve multiple domains.
+
+ . Its requeuing and retry algorithms are very powerful.
+
diff --git a/mail/exim/pkg-plist b/mail/exim/pkg-plist
new file mode 100644
index 000000000000..636fe3ce67f7
--- /dev/null
+++ b/mail/exim/pkg-plist
@@ -0,0 +1,22 @@
+bin/exim
+bin/eximon
+bin/eximon.bin
+bin/exim_dumpdb
+bin/exim_fixdb
+bin/exim_tidydb
+bin/exinext
+bin/exiwhat
+bin/exim_dbmbuild
+bin/exicyclog
+bin/exigrep
+bin/eximstats
+etc/exim.conf
+info/exim.info
+info/exim.info-1
+info/exim.info-2
+info/exim.info-3
+info/exim.info-4
+info/exim.info-5
+info/exim.info-6
+info/exim.info-7
+info/exim.info-8