diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /mail-filter/spamass-milter/files/README.gentoo | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'mail-filter/spamass-milter/files/README.gentoo')
-rw-r--r-- | mail-filter/spamass-milter/files/README.gentoo | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/mail-filter/spamass-milter/files/README.gentoo b/mail-filter/spamass-milter/files/README.gentoo deleted file mode 100644 index 49035c0ac5a5..000000000000 --- a/mail-filter/spamass-milter/files/README.gentoo +++ /dev/null @@ -1,52 +0,0 @@ -Simple install instructions by raker @ g.o -updates by gustavoz -updates by SteveB ---------------------------------------------------------------- - -For Sendmail: -------------- -Add these lines in /etc/mail/sendmail.mc before MAILER(local): -INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl -define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl -define(`confMILTER_MACROS_ENVRCPT',`r, v, Z') - -When that's done run this command: - m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf - -Restart associated services: - /etc/init.d/sendmail stop - /etc/init.d/spamass-milter start - /etc/init.d/sendmail start - -OPTIONAL: To run it automatically after booting: - rc-update add spamass-milter default - rc-update add sendmail default - - -For Postfix >= 2.3.0 and < 2.4.0: ---------------------------------- -Add those lines to /etc/postfix/main.cf: -smtpd_milters = unix:/var/run/milter/spamass-milter.sock -milter_end_of_data_macros = b i j _ {daemon_name} {if_name} {if_addr} {mail_addr} -milter_default_action = accept - -Change in /etc/conf.d/spamass-milter the socket group owner to mail: -SOCKET_GROUP="mail" - -Change in /etc/conf.d/spamass-milter the options for spamass-milter to include "-m": -OPTIONS="${OPTIONS} -m" - -Restart associated services: - /etc/init.d/postfix stop - /etc/init.d/spamass-milter start - /etc/init.d/postfix start - -OPTIONAL: To run it automatically after booting: - rc-update add spamass-milter default - rc-update add postfix default - - -For Postfix >= 2.4.0: ---------------------- -Same settings as for Postfix >= 2.3.0 (see above) but you can now use the option "-m" -in /etc/conf.d/spamass-milter. |