Re: .sig file from home directory
ameet <[email protected]> Thu, 22 Mar 2012 05:47:14 -0700 (PDT)
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot for the help. Just one last question. i can see the function getSig is returning the string containing the signature text. can u tell me where is this returned or where the function getSig is called from Thanks Tomas Kuliavas wrote: > > > ameet wrote: >> >> I have all access to root and as u said i do need to customize the >> backend. I was thinking of a way.. to read the signature file from the >> home directory of the user account instead of reading it frm data >> directory i.e .sig file. The problem is i dont know where the changes >> have to be made since the code is difficult to understand. If the >> question is not clear please let me know. >> > You have access to root, but your webserver and SquirrelMail does not have > it. Webserver might be able to read signature data, if it is world > readable. It won't be able to update that data without some custom > wrapper, which can elevate webserver privileges to root or signature file > owner level. > > All code for handling file preferences is in functions/file_prefs.php. > Signature handing is in getSig and setSig functions. > > SquirrelMail also has plugin for user preferences in ldap, if you want to > implement custom preference backend. > -- View this message in context: http://old.nabble.com/.sig-file-from-home-directory-tp33509661p33544619.html Sent from the squirrelmail-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel