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
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= 3.31
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||
http://www.exim.org/ftp/ \
|
||||
|
@ -4,7 +4,7 @@
|
||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||
# root that redirects such mail to a human administrator.
|
||||
|
||||
+exim_user = sendmail
|
||||
+exim_user = exim
|
||||
+exim_group = mail
|
||||
never_users = root
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
file = /etc/aliases
|
||||
search_type = lsearch
|
||||
-# user = exim
|
||||
+ user = sendmail
|
||||
+ user = exim
|
||||
+ group = mail
|
||||
file_transport = address_file
|
||||
pipe_transport = address_pipe
|
||||
|
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
||||
# adding it if it does not exist.
|
||||
# by default, use user 'exim', adding it if it does not exist. Even
|
||||
# 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.
|
||||
#
|
||||
@ -11,7 +13,7 @@
|
||||
|
||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||
|
||||
user=sendmail
|
||||
user=exim
|
||||
group=mail
|
||||
|
||||
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:
|
||||
|
||||
# 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/rejectlog sendmail:mail 640 7 * @T00 Z
|
||||
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= 3.31
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||
http://www.exim.org/ftp/ \
|
||||
|
@ -4,7 +4,7 @@
|
||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||
# root that redirects such mail to a human administrator.
|
||||
|
||||
+exim_user = sendmail
|
||||
+exim_user = exim
|
||||
+exim_group = mail
|
||||
never_users = root
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
file = /etc/aliases
|
||||
search_type = lsearch
|
||||
-# user = exim
|
||||
+ user = sendmail
|
||||
+ user = exim
|
||||
+ group = mail
|
||||
file_transport = address_file
|
||||
pipe_transport = address_pipe
|
||||
|
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
||||
# adding it if it does not exist.
|
||||
# by default, use user 'exim', adding it if it does not exist. Even
|
||||
# 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.
|
||||
#
|
||||
@ -11,7 +13,7 @@
|
||||
|
||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||
|
||||
user=sendmail
|
||||
user=exim
|
||||
group=mail
|
||||
|
||||
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:
|
||||
|
||||
# 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/rejectlog sendmail:mail 640 7 * @T00 Z
|
||||
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= 3.31
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
|
||||
http://www.exim.org/ftp/ \
|
||||
|
@ -4,7 +4,7 @@
|
||||
# normal user. This isn't usually a problem, as most sites have an alias for
|
||||
# root that redirects such mail to a human administrator.
|
||||
|
||||
+exim_user = sendmail
|
||||
+exim_user = exim
|
||||
+exim_group = mail
|
||||
never_users = root
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
file = /etc/aliases
|
||||
search_type = lsearch
|
||||
-# user = exim
|
||||
+ user = sendmail
|
||||
+ user = exim
|
||||
+ group = mail
|
||||
file_transport = address_file
|
||||
pipe_transport = address_pipe
|
||||
|
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Since FreeBSD does not supply a user for running an MTA in a sandbox
|
||||
# by default, use the traditional sendmail sandbox user, sendmail,
|
||||
# adding it if it does not exist.
|
||||
# by default, use user 'exim', adding it if it does not exist. Even
|
||||
# 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.
|
||||
#
|
||||
@ -11,7 +13,7 @@
|
||||
|
||||
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
||||
|
||||
user=sendmail
|
||||
user=exim
|
||||
group=mail
|
||||
|
||||
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:
|
||||
|
||||
# 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/rejectlog sendmail:mail 640 7 * @T00 Z
|
||||
/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
|
||||
/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user