diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2003-04-10 02:44:05 +0800 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2003-04-10 02:44:05 +0800 |
commit | 84ceca7b75fa741d00b3f164058f96288156ea4c (patch) | |
tree | 2bd241a152a78517e3e5a47fe44fd749815d55f4 /mail/exim/files | |
parent | aa23d5885261d6510107d8f0bfbfe5047f8da329 (diff) | |
download | freebsd-ports-gnome-84ceca7b75fa741d00b3f164058f96288156ea4c.tar.gz freebsd-ports-gnome-84ceca7b75fa741d00b3f164058f96288156ea4c.tar.zst freebsd-ports-gnome-84ceca7b75fa741d00b3f164058f96288156ea4c.zip |
1) Fix reproducible plaintext authentication crash.
2) In the sample configuration file, allow relaying from the IPv6 and
IPv4 localhost addresses.
This fixes relaying problems for folks using things like IPv6-enabled
mailman.
Bump PORTREVISION accordingly.
Reported by: Alexander Sabourenkov <lxnt@caravan.ru> (1)
Mark Edwards <mark@antsclimbtree.com> (2)
Diffstat (limited to 'mail/exim/files')
-rw-r--r-- | mail/exim/files/patch-src::auths::plantext.c | 11 | ||||
-rw-r--r-- | mail/exim/files/patch-src::configure.default | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/mail/exim/files/patch-src::auths::plantext.c b/mail/exim/files/patch-src::auths::plantext.c new file mode 100644 index 000000000000..4beccd085242 --- /dev/null +++ b/mail/exim/files/patch-src::auths::plantext.c @@ -0,0 +1,11 @@ +--- src/auths/plaintext.c.orig Tue Apr 1 14:53:33 2003 ++++ src/auths/plaintext.c Tue Apr 1 14:53:40 2003 +@@ -93,7 +93,7 @@ + if (Ustrcmp(data, "=") == 0) + { + expand_nstring[++expand_nmax] = US""; +- expand_nstring[expand_nmax] = 0; ++ expand_nlength[expand_nmax] = 0; + } + else + { diff --git a/mail/exim/files/patch-src::configure.default b/mail/exim/files/patch-src::configure.default index 47178ccf03dc..03ba42184f8f 100644 --- a/mail/exim/files/patch-src::configure.default +++ b/mail/exim/files/patch-src::configure.default @@ -1,5 +1,14 @@ --- src/configure.default.orig Fri Nov 23 17:31:16 2001 +++ src/configure.default Tue Dec 18 23:34:07 2001 +@@ -56,7 +56,7 @@ + + domainlist local_domains = @ + domainlist relay_to_domains = +-hostlist relay_from_hosts = 127.0.0.1 ++hostlist relay_from_hosts = localhost + + # Most straightforward access control requirements can be obtained by + # appropriate settings of the above options. In more complicated situations, you @@ -147,6 +147,8 @@ # were a normal user. This isn't usually a problem, as most sites have an alias # for root that redirects such mail to a human administrator. |