- add DKIM-milter install/configuration instructions for Debian/Ubuntu, fixes #384
This commit is contained in:
@@ -137,8 +137,28 @@ return Array(
|
|||||||
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
'/etc/init.d/postfix restart',
|
'newaliases',
|
||||||
'newaliases'
|
'/etc/init.d/postfix restart'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'dkim' => Array(
|
||||||
|
'label' => 'DomainKey filter',
|
||||||
|
'commands_1' => Array(
|
||||||
|
'apt-get install dkim-filter',
|
||||||
|
'mkdir -p /etc/postfix/dkim'
|
||||||
|
),
|
||||||
|
'files' => Array(
|
||||||
|
'dkim-filter.conf' => '/etc/dkim-filter.conf'
|
||||||
|
),
|
||||||
|
'commands_2' => Array(
|
||||||
|
'echo "milter_default_action = accept" >> /etc/postfix/main.cf',
|
||||||
|
'echo "milter_protocol = 2" >> /etc/postfix/main.cf',
|
||||||
|
'echo "smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf',
|
||||||
|
'echo "non_smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf'
|
||||||
|
),
|
||||||
|
'restart' => Array(
|
||||||
|
'/etc/init.d/dkim-filter restart',
|
||||||
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'postfix_mxaccess' => Array(
|
'postfix_mxaccess' => Array(
|
||||||
|
|||||||
@@ -181,6 +181,7 @@ return Array(
|
|||||||
'postmap /etc/postfix/mx_access'
|
'postmap /etc/postfix/mx_access'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
|
'newaliases',
|
||||||
'/etc/init.d/postfix restart'
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -132,8 +132,28 @@ return Array(
|
|||||||
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
'/etc/init.d/postfix restart',
|
'newaliases',
|
||||||
'newaliases'
|
'/etc/init.d/postfix restart'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'dkim' => Array(
|
||||||
|
'label' => 'DomainKey filter',
|
||||||
|
'commands_1' => Array(
|
||||||
|
'apt-get install dkim-filter',
|
||||||
|
'mkdir -p /etc/postfix/dkim'
|
||||||
|
),
|
||||||
|
'files' => Array(
|
||||||
|
'dkim-filter.conf' => '/etc/dkim-filter.conf'
|
||||||
|
),
|
||||||
|
'commands_2' => Array(
|
||||||
|
'echo "milter_default_action = accept" >> /etc/postfix/main.cf',
|
||||||
|
'echo "milter_protocol = 2" >> /etc/postfix/main.cf',
|
||||||
|
'echo "smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf',
|
||||||
|
'echo "non_smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf'
|
||||||
|
),
|
||||||
|
'restart' => Array(
|
||||||
|
'/etc/init.d/dkim-filter restart',
|
||||||
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'postfix_dovecot' => Array(
|
'postfix_dovecot' => Array(
|
||||||
|
|||||||
@@ -133,8 +133,28 @@ return Array(
|
|||||||
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
'/etc/init.d/postfix restart',
|
'newaliases',
|
||||||
'newaliases'
|
'/etc/init.d/postfix restart'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'dkim' => Array(
|
||||||
|
'label' => 'DomainKey filter',
|
||||||
|
'commands_1' => Array(
|
||||||
|
'apt-get install dkim-filter',
|
||||||
|
'mkdir -p /etc/postfix/dkim'
|
||||||
|
),
|
||||||
|
'files' => Array(
|
||||||
|
'dkim-filter.conf' => '/etc/dkim-filter.conf'
|
||||||
|
),
|
||||||
|
'commands_2' => Array(
|
||||||
|
'echo "milter_default_action = accept" >> /etc/postfix/main.cf',
|
||||||
|
'echo "milter_protocol = 2" >> /etc/postfix/main.cf',
|
||||||
|
'echo "smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf',
|
||||||
|
'echo "non_smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf'
|
||||||
|
),
|
||||||
|
'restart' => Array(
|
||||||
|
'/etc/init.d/dkim-filter restart',
|
||||||
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'postfix_dovecot' => Array(
|
'postfix_dovecot' => Array(
|
||||||
|
|||||||
@@ -133,8 +133,28 @@ return Array(
|
|||||||
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
'etc_postfix_sasl_smtpd.conf' => '/etc/postfix/sasl/smtpd.conf'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
'/etc/init.d/postfix restart',
|
'newaliases',
|
||||||
'newaliases'
|
'/etc/init.d/postfix restart'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'dkim' => Array(
|
||||||
|
'label' => 'DomainKey filter',
|
||||||
|
'commands_1' => Array(
|
||||||
|
'apt-get install dkim-filter',
|
||||||
|
'mkdir -p /etc/postfix/dkim'
|
||||||
|
),
|
||||||
|
'files' => Array(
|
||||||
|
'dkim-filter.conf' => '/etc/dkim-filter.conf'
|
||||||
|
),
|
||||||
|
'commands_2' => Array(
|
||||||
|
'echo "milter_default_action = accept" >> /etc/postfix/main.cf',
|
||||||
|
'echo "milter_protocol = 2" >> /etc/postfix/main.cf',
|
||||||
|
'echo "smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf',
|
||||||
|
'echo "non_smtpd_milters = inet:localhost:8891" >> /etc/postfix/main.cf'
|
||||||
|
),
|
||||||
|
'restart' => Array(
|
||||||
|
'/etc/init.d/dkim-filter restart',
|
||||||
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'postfix_dovecot' => Array(
|
'postfix_dovecot' => Array(
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ return Array(
|
|||||||
'chgrp postfix /usr/lib/sasl2/smtpd.conf'
|
'chgrp postfix /usr/lib/sasl2/smtpd.conf'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
|
'newaliases',
|
||||||
'/etc/init.d/postfix restart'
|
'/etc/init.d/postfix restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
#
|
||||||
|
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||||
|
#
|
||||||
|
# Instead, just set the shown values in the file to the
|
||||||
|
# given values ;-)
|
||||||
|
#
|
||||||
|
|
||||||
Syslog yes
|
Syslog yes
|
||||||
Domain /etc/postfix/dkim/domains
|
Domain /etc/postfix/dkim/domains
|
||||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
#
|
||||||
|
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||||
|
#
|
||||||
|
# Instead, just set the shown values in the file to the
|
||||||
|
# given values ;-)
|
||||||
|
#
|
||||||
|
|
||||||
Syslog yes
|
Syslog yes
|
||||||
Domain /etc/postfix/dkim/domains
|
Domain /etc/postfix/dkim/domains
|
||||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
#
|
||||||
|
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||||
|
#
|
||||||
|
# Instead, just set the shown values in the file to the
|
||||||
|
# given values ;-)
|
||||||
|
#
|
||||||
|
|
||||||
Syslog yes
|
Syslog yes
|
||||||
Domain /etc/postfix/dkim/domains
|
Domain /etc/postfix/dkim/domains
|
||||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
#
|
||||||
|
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||||
|
#
|
||||||
|
# Instead, just set the shown values in the file to the
|
||||||
|
# given values ;-)
|
||||||
|
#
|
||||||
|
|
||||||
Syslog yes
|
Syslog yes
|
||||||
Domain /etc/postfix/dkim/domains
|
Domain /etc/postfix/dkim/domains
|
||||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user