Muzammel Asghar wrote: >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 = <mailto:[email protected]>[email protected] ...
That's related to an issue I had - where PHP scripts that didn't set an envelope sender would all send as www-data@<my host name>. The result was bounces etc never make it to the admins of sites generating the emails. When I built a new server, I did a bit of research and came up with this snippet to add to the site config in Apache : php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected] -F 'User real name'" I don't know what happens if the script actually tries to set the envelope from itself - perhaps it breaks, but so far I don't think any of the one our customers are running do that. Dunno if that's actually any help to you or not. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
