[SOLVED] Cannot get postfix to utilize gld on 9.04 server

Carl Friis-Hansen ubuntuuser at carl-fh.com
Thu Jun 18 10:01:53 UTC 2009


On Wed, June 17, 2009 23:14, Carl Friis-Hansen wrote:
> Cannot get postfix to utilize gld on 9.04 server.  I can telnet gld
> successfully on port 2525 and in my /etc/postfix/main.cf the last few
> lines are:
> //////////////////////////////////////////////
> body_checks = regexp:/etc/postfix/body_checks
>
> # Greyscaling
> check_policy_service = inet:127.0.0.1:2525
>
> content_filter = amavis:[127.0.0.1]:10024
> receive_override_options = no_address_mappings
> message_size_limit = 0
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options =
> //////////////////////////////////////////////
> When I look in the syslog you only see entries from when I started gld and
> when I did a telnet to it.  The rest of postfix appears to work fine.
>
> Any idea what to try next?

It is best to go to the author's pages.  In this case:
http://www.wyae.de/docs/greylisting/

His page was very helpful and sorted out my main problem.
The thing was that I was following some misleading information before,
which made me write
check_policy_service inet:127.0.0.1:2525
as a separate statement in main.cf whereas it should have been the last
statement in the parameter list to
smtpd_recipient_restrictions =

Thanks
-- 
       +---------------------------------+-------------------+
       | Carl Friis-Hansen               | Fiskeryd Nybygget |
       | http://computingconfidence.com/ | 341 91  Ljungby   |
       | Phone: +46 (0)372 15033         | Sweden            |
       +---------------------------------+-------------------+







More information about the ubuntu-users mailing list