I'm not sure I understand... submission via port 587 isn't local, is it? 
October 22, 2013 2:23 PM


On 22/10/2013 18:17, Jeff Rice wrote:

Postfix doesn't send policy delegation requests for local submission :)

-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
October 22, 2013 2:17 PM
Thanks Nigel.  I was only using the default policies to help troubleshoot - I thought they would be a good start point.

I worked out the problem: in master.cf, I had
  -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
for the submission service.  That must short-circuit PolicyD, because removing them resulted in things working as expected.

Jeff
October 22, 2013 10:37 AM
On 21/10/2013 17:52, Jeff Rice wrote:
Hi,
I'm having some trouble getting an outbound quota to work with PolicyD and Postfix.  I've attached the log, and some of the database contents.

While I can see that PolicyD is being invoked for outgoing email, nothing appears in quotas_tracking.  At one point, to test things, I switched the quota from the "Outgoing" policy to the "Default" policy.  When I did that, entries appeared in quotas_tracking for incoming emails, but not outgoing.  So somehow my outgoing emails are not showing up.


The default policies creating during installation are for example purposes only, they're not meant to be used in any sort of production environment and more than likely won't suite your purpose.

Are you sending mail via SMTP or local submission?


Is this due to the use of a post-queue content filter (Spamassassin) or dkimproxy?  I'm attaching my master.cf to illustrate, but I'm wondering if that could be the cause of the problem.  (although that should still fall under "internal_ips"...)

Your main.cf file contains the lines check_policy_service , these are what are important. I don't see any of these in your master.cf file. Remember if you check_policy_service after permitting mail to be sent it will not reach policyd. It should be close to first.

-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
October 21, 2013 1:52 PM


Hi,
I'm having some trouble getting an outbound quota to work with PolicyD and Postfix.  I've attached the log, and some of the database contents.

While I can see that PolicyD is being invoked for outgoing email, nothing appears in quotas_tracking.  At one point, to test things, I switched the quota from the "Outgoing" policy to the "Default" policy.  When I did that, entries appeared in quotas_tracking for incoming emails, but not outgoing.  So somehow my outgoing emails are not showing up.

Is this due to the use of a post-queue content filter (Spamassassin) or dkimproxy?  I'm attaching my master.cf to illustrate, but I'm wondering if that could be the cause of the problem.  (although that should still fall under "internal_ips"...)

Jeff


_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to