masqmail-0.2
diff INSTALL @ 159:949ccc02eecf
adjusted masqmail's path to /usr/local/...
and added the /usr/lib/sendmail link
author | meillo@marmaro.de |
---|---|
date | Fri, 16 Jul 2010 09:41:25 +0200 |
parents | dbe3dadd1afe |
children |
line diff
1.1 --- a/INSTALL Wed Jul 14 21:52:20 2010 +0200 1.2 +++ b/INSTALL Fri Jul 16 09:41:25 2010 +0200 1.3 @@ -103,12 +103,12 @@ 1.4 1.5 Check that 'make install' worked correctly. The following command: 1.6 1.7 - ls -ld /usr/sbin/masqmail /etc/masqmail /var/log/masqmail/ \ 1.8 + ls -ld /usr/local/sbin/masqmail /etc/masqmail /var/log/masqmail/ \ 1.9 /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/* 1.10 1.11 should give output similar to 1.12 1.13 - -rwsr-xr-x 1 root root 399356 May 10 12:34 /usr/sbin/masqmail 1.14 + -rwsr-xr-x 1 root root 399356 May 10 12:34 /usr/local/sbin/masqmail 1.15 drwxr-xr-x 2 root root 4096 May 10 12:34 /etc/masqmail 1.16 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/log/masqmail 1.17 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/run/masqmail 1.18 @@ -117,22 +117,26 @@ 1.19 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/spool/masqmail/lock 1.20 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/spool/masqmail/popuidl 1.21 1.22 -(important is the set-user-id bit for /usr/sbin/masqmail and the 1.23 +(important is the set-user-id bit for /usr/local/sbin/masqmail and the 1.24 ownership of all items). 1.25 1.26 Use the example configuration files in examples/ to edit your own. The 1.27 main configuration file `masqmail.conf' and the *.route and *.get files 1.28 should go into /etc/masqmail. 1.29 1.30 -The default destination for the executable `masqmail' is /usr/sbin. 1.31 +The default destination for the executable `masqmail' is /usr/local/sbin. 1.32 Check that it has the set-uid bit set. You can set it with: 1.33 1.34 - chmod u+s /usr/sbin/masqmail 1.35 + chmod u+s /usr/local/sbin/masqmail 1.36 1.37 If you want to replace sendmail, move your old sendmail binary to 1.38 another name and make a symbolic link: 1.39 1.40 - ln -s /usr/sbin/masqmail /usr/sbin/sendmail 1.41 + ln -s /usr/local/sbin/masqmail /usr/sbin/sendmail 1.42 + 1.43 +You might also need this link: 1.44 + 1.45 + ln -s /usr/local/sbin/masqmail /usr/lib/sendmail 1.46 1.47 Now every mailer that used to call sendmail will now call masqmail. You 1.48 can now kill your old sendmail if it is running and start masqmail. 1.49 @@ -141,7 +145,7 @@ 1.50 1.51 should do that. You can also start masqmail with: 1.52 1.53 - /usr/sbin/masqmail -bd -q30m 1.54 + /usr/local/sbin/masqmail -bd -q30m 1.55 1.56 1.57 1.58 @@ -163,7 +167,7 @@ 1.59 the name FastNet. The ip-up script will then get 'FastNet' as a sixth 1.60 parameter. In your ip-up script you can then call masqmail with 1.61 1.62 - /usr/sbin/masqmail -qo "$6" 1.63 + /usr/local/sbin/masqmail -qo "$6" 1.64 1.65 instead of 'sendmail -q', if you had that in the script before. 1.66 Masqmail will then read the route configuration specified for the