Hi I've set up some policies and found that it only seems to be seeing email that are sent to the postifx from externally and emails sent via saslauthd users. I don't see emails that are sent via local on box mail daemons or through php mail() functions. I saw somewhere that there was mention of -o options in master.cf causing internally sent mail to by pass policyd but I can't find how to rectify this.
I have them in front of my smtp restrictions from main.cf 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, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access cidr:/etc/postfix/networks.cidr, check_policy_service unix:private/policy-spf, check_policy_service inet:127.0.0.1:6000 my master.cf (snippet) smtp inet n - - - - smtpd #smtp inet n - - - 1 postscreen #smtpd pass - - - - - smtpd #dnsblog unix - - - - 0 dnsblog #tlsproxy unix - - - - 0 tlsproxy submission inet n - - - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING smtps inet n - - - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING policy-spf unix - n n - - spawn user=nobody argv=/usr/bin/policyd-spf #628 inet n - - - - qmqpd pickup fifo n - - 60 1 pickup
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
