On 07/02/10 17:07, Muzammel Asghar wrote: > Hi Guys > > I am using Policyd V2 , i set an policy regarding the restricted > sender based access, like only domains list sender allowed to send > mail, its working f9, > > From Mail --> *[email protected] <http://mydomain.com> ,allow only to send > mail > *[email protected] <http://mydomain2.com> > // // // // > > but i am facing a very painful problem, like some php mail scripts > uses different From headers like [email protected] <mailto:[email protected]> > or [email protected] <mailto:[email protected]> etc and Policyd will accept > the mail becasue when php mail script issue the mail function , > headers are changed and in maillog i see this From: [email protected] > <mailto:[email protected]> to [email protected] > <mailto:[email protected]> etc but actual from address is like > [email protected] <mailto:[email protected]> to [email protected] > <mailto:[email protected]>, How can i control this that sendmail not > change the headers which sent by php mail scripts. like above > [email protected] <mailto:[email protected]> is changed to > [email protected] <mailto:[email protected]> and myhost.com > <http://myhost.com> domain is added in my policyd localdomains list, > which is allowed to send mail from. > You can force the envelope from in apache/php as far as I know.
Regards Nigel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
