fp-wiki>ImportUser (Imported from MoinMoin) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
[http://sqlgrey.sourceforge.net/ SQLgrey] is a [http://www.postfix.org/ Postfix] [http://www.postfix.org/SMTPD_POLICY_README.html policy service] implementing a [http://www.greylisting.org/ greylisting] policy. | [http://sqlgrey.sourceforge.net/ SQLgrey] is a [http://www.postfix.org/ Postfix] [http://www.postfix.org/SMTPD_POLICY_README.html policy service] implementing a [http://www.greylisting.org/ greylisting] policy. | ||
The Fedora sqlgrey package comes pre-configured to use a SQLite database. To turn it on, just start the sqlgrey service (<code>service sqlgrey start</code> and don't forget to <code>chkconfig --level 2345 sqlgrey on</code>) and add the following to <code>smtpd_recipient_restrictions</code> in <code>/etc/postfix/main.cf</code>:< | The Fedora sqlgrey package comes pre-configured to use a SQLite database. To turn it on, just start the sqlgrey service (<code>service sqlgrey start</code> and don't forget to <code>chkconfig --level 2345 sqlgrey on</code>) and add the following to <code>smtpd_recipient_restrictions</code> in <code>/etc/postfix/main.cf</code>:<pre> | ||
check_policy_service inet:127.0.0.1:2501 | check_policy_service inet:127.0.0.1:2501 | ||
</pre> | </pre> | ||
If you don't have an uncommented <code>smtpd_recipient_restrictions</code>, you probably want to add a block like this:< | If you don't have an uncommented <code>smtpd_recipient_restrictions</code>, you probably want to add a block like this:<pre> | ||
smtpd_recipient_restrictions = permit_mynetworks, | smtpd_recipient_restrictions = permit_mynetworks, | ||
reject_unauth_destination, | reject_unauth_destination, |
Latest revision as of 21:07, 13 June 2008
SQLgrey
SQLgrey is a Postfix policy service implementing a greylisting policy.
The Fedora sqlgrey package comes pre-configured to use a SQLite database. To turn it on, just start the sqlgrey service (service sqlgrey start
and don't forget to chkconfig --level 2345 sqlgrey on
) and add the following to smtpd_recipient_restrictions
in /etc/postfix/main.cf
:
check_policy_service inet:127.0.0.1:2501
If you don't have an uncommented smtpd_recipient_restrictions
, you probably want to add a block like this:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_invalid_hostname, check_policy_service inet:127.0.0.1:2501