masqmail

diff INSTALL @ 358:92340177150d

Eventually switched the default group from `trusted' to `mail' All systems I run have a group `mail' but no group `trusted'. Also changed the uid/gid to the common values 8/12.
author markus schnalke <meillo@marmaro.de>
date Sun, 04 Sep 2011 12:19:41 +0200
parents cab46cefa4ce
children 7a8d706f0ff1
line diff
     1.1 --- a/INSTALL	Sun Sep 04 11:55:51 2011 +0200
     1.2 +++ b/INSTALL	Sun Sep 04 12:19:41 2011 +0200
     1.3 @@ -12,19 +12,18 @@
     1.4  You need a user and a group for masqmail to run. If
     1.5  
     1.6  	grep '^mail:' /etc/passwd
     1.7 -	grep '^trusted:' /etc/group
     1.8 +	grep '^mail:' /etc/group
     1.9  
    1.10 -shows that the user `mail' and the group `trusted' exist, it's
    1.11 -probably best to use these. If they don't exist, create them:
    1.12 +shows that the user `mail' and the group `mail' exist, it's probably
    1.13 +best to use these. If they don't exist, create them:
    1.14  
    1.15 -	groupadd -g 42 trusted
    1.16 -	useradd -u 23 -g trusted -d /nonexistent -s /bin/false -c "masqmail MTA" mail
    1.17 +	groupadd -g 12 mail
    1.18 +	useradd -u 8 -g mail -d /nonexistent -s /bin/false -c "masqmail MTA" mail
    1.19  
    1.20 -If you use other names than `mail' and `trusted' use the options
    1.21 -described below for configure. The 23 and 42 are just a suggestion,
    1.22 -you can use any (not yet used) number you like, but preferably one
    1.23 -lower than 100. It does not have to be the same for the user `mail'
    1.24 -and the group `trusted'.
    1.25 +The 8 and 12 are common uid/gid for the user and group `mail', but you can
    1.26 +use any (not yet used) number you like, preferably one lower than 100.
    1.27 +If you use other names than `mail' and `mail', you need to use the
    1.28 +configure options described below.
    1.29  
    1.30  
    1.31  Compiling is a matter of the usual procedure. In the source directory,
    1.32 @@ -50,7 +49,7 @@
    1.33  to exist before you 'make install'.
    1.34  
    1.35  --with-group=GROUP
    1.36 -sets the group as which masqmail will run. Default is 'trusted'. GROUP
    1.37 +sets the group as which masqmail will run. Default is 'mail'. GROUP
    1.38  has to exist before you 'make install'.
    1.39  
    1.40  
    1.41 @@ -107,11 +106,11 @@
    1.42  
    1.43  	-rwsr-xr-x 1 root root    399356 May 10 12:34 /usr/local/sbin/masqmail
    1.44  	drwxr-xr-x 2 root root      4096 May 10 12:34 /etc/masqmail
    1.45 -	drwxr-xr-x 2 mail trusted   4096 May 10 12:34 /var/log/masqmail
    1.46 -	drwxr-xr-x 2 mail trusted   4096 May 10 12:34 /var/run/masqmail
    1.47 -	drwxr-xr-x 5 mail trusted   4096 May 10 12:34 /var/spool/masqmail
    1.48 -	drwxr-xr-x 2 mail trusted   4096 May 10 12:34 /var/spool/masqmail/input
    1.49 -	drwxr-xr-x 2 mail trusted   4096 May 10 12:34 /var/spool/masqmail/lock
    1.50 +	drwxr-xr-x 2 mail mail      4096 May 10 12:34 /var/log/masqmail
    1.51 +	drwxr-xr-x 2 mail mail      4096 May 10 12:34 /var/run/masqmail
    1.52 +	drwxr-xr-x 5 mail mail      4096 May 10 12:34 /var/spool/masqmail
    1.53 +	drwxr-xr-x 2 mail mail      4096 May 10 12:34 /var/spool/masqmail/input
    1.54 +	drwxr-xr-x 2 mail mail      4096 May 10 12:34 /var/spool/masqmail/lock
    1.55  
    1.56  Important are the set-user-id bit for /usr/local/sbin/masqmail and
    1.57  the permissions of all files.