In some cases webmail needs to connect to user.cgi. In most
cases the
correct host name is determined without explicitly needing
to specify the
host via this.
In some cases, the following two possibilities spring to
mind:
- functionally split surgemail / webmail configuration
- if server is in DMZ and the user.cgi host is not locally
resolvable
this can be explicitly specified.
It is indeed specified as url. ie Host / ip with port.
eg:
user_cgi_http_prefix 127.0.0.1:7080
Just take a look in the webmail templates for its use. eg:
in
config_surge.tpl:
||post_cmd||(||user_cgi_http_prefix||/cgi/user.cgi?cmd=auto_
login&||xcmd||&vhost=||vhost||)||
Marijn
--------------------------------------------------
From: <surgemail-list netwinsite.com>
Sent: Wednesday, March 26, 2008 7:23 AM
Newsgroups: netwin.surgemail
Subject: user_cgi_http_prefix - what is it for?
> There is an obscure parameter in scripts/webmail.ini
that manages to
> interfere with the ability to tune and modify IPs and
ports - namely
> user_cgi_http_prefix.
>
> What exactly does this do besides undermine new
configurations and give
> false suggestions as to how to fix them?
>
> For example, it can be set to an IP, or to 127.0.0.1,
and either of these
> might or might not include a port specification, that
might or might not
> be a standard port (i.e. :80) or a suggested surgemail
port (i.e. :7080)
> or something else.
>
> If webmail is running off IP A.B.C.D and port N, it
seems that setting
> user_cgi_http_prefix to A.B.C.D:N fails. This suggests
it is referring to
> a separate listener on a separate port. What port?
Where is this
> documented?
>
|