mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Too many people have complained about my choice of MTA user (sendmail).
Bite the bullet _now_ and use MTA user exim instead. This means that only early adopters of Exim-3.31 are affected, rather than lots more folks further down the line. I still think mailnull is better, but nobody in the Exim community agrees with me. :-) Bump PORTREVISION as appropriate.
This commit is contained in:
parent
5d339c7425
commit
30e56f6fb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45032
12 changed files with 30 additions and 24 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= exim
|
PORTNAME= exim
|
||||||
PORTVERSION= 3.31
|
PORTVERSION= 3.31
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||||
http://www.exim.org/ftp/ \
|
http://www.exim.org/ftp/ \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||||
# root that redirects such mail to a human administrator.
|
# root that redirects such mail to a human administrator.
|
||||||
|
|
||||||
+exim_user = sendmail
|
+exim_user = exim
|
||||||
+exim_group = mail
|
+exim_group = mail
|
||||||
never_users = root
|
never_users = root
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
file = /etc/aliases
|
file = /etc/aliases
|
||||||
search_type = lsearch
|
search_type = lsearch
|
||||||
-# user = exim
|
-# user = exim
|
||||||
+ user = sendmail
|
+ user = exim
|
||||||
+ group = mail
|
+ group = mail
|
||||||
file_transport = address_file
|
file_transport = address_file
|
||||||
pipe_transport = address_pipe
|
pipe_transport = address_pipe
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
# by default, use user 'exim', adding it if it does not exist. Even
|
||||||
# adding it if it does not exist.
|
# if FreeBSD supplied an MTA user, it's neglected to do so for so long
|
||||||
|
# that every sandboxed MTA under the sun uses its own user, so user
|
||||||
|
# 'exim' should probably be used forever.
|
||||||
#
|
#
|
||||||
# Modern FreeBSD systems already have a group mail.
|
# Modern FreeBSD systems already have a group mail.
|
||||||
#
|
#
|
||||||
|
@ -11,7 +13,7 @@
|
||||||
|
|
||||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||||
|
|
||||||
user=sendmail
|
user=exim
|
||||||
group=mail
|
group=mail
|
||||||
|
|
||||||
if [ "$2" = "PRE-INSTALL" ]; then
|
if [ "$2" = "PRE-INSTALL" ]; then
|
||||||
|
|
|
@ -18,6 +18,6 @@ To run Exim instead of sendmail on startup:
|
||||||
You may also want to configure newsyslog(8) to rotate Exim log files:
|
You may also want to configure newsyslog(8) to rotate Exim log files:
|
||||||
|
|
||||||
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
||||||
/var/log/exim/mainlog sendmail:mail 640 7 * @T00 Z /var/run/exim.pid
|
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||||
/var/log/exim/rejectlog sendmail:mail 640 7 * @T00 Z
|
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= exim
|
PORTNAME= exim
|
||||||
PORTVERSION= 3.31
|
PORTVERSION= 3.31
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||||
http://www.exim.org/ftp/ \
|
http://www.exim.org/ftp/ \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||||
# root that redirects such mail to a human administrator.
|
# root that redirects such mail to a human administrator.
|
||||||
|
|
||||||
+exim_user = sendmail
|
+exim_user = exim
|
||||||
+exim_group = mail
|
+exim_group = mail
|
||||||
never_users = root
|
never_users = root
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
file = /etc/aliases
|
file = /etc/aliases
|
||||||
search_type = lsearch
|
search_type = lsearch
|
||||||
-# user = exim
|
-# user = exim
|
||||||
+ user = sendmail
|
+ user = exim
|
||||||
+ group = mail
|
+ group = mail
|
||||||
file_transport = address_file
|
file_transport = address_file
|
||||||
pipe_transport = address_pipe
|
pipe_transport = address_pipe
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
# by default, use user 'exim', adding it if it does not exist. Even
|
||||||
# adding it if it does not exist.
|
# if FreeBSD supplied an MTA user, it's neglected to do so for so long
|
||||||
|
# that every sandboxed MTA under the sun uses its own user, so user
|
||||||
|
# 'exim' should probably be used forever.
|
||||||
#
|
#
|
||||||
# Modern FreeBSD systems already have a group mail.
|
# Modern FreeBSD systems already have a group mail.
|
||||||
#
|
#
|
||||||
|
@ -11,7 +13,7 @@
|
||||||
|
|
||||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||||
|
|
||||||
user=sendmail
|
user=exim
|
||||||
group=mail
|
group=mail
|
||||||
|
|
||||||
if [ "$2" = "PRE-INSTALL" ]; then
|
if [ "$2" = "PRE-INSTALL" ]; then
|
||||||
|
|
|
@ -18,6 +18,6 @@ To run Exim instead of sendmail on startup:
|
||||||
You may also want to configure newsyslog(8) to rotate Exim log files:
|
You may also want to configure newsyslog(8) to rotate Exim log files:
|
||||||
|
|
||||||
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
||||||
/var/log/exim/mainlog sendmail:mail 640 7 * @T00 Z /var/run/exim.pid
|
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||||
/var/log/exim/rejectlog sendmail:mail 640 7 * @T00 Z
|
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= exim
|
PORTNAME= exim
|
||||||
PORTVERSION= 3.31
|
PORTVERSION= 3.31
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||||
http://www.exim.org/ftp/ \
|
http://www.exim.org/ftp/ \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||||
# root that redirects such mail to a human administrator.
|
# root that redirects such mail to a human administrator.
|
||||||
|
|
||||||
+exim_user = sendmail
|
+exim_user = exim
|
||||||
+exim_group = mail
|
+exim_group = mail
|
||||||
never_users = root
|
never_users = root
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
file = /etc/aliases
|
file = /etc/aliases
|
||||||
search_type = lsearch
|
search_type = lsearch
|
||||||
-# user = exim
|
-# user = exim
|
||||||
+ user = sendmail
|
+ user = exim
|
||||||
+ group = mail
|
+ group = mail
|
||||||
file_transport = address_file
|
file_transport = address_file
|
||||||
pipe_transport = address_pipe
|
pipe_transport = address_pipe
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
# by default, use user 'exim', adding it if it does not exist. Even
|
||||||
# adding it if it does not exist.
|
# if FreeBSD supplied an MTA user, it's neglected to do so for so long
|
||||||
|
# that every sandboxed MTA under the sun uses its own user, so user
|
||||||
|
# 'exim' should probably be used forever.
|
||||||
#
|
#
|
||||||
# Modern FreeBSD systems already have a group mail.
|
# Modern FreeBSD systems already have a group mail.
|
||||||
#
|
#
|
||||||
|
@ -11,7 +13,7 @@
|
||||||
|
|
||||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||||
|
|
||||||
user=sendmail
|
user=exim
|
||||||
group=mail
|
group=mail
|
||||||
|
|
||||||
if [ "$2" = "PRE-INSTALL" ]; then
|
if [ "$2" = "PRE-INSTALL" ]; then
|
||||||
|
|
|
@ -18,6 +18,6 @@ To run Exim instead of sendmail on startup:
|
||||||
You may also want to configure newsyslog(8) to rotate Exim log files:
|
You may also want to configure newsyslog(8) to rotate Exim log files:
|
||||||
|
|
||||||
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
# Only HUP Exim once when rejectlog and mainlog are rotated.
|
||||||
/var/log/exim/mainlog sendmail:mail 640 7 * @T00 Z /var/run/exim.pid
|
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||||
/var/log/exim/rejectlog sendmail:mail 640 7 * @T00 Z
|
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue