Alex Pita writes:

Hi Marcio,
Marcio Merlone wrote:
On Tue, 2002-12-03 at 09:33, Alex Pita wrote:
Hello sqwebmail experts,
Can anybody indicate me how can i do to obtain a redonly field in sqwebmail create new message FROM: field?
I don't want users to able to change this field!
I take a look over newmsg.html source code but nowhere i can find any <input type=text name=(header)from .....>
Read the docs, Luke :) it is on install file.
touch /usr/local/share/sqwebmail/nochangingfrom ( change to wathever is
your prefix).
Thanks, it worked!

See also the meaning of the file usexsender (on same doc, or grep
usexsender * on source root.).
In my case, I will allow users to change From filed, but will use
X-Sender header with the authenticated login. Keep it safe while not
limiting user's wishes.

Hello Marcio, i have this field as read-only but it requires a change to sqwebmail.c to take effect. i can give u a snippet i u r interested. thanx, david.

Reply via email to