Now this is main.cf at end smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031 But still policyd ignore filterning, I added localhost ip in internal ip group and localhost and machine hostname in internal domains group. But still policyd not applying quota for locahost deliveries. Any suggestions please ? On Thu, May 27, 2010 at 11:18 PM, Muzammel Asghar <[email protected]>wrote: > Right, thanks for your comments > > I am sending mail from same server, and only relay allowed for localhost , > and my aim is apply quota for localhost (127.0.0.1) > for each sender user not send maximum like 3 mails on each day. > > u...@localhost-localdomian > us...@localhost-localdomain > > I removed the defaul policies in policyd and only active one outbound > policy and set one quota policy for sender:u...@domain with the counter > limit 2. > > Regards > Muzi > > > On Thu, May 27, 2010 at 11:07 PM, Jon Duggan <[email protected]> wrote: > >> Hi, >> >> >From: [email protected] [mailto: >> [email protected]] On Behalf Of Muzammel Asghar >> >Sent: 27 May 2010 18:52 >> >To: [email protected] >> >Subject: Re: [policyd-users] Help require Outgoing ratelimit on per >> sender >> > >> >Hi Negil >> > >> >I have now enable this option. >> > >> >smtpd_recipient_restrictions = >> > permit_mynetworks, >> > reject_unauth_destination, >> > check_policy_service inet:127.0.0.1:10031 >> > >> >smtpd_end_of_data_restrictions = check_policy_service inet: >> 127.0.0.1:10031 >> > >> > >> >But results are same, i send 5 mails from localhost , but policyd not >> blocked as counter limit is 2. Can you please suggest some thing. >> >> >Thanks >> >Muzi >> >> The IP you're sending from, is it listed in mynetworks = ? >> >> If it is you need to move the check before permit_mynetworks. >> >> Jon >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.policyd.org/mailman/listinfo/users >> > >
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
