Hi,
I understood smtpd milters applied prior to postfix doing anything with
them,
I've been using for a while now 2 rbls on submission, but with the latest
spam bots out of comcast and telia creating a 15 fold increase in spew, I
decided to try avoid hitting limit on those rbls by blocking beforehand.

I'm using milter-regex for many years successfully on smtp but I decided to
have it work on 587 and 465 to do this blocking. I've long used

smtpd_milters = unix:/var/run/milter/milter-regex.sock,inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
...
submission_client_restrictions =
                                                /2 rbls /

and have milter-regex working in master.cf -

submission inet n       -       n       -       -       smtpd
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_tls_auth_only=yes
  -o smtpd_client_restrictions=$submission_client_restrictions
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_data_restrictions=
  -o smtpd_recipient_restrictions=$submission_recipient_restrictions
  -o smtpd_milters=unix:/var/run/milter/milter-regex.sock,inet:
127.0.0.1:8891
  -o smtpd_delay_reject=no
  -o syslog_name=postfix/submission
  -o receive_override_options=no_header_body_checks
  -o content_filter=

if I telnet mailserver 587 with milter-regex in debug mode from localhost,
I see the connection,  however, when running from internet,I
don't,milter-regex is ignored and it hits the rbls where it should have
been caught, have I got something out of order here, am I doubling up and
one is cancelling the other, or does client submission actually take
overall precedence?

Thanks for any pointers
Loz
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to