On 22/10/2013 18:17, Jeff Rice wrote:
Postfix doesn't send policy delegation requests for local submission
:)
-N
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
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
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