I'm trying to implement policyd on a box that hosts domains. This is not a
destination email server, users just send email from here (makes it easier).

I've setup policyd, it's listening on 10031, etc. But postfix never calls
it. I've verified it by `tcpdump -ni any port 10031` doesn't show any
traffic, but email gets delivered.

I'm using this to send test emails:

echo "Subject: test\n\nbody" | sendmail -f [email protected]
[email protected]

what am I missing?

here's my config.

# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = vhost13.csrtechnologies.com, localhost.csrtechnologies.com,
localhost
myhostname = vhost13.csrtechnologies.com
mynetworks = 10.0.0.0/24
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_relay_restrictions = permit_sasl_authenticated
defer_unauth_destination
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes


Thanks for your help!
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to