Hi I have check several things, but its not fit on my environment, here below some details what i wana do
i have an server which has 10 domains running , i want to restrict each domain by using policyd to send only no of xx messages. and track will be on each sender:@domain basis. So porblem is when one domain generate mail, its recevie by sendmail thorugh apache and from address = [email protected] , and they send suppose 20 mails, and full quota of 50, now other 3 domains are send 30 mails using php mail scripts and result is quota is ended, bascially policyd can't get on which domains mails will come as all domains mails serve through apache with from address = [email protected] , so this policy is failed in that environement, So is there is some way how can i make this policy successfull. As actual senders like for domain 1 are [email protected] [email protected] [email protected] So restrction about each domain send only 50 mails per day , but sendmail pass the apache header instead of domain header and policyd failed for this, kindly help me in this matter, as this is the very common case, i hope it has must be some solution. Thanks Muzi On Fri, Jul 2, 2010 at 10:53 PM, Muzammel Asghar <[email protected]>wrote: > Thanks again for the ideas , let me think about it. > > Muzi > > On Fri, Jul 2, 2010 at 10:36 PM, Nigel Kukard <[email protected]> wrote: > >> >> > Thanks Nigel for quick response, yes i know the option to force the >> > envlope sender in php using -f option in php mail function, but >> > currently atleast 50 domains on that host and its difficult to >> > search/change php scripts for these domains, can you know any option >> > which forcefully change it automatically ? >> >> Not off the top of my head, if there is nothing available then I'd say a >> module or patch to php to fallback to [email protected] would be >> quite a cool idea, or even modifying php to use templates globally for >> forcing -f if nothing is specified ... just ideas. >> >> Another thing which some people use is authsmtp, they then totally >> disable local delivery. >> >> -N >> >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.policyd.org/mailman/listinfo/users >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
